|
|
 |
RE: FN-FORUM: CSS problem
date posted 25th June 2003 16:10
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.
?
-----Original Message-----
From: Andy Macnaughton-Jones=20
Sent: 25 June 2003 16:02
To: Andy Macnaughton-Jones
Subject: RE: FN-FORUM: CSS problem
Ta, I'll have a look...
-----Original Message-----
From: John Olival [EMAIL REMOVED]
Sent: 25 June 2003 15:53
To: Andy Macnaughton-Jones
Subject: Re: FN-FORUM: CSS problem
On 6/25/2003 2:43 PM, Andy Macnaughton-Jones wrote:
> On
>=3D20
> http://test.dales4business.org it displays fine on IE6, but on moz=20
>/=3D20 NS things are shifted down as if the float left / right isn't=20
>working=3D20 as I'd like. =3D20
> Should I use absolute positioning here or is there something iffy
in=3D20
> my CSS.
>=3D20
The problem is with the widths you're setting. The widths are influenced
by padding and margins. See=3D20
http://www.tantek.com/CSS/Examples/boxmodelhack.html
for how to work around this in IE.
JohnO
--=3D20
John Olival
Explican Internet Solutions
+44 (0)870 432 4319
http://www.explican.com
----
=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D
Graduate & Professional Financial Services - Specialists in MORTGAGES
for FREELANCERS. House purchase, re-mortgage (including debt
consolidation and capital raising), Buy to Let, flexible offset and
current account mortgages. Visit our website at
http://www.gradprof.co.uk?fnet
To advertise here: http://www.freelancers.net/advertising.html
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
Graduate & Professional Financial Services - Specialists in MORTGAGES
for FREELANCERS. House purchase, re-mortgage (including debt
consolidation and capital raising), Buy to Let, flexible offset and
current account mortgages. Visit our website at
http://www.gradprof.co.uk?fnet
To advertise here: http://www.freelancers.net/advertising.html
|
 |
|