Previous Message
Next Message

Width of floats

Sent by Gunlaug_Sørtun on 12 October 2005 01:01


Jørgen Farum Jensen wrote:
> This makes it impossible to get the floated columns to line up with 
> header and footer, se example page at
> 
> http://www.webdesign101.dk/x/cssdiscuss/ex1.html

In that particular case you'll get a better line-up by not using a
margin, like so:

#colleft {
   text-align:justify;
   width:49%;
   float:left;
}
#colright {
   text-align:justify;
   width:49%;
   float:right;
}

The space between the columns is now 2% in all browsers.

(Det skulle gi deg ett perfekt '2-spaltet textlayout'.)

regards
	Georg
-- 
http://www.gunlaug.no
______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Previous Message
Next Message

Message thread:

Possibly related: