Jump to content

[SOLVED] Entire page isn't scrolling


davidp

Recommended Posts

I have an HTML page using CSS, and the content of the page is of moderate length....but no scroll bar appears in the browser to scroll the content at all.  I have attached a screen shot, so take a look at that.

 

Now, of course to really know what's going on, you need to see the relevant CSS, so here it is.  The HTML file itself is quite short, so I will post it in its entirety (minus the country links which take up the length of the page):

 

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">
<html>
<head>
<title>Exploring Borders Admin</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link rel="stylesheet" href="http://localhost/borders/style/layout_admin.css" type="text/css">
</head>
<body>
<b>
<div style="font-size: 16pt;">Admin Access Page</div>
</b>
<br>
<div style="width: 800px; height: auto;">
	<div style="position: fixed; left: 10px; top: 50px; width: 800px; height: 75px; text-align: left;">
		You are logged in as an administrator.<br>
		<a href="adminlogout.php?action=logout" class="header">Click here to log out</a>
		<br><br>
	</div>
	<div class="admincontrol" style="position: fixed; top: 100px; left: 10px; height: auto;">
	Administrator Options:
	<br><br>
	<a href="index.php" class="sidebar">Main</a><br>
	<a href="index.php?action=viewusers" class="sidebar">View Users</a><br>
	<a href="index.php?action=viewadmins" class="sidebar">View Administrators</a><br>
	<a href="index.php?action=viewcountries" class="sidebar">View Country Info</a><br>
	<br>
	</div>
	<div style="position: fixed; left: 250px; top: 100px; height: auto; overflow: auto;">
		... all the country links...
	</div>
</div>
</body>
</html>

 

Now here is the only other relevant piece of CSS contained in the linked CSS file (all other CSS classes in the linked CSS file are specific for "a" tags):

 

div.admincontrol
{
border-style: solid;
border-color: #00285C;
background-color: #EBEBEB; 
width: 200px; 
text-align: left;
padding-left: 1ex;
padding-top: 1ex
}

 

Given that information...does anybody know why no scroll bar appears on the right side of the browser to let me scroll down the page of country links?

 

 

 

[attachment deleted by admin]

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.