View Full Version : DIV-ine punishment


Owlie42
10-04-2004, 12:28 AM
My layout is attacking. I'm trying to "nest" my divs, and the background keeps changing color...

<html>
<head>
<link rel="stylesheet" href="style.css" type="text/css">
<title>blah</title>
</head>

<body><font size="1">
<div style="position:absolute; top:0; left:0; z-index:3">
<img src="blah.gif" border="0"></a>
</div>
<div style="position:absolute; top:300px; left:300px; z-index:1; width:600px; background-color:#ffffff; border: #000000 1 px solid;">
<div style="position:absolute; top:100px; left:50px; z-index:3; background-color:#ffffff;">
lots of content
</div>
</div>

<div style="position:absolute; left:30px; top:300px; width: 200px; background-color: #ffffff; border: #000000 1px solid;">blah
</div>
<div style="position:absolute; left:30px; top:315px; width: 200px; background-color: #ffffff; border: #000000 1px solid;"><b>[owlie]</b><br>
blahbr><br>
</div>
<div style="position:absolute; left:30px; top:330px; width: 200px; background-color: #ffffff; border: #000000 1px solid;"><b>[layout]</b><br>
blah
</div>
<div style="position:absolute; left:30px; top:345px; width: 200px; background-color: #ffffff; border: #000000 1px solid;"><b>[my other sites]</b><Br>
links
</div>
<div style="position:absolute; left:30px; top:360px; width: 200px; background-color: #ffffff; border: #000000 1px solid;"><b>[friends]</b><br>
links
</div>
<div style="position:absolute; left:30px; top:375px; width: 200px; background-color: #ffffff; border: #000000 1px solid;">
<b>[archive]</b><br>
links
</div>
<div style="position:absolute; left:30px; top:390px; width: 200px; background-color: #ffffff; border: #000000 1px solid;">
<b>[webmistress]</b><br>
links
</div>
<div style="position:absolute; left:30px; top:405px; width: 200px; background-color: #ffffff; border: #000000 1px solid;">
<b>[humor]</b><br>
links
</div>
<div style="position:absolute; left:30px; top:420px; width: 200px; background-color: #ffffff; border: #000000 1px solid;">
<b>[omake]</b><br>
links<br>
</div>

Rosey
10-04-2004, 05:09 AM
looks fine to me,

everything looks white to me and text is black.

or maybe i'm not understanding the question

Owlie42
10-05-2004, 01:00 AM
Yes, now that I look at it, 'twas a poorly-phrased question.
:idea:
Well...what it's doing is it's "t-boning"-it's fine when it's just the two layers (pic and first one), but when I add the third one (the one w/ the text) it'll have a bar of white in the width I specified, but all the rest of the space between the edges of the first non-picture layer and the edges of the text-containing one are orange.

Rosey
10-05-2004, 01:24 AM
i'm visual, got it online? :grin:

Owlie42
10-07-2004, 08:06 PM
http://www.geocities.com/songoku_is_mine/hall.html