Sent by Big John on 6 April 2002 23:11
--- "Plagiarist.com" [EMAIL-REMOVED]> wrote:
> Now the floating element only extends the border of the enclosing
> div about
> half the time (in IE6/Win) - if I press "refresh" it will unenclose
> it,
> then again it'll work, etc.
>
> Also, for some reason the addition of the new div kills the
> left-hand
> margin of the "foreground" div.
>
> http://www.plagiarist.com/test/boxes.php
Hi Jough!
I'll bet it's because you lack a doctype at the
top of the page. If you leave it off modern browsers
figure it's an old pre-standards page, and so they
emulate the way browsers used to work. (quirks mode)
With a strict or transitional doctype the browsers
kick into 'standards' mode. Other than doctype,
your page looks like it follows
the rules for strict mode. (kinda sure anyway)
Here's a link to the W3C doctypes:
<http://www.w3.org/TR/1999/REC-html401-19991224/struct/global.html#didx-document_type_declaration>
Hope this helps. :]
Big John
=====
Big John== <http://users.rraz.net/mc_on_the_rocks/>
Floating in my element.
__________________________________________________
Do You Yahoo!?
Yahoo! Tax Center - online filing with TurboTax
http://taxes.yahoo.com/