Howdy partners,
I'm having trouble getting a box div, created to enclose all my page info, to actually enclose it.
my page (<!-- m --><a class="postlink" href="http://myweb.tiscali.co.uk/kippertoffee">http://myweb.tiscali.co.uk/kippertoffee</a><!-- m -->)
It works fine in IE and Opera. The box i refer to is the one with the big pink outline, class name .pagebox (right near the top in the code).
I haven't given the .pagebox a specific height, so i assumed it should just fit around all the stuff inside it's opening and closing tags. I have used no abolute positioning.
I'm stumped, flabberghasted and maybe even outraged!
If anyone can shed a little light on my problem i will be very grateful.
Cheers, pete.<div style="clear:both;"></div>
</div> <!-- end of page box div -->fantastic mate!
is this how it is supposed to work, or is it a work around?Yes and no, read: <!-- m --><a class="postlink" href="http://www.quirksmode.org/css/clearing.html">http://www.quirksmode.org/css/clearing.html</a><!-- m -->
I'm having trouble getting a box div, created to enclose all my page info, to actually enclose it.
my page (<!-- m --><a class="postlink" href="http://myweb.tiscali.co.uk/kippertoffee">http://myweb.tiscali.co.uk/kippertoffee</a><!-- m -->)
It works fine in IE and Opera. The box i refer to is the one with the big pink outline, class name .pagebox (right near the top in the code).
I haven't given the .pagebox a specific height, so i assumed it should just fit around all the stuff inside it's opening and closing tags. I have used no abolute positioning.
I'm stumped, flabberghasted and maybe even outraged!
If anyone can shed a little light on my problem i will be very grateful.
Cheers, pete.<div style="clear:both;"></div>
</div> <!-- end of page box div -->fantastic mate!
is this how it is supposed to work, or is it a work around?Yes and no, read: <!-- m --><a class="postlink" href="http://www.quirksmode.org/css/clearing.html">http://www.quirksmode.org/css/clearing.html</a><!-- m -->