Hokay...
Coding still isn't my bag... but i'm getting a little better.
I was hoping for an explaination to this little "issue" that I've stumbled upon.
I took the liberty of making a "colour friendly" version that should appeal to most.... =)
Here's the two pages that I'm comparing:
Now, both pages are using the same style sheet....
and both have identical mark-up for the most part.
The one and only difference between them is the usage of XHTML style closing tags...
from example 1:
code:
<div id="logo">
<a href="http://www.ozoneasylum.com">
<img src="images/asylum_logo.jpg" width="299" height="84" alt="Home of the Mad Scientists" border="0"></a>
</div>
<div id="box">
<a href="http://www.ozoneasylum.com/">OZONE Asylum, home of the Mad Scientists</a>
</div>
<div id="box1">
bleh
</div>
<div id="box2">
bloo
</div>
and here's example 2:
code:
<div id="logo">
<a href="http://www.ozoneasylum.com">
<img src="images/asylum_logo.jpg" width="299" height="84" alt="Home of the Mad Scientists" border="0"><a/>
<div/>
<div id="box">
<a href="http://www.ozoneasylum.com/">OZONE Asylum, home of the Mad Scientists<a/>
<div/>
<div id="box1">
bleh
<div/>
<div id="box2">
bloo
<div/>
btw, this is the DOCTYPE I'm using:
code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
So my question are...
why is there a difference in the way the boxes are shown? (i'm using IE 6)
what browsers is this making a difference in?
I've done some rummaging in the FAQ's, though I'll admit I haven't read all the possible applicable information in there...
I was wondering if this is a common issue/complaint..... and guidance how to remedy it would be nice as well.
If at all possible, when explaining... try to keep the crazy coder chatter to a minimum...
chances are it'll fly right by me otherwise.
Cheers folks.
edit: excuse my shotty spelling in the thread name.... my pathetic excuse is that i'm tired..... but the truth is ... well... I'm just a dipshit.
FAQs n' Bits: Michael