On Saturday, June 12, 2004, at 01:58 AM, Iain Gardiner wrote:

I've had a look at the site and CSS (nice-looking by
the way) and although I am pretty poor at analysing other people's problems,
I think it might come down to theis rule:


#sidebar-a {
float: left;
width: 100px;
\width: 110px;  /* Try removing this line */
w\idth: 100px;  /* And this one */
margin: 0;
margin-right: 5px;
padding: 5px;
background-color: rgb(235, 235, 235);
}

I assume you want it to be just 100px in width, but in Firefox at least it
is being rendered as 110px. To my mind this would explain the extra 5px at
either side of the logo. Try without the lines I've indicated above and see
if that makes a difference.

If Iain's right (and I think he almost is), you should do the same for the width declarations for div#container as well. Not sure that you've got the hack right - IE5 can still see the \width declaration with the leading slash. The w\idth declaration will work for IE5 if the width needs to be different, but it's not complete See
http://www.info.com.ph/~etan/w3pantheon/style/modifiedsbmh.html
for full info on this simplified version of the Box Model hack...


Nick
___________________________
Omnivision. Websight.
http://www.omnivision.com.au/

*****************************************************
The discussion list for http://webstandardsgroup.org/
See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list & getting help
*****************************************************




Reply via email to