Re: [css-d] Width of floats

2005-11-06 Thread Holly Bergevin
From: Erik Visser [EMAIL PROTECTED] I did not see a posting of Georg on this subject..?? http://archivist.incutio.com/viewlist/css-discuss/64120 That is the actual post Georg made. If you scroll to the bottom of that entry you can see the other pages that are threaded under the

Re: [css-d] Width of floats

2005-10-15 Thread Holly Bergevin
From: Derek de Jong [EMAIL PROTECTED] Internet Explorer is including the margin *inside the box width*, while W3C-spec browsers (rightly) are not. No 'current' version of IE/Win that I know of includes margins *inside the box width* as you have stated. IE5.x/Win browsers, and IE6 in quirks

Re: [css-d] Width of floats

2005-10-15 Thread Derek de Jong
Holly wrote: From: Derek de Jong [EMAIL PROTECTED] nternet Explorer is including the margin *inside the box width*, while W3C-spec browsers (rightly) are not. No 'current' version of IE/Win that I know of includes margins *inside the box width* as you have stated. IE5.x/Win browsers,

Re: [css-d] Width of floats

2005-10-12 Thread Jørgen Farum Jensen
Derek de Jong wrote: Internet Explorer is including the margin *inside the box width*, while This is what I did'nt know. W3C-spec browsers (rightly) are not. This is why you're getting different results. Carmen would be correct if *both* boxes had a 2% margin, but because only one does

Re: [css-d] Width of floats

2005-10-12 Thread Arlen Walker
On Oct 12, 2005, at 4:07 AM, Jørgen Farum Jensen wrote: Derek de Jong wrote: Internet Explorer is including the margin *inside the box width*, while This is what I did'nt know. Just as well you didn't, as it's incorrect. IE5's broken box model included padding and border in the

[css-d] Width of floats

2005-10-11 Thread Jørgen Farum Jensen
I have a problem with the following css: #colleft { text-align:justify; width:49%; float:left;} #colright { text-align:justify; width:49%; float:left; margin-left:2%;} This a two-column layout which works well in for example Firefox, but not so well in Internet Explorer, which

Re: [css-d] Width of floats

2005-10-11 Thread Carmen Carter
Margin values are added to your block element width, not included in that width. So you've set a width of 49%, plus a margin of 2%, for a combined width of 51% for each column. Your total layout width is 102%, so it is not surprising that the float is not working properly. Try a width of 48%

Re: [css-d] Width of floats

2005-10-11 Thread Derek de Jong
Carmen Carter wrote: Margin values are added to your block element width, not included in that width. So you've set a width of 49%, plus a margin of 2%, for a combined width of 51% for each column. Your total layout width is 102%, so it is not surprising that the float is not working properly.

Re: [css-d] Width of floats

2005-10-11 Thread Gunlaug Sørtun
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 {