Sent by Big John on 22 September 2003 07:07
Olwen wrote:
> I'm trying to do a layout which to make it simple is:
> <DIV STYLE="position:absolute;left:200PX;right:0PX;top:150px">
> <div style="float:left;width:49%;">
> This is some text </div>
> <div style="float:right;width:49%;">
> This is some text </div>
> </div>
> In Mozilla or Firebird this has 2 columns evenly spaced and a gap to the
> left.
> In internet exlplorer it does them same without a doctype or with an older
> doctype, but as soon as I set the doctype to 4.01 it decides the 49% applys
> to the screen width, rather than the wrapper div and messes up my columns.
> Can anyone suggest a way to keep these as 2 fluid columns of the same width?
Try making the floats 'relative'. That often fixes such problems.
If not, you may have to allpy a 'width' to the AP container.
HTH
Big John
=====
^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-
| Perennial student + Impractical joker + CSS junkie = Big John |
| XXXXXXXXXXX <http://www.positioniseverything.net> XXXXXXXXXXXXXXXXX |
| XXXXXXXXXXXXX <http://users.rraz.net/mc_on_the_rocks/> XXXXXXXXXXXX |
-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^
__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com
______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/