Freelancers Network
 
skill list top cap
Homepage
Join the Freelancer's Network
Update your details
Find a freelancer
Post a project
Find a project
Projects Archive
Post a job
Find a job
Jobs Archive
See Dan's Pages
See Andy's Pages
Link to this site
Resources
Join/Leave Forum
Forum Messages
+Additions+ Adverts
Advertising
Contact Us
Subscribe to our newsletter - enter your email address and hit return
Freelancers.net is owned and operated by Andy Stowell and Dan Winchester
skill list end cap
guru web hostcom

Find me again on Freelancers.net

Re: FN-FORUM: CSS problem

date posted 25th June 2003 16:46

On 6/25/2003 4:22 PM, Andy Macnaughton-Jones wrote:
> Ok, so let me understand this right...
>
> IE (5.0, 5.5 - and I guess 6.0) think that a width of a DIV is specified
> solely by the width attribute and the content inside it ends up as being
> DIV less the width of border + padding + margin.
>
> For other browsers that implement the box model according to WC3, the
> width of a DIV is specified by the width attribute plus the width of
> border + padding + margin.
>
> ?

That's almost right! :-)

Browser's implementing the box model according to W3C have the width of
a div where the padding, borders and margins are not included in the its
width.
IE 5.x includes only the padding and border widths in the div width,
i.e. NOT the margin width.

I believe this is fixed in IE6, but IE6 is affected by the DOCTYPE
heading, since it may otherwise run in quirks mode. Best to check in
both IE5.x and IE6.

JohnO

--
John Olival
Explican Internet Solutions
+44 (0)870 432 4319
http://www.explican.com
----



Messages by Day
June 30th 2003
June 29th 2003
June 28th 2003
June 27th 2003
June 26th 2003
June 25th 2003
June 24th 2003
June 23rd 2003
June 22nd 2003
June 21st 2003
June 20th 2003
June 19th 2003
June 18th 2003
June 17th 2003
June 16th 2003
June 15th 2003
June 14th 2003
June 13th 2003
June 12th 2003
June 11th 2003
June 10th 2003
June 9th 2003
June 8th 2003
June 7th 2003
June 6th 2003
June 5th 2003
June 4th 2003
June 3rd 2003
June 2nd 2003
June 1st 2003


Messages by Month
December 2003
November 2003
October 2003
September 2003
August 2003
July 2003
June 2003
May 2003
April 2003
March 2003
February 2003
January 2003


Messages by Year
2008
2007
2006
2005
2004
2003
2002
2001
2000