doggo18
09-22-2004, 05:33 PM
Hello all,
I have run into a very weird problem. The page has valid XHTML 1.0 and CSS (well except maybe a -mox-border-radius tag I just throw in to make it look nicer :P). The problem is that when viewing it in IE in a higher resolution, everything is fine. But as soon as there is less room, the #Location div (red text) gets unwrapped all the way, even while its FAR from needed.
FireFox 0.9 shows the desired behavior.
http://worstje.mine.nu/test/
Related XHTML:
<div id="Header">
<div id="Title">Worstje.mine.nu</div>
<div id="Location">/
<a href="http://worstje.mine.nu/" title="Main page">Testje</a>
/ <a href="http://worstje.mine.nu/comic.php" title="Comic">Comic</a>
</div>
</div>
Related CSS (styles.css)
#Header {
margin:50px 50px 0px 50px;
padding: 10px 10px 10px 170px;
background: black url('/images/header.png') no-repeat;
height: 130px;
}
#Title {
position: absolute;
top: 100px;
left: 230px;
color: #ddd;
font-size: 36pt;
}
#Location {
position: absolute;
top: 170px;
left: 230px;
color: #f55;
}
I would appreciate any look you might be able to throw at this problem.. Thanks! :)
I have run into a very weird problem. The page has valid XHTML 1.0 and CSS (well except maybe a -mox-border-radius tag I just throw in to make it look nicer :P). The problem is that when viewing it in IE in a higher resolution, everything is fine. But as soon as there is less room, the #Location div (red text) gets unwrapped all the way, even while its FAR from needed.
FireFox 0.9 shows the desired behavior.
http://worstje.mine.nu/test/
Related XHTML:
<div id="Header">
<div id="Title">Worstje.mine.nu</div>
<div id="Location">/
<a href="http://worstje.mine.nu/" title="Main page">Testje</a>
/ <a href="http://worstje.mine.nu/comic.php" title="Comic">Comic</a>
</div>
</div>
Related CSS (styles.css)
#Header {
margin:50px 50px 0px 50px;
padding: 10px 10px 10px 170px;
background: black url('/images/header.png') no-repeat;
height: 130px;
}
#Title {
position: absolute;
top: 100px;
left: 230px;
color: #ddd;
font-size: 36pt;
}
#Location {
position: absolute;
top: 170px;
left: 230px;
color: #f55;
}
I would appreciate any look you might be able to throw at this problem.. Thanks! :)