Problems, I hope you can help!

liunx

Guest
Hello there. Hope you're all well.<br />
<br />
I have a couple of questions about a CSS design I've mad, which is looking fine, however I've ran into a few problems.<br />
<br />
The site is located at <!-- m --><a class="postlink" href="http://geocities.com/abiy2k2003/test.html">http://geocities.com/abiy2k2003/test.html</a><!-- m --> for you to view.<br />
<br />
As you'll be able to see, the "content" (main content here text) is slighly "above" the top of "block 1", not sure why on earth this is occuring, and it's not happeningi n all browsers. It seems fine in Konqueror/IE, however in Firebird/Netscape/Opera i see the difference in line.<br />
<br />
I've tried for the leftside changing "top", "left", etc to "margin-top, margin-left" etc, but this makes it go completely wrong in IE.<br />
<br />
Also, I cannot get a margin from the bottom of the page to the bottom of the last block, if the content is shorter, and the left blocks reach the bottom, there's no space, i've tried various ways but cannot achieve it.<br />
<br />
Hopefully that's clear..apologies if not.<br />
If you can make any other suggestions, they're very welcome indeed!<br />
<br />
Hoping you'll be able to spot this, as it's getting me stressed now, hehe.<br />
<br />
Regards,<!--content-->Originally posted by skydan <br />
Hello there. Hope you're all well.<br />
<br />
I have a couple of questions about a CSS design I've mad, which is looking fine, however I've ran into a few problems.<br />
<br />
The site is located at <!-- m --><a class="postlink" href="http://geocities.com/abiy2k2003/test.html">http://geocities.com/abiy2k2003/test.html</a><!-- m --> for you to view.<br />
<br />
As you'll be able to see, the "content" (main content here text) is slighly "above" the top of "block 1", not sure why on earth this is occuring, and it's not happeningi n all browsers. It seems fine in Konqueror/IE, however in Firebird/Netscape/Opera i see the difference in line.<br />
<br />
I've tried for the leftside changing "top", "left", etc to "margin-top, margin-left" etc, but this makes it go completely wrong in IE.<br />
<br />
Also, I cannot get a margin from the bottom of the page to the bottom of the last block, if the content is shorter, and the left blocks reach the bottom, there's no space, i've tried various ways but cannot achieve it.<br />
<br />
Hopefully that's clear..apologies if not.<br />
If you can make any other suggestions, they're very welcome indeed!<br />
<br />
Hoping you'll be able to spot this, as it's getting me stressed now, hehe.<br />
<br />
Regards, your ads also jump up above your menus. If you must you might consider using hacks (owens hack) to send another value to ie then from opera and mozilla. Also the nav bar text is out of whack.<!--content-->wait, I looked in ie, and the content is over the nav in that too.<!--content-->Hiya. I think that's the Geocities advertising screwing a lot of it up!<br />
<br />
I've included the HTML and CSS here, if you get a chance you could open it locally to avoid the ads, sorry.<br />
<br />
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1 Strict//EN" "http://www.w3.org/TR/2001/REC-xhtml11-20010531/DTD/xhtml11.dtd"><br />
<br />
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"><br />
<head><br />
<title>test.</title><br />
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" /><br />
<link rel="stylesheet" href=http://www.webdeveloper.com/forum/archive/index.php/"css.css" type="text/css" /><br />
</head><br />
<br />
<body><br />
<div id="container"><br />
<div id="header"><br />
<div id="topleft"><br />
some logo.<br />
</div><br />
<br />
<div id="topright"><br />
some links.<br />
</div><br />
</div><br />
<br />
<div id="quicknav"><br />
General Navigation.<br />Some links.<br />
</div><br />
<br />
<div id="leftside"><br />
<div class="lefttitle"><br />
Block 1<br />
</div><br />
<br />
<div class="left"><br />
<p>text</p><br />
</div><br />
<br /><br />
<br />
<div class="lefttitle"><br />
Block 2<br />
</div><br />
<br />
<div class="left"><br />
<p>text</p><br />
</div><br />
<br /><br />
<br />
<div class="lefttitle"><br />
Block 3<br />
</div><br />
<br />
<div class="left"><br />
<p>text</p><br />
</div><br />
<br /><br />
<br />
<div class="lefttitle"><br />
Block 4<br />
</div><br />
<br />
<div class="left"><br />
<p>text</p><br />
</div><br />
<br /><br />
<br />
<div class="lefttitle"><br />
Block 5<br />
</div><br />
<br />
<div class="left"><br />
<p>text</p><br />
</div><br />
</div><br />
<br />
<div id="content"><br />
<br />
<p>main content here</p><br />
<br />
</div><br />
<br />
</div><br />
</body><br />
</html><br />
<br />
CSS:<br />
<br />
body {<br />
margin: 0px;<br />
padding: 0px;<br />
}<br />
div, p, tr, font, ul, td, th, p, small, .small { <br />
font-size: 10px;<br />
}<br />
#header {<br />
border-bottom: 1px solid #000000;<br />
height: 36px;<br />
}<br />
#topleft {<br />
text-align: left;<br />
float: left;<br />
}<br />
#topright {<br />
float: right;<br />
padding-top: 20px;<br />
text-align: right;<br />
}<br />
#quicknav {<br />
margin: 0px;<br />
padding: 0px;<br />
border-bottom: 1px solid #000000;<br />
text-align: right;<br />
}<br />
#content {<br />
border: 1px solid #888;<br />
padding: 15px;<br />
top: 75px;<br />
margin-top: 10px;<br />
margin-left: 150px;<br />
margin-right: 5px;<br />
margin-bottom: 10px;<br />
background-color: #fff;<br />
text-align: center;<br />
}<br />
#leftside {<br />
position: absolute;<br />
top: 75px;<br />
left: 10px;<br />
bottom: 10px;<br />
width: 130px;<br />
}<br />
.left {<br />
border-color: #999;<br />
border-style: solid;<br />
border-width: 0 1px 1px 1px;<br />
color: #333;<br />
font-size: 10px;<br />
font-weight: normal;<br />
padding: 7px;<br />
}<br />
.lefttitle {<br />
border: 1px #999 solid;<br />
font-weight: bold;<br />
padding: 2px;<br />
text-align: center;<br />
}<br />
.pagetitle {<br />
font-size: 12px;<br />
font-weight: bold;<br />
}<br />
A:link, A:active, A:visited {<br />
color: #000099;<br />
font-size: 10px;<br />
text-decoration: none;<br />
}<!--content-->http://www.quasi-ke.servebeer.com/yoursite.html<br />
Looks exactly the same in ie and mozilla, both have the content above the menus.<!--content-->Hiya thanks.<br />
<br />
Apart from those problems I mentioned, I don't see anything else wrong? How do you mean exactly?<br />
<br />
I've looked at it in Konqeror, IE6, Firebird 0.7?<br />
<br />
EDIT: yes, in IE it's now over the nav too and in Konqueror. Sorry, slow on the uptake there :)<br />
What do you think's wrong?<!--content-->Originally posted by skydan <br />
Hiya thanks.<br />
<br />
Apart from those problems I mentioned, I don't see anything else wrong? How do you mean exactly?<br />
<br />
I've looked at it in Konqeror, IE6, Firebird 0.7? Well on the right side, you have 3 lines of text that are not inline, but are jumping out from the div that contains them.<!--content-->If you mean those "some links", and below "general navigation, some links" this is something I did purely so it contained no content. On my LAN where I have this design running, that "some links" is a paragraph with a few quick links, and "general navigation/some links" contains a paragraph which contains a select menu.<br />
<br />
EDIT: Although it probably makes no dif, I removed the "padding-top" from the "topleft" css as it wasn't needed :)<!--content-->
 
Back
Top