Previous Message
Next Message

IE quirk

Sent by Roger Roelofs on 27 January 2005 03:03


Mason,
On Jan 26, 2005, at 9:24 PM, Mason Chumpia wrote:

> An example of the problem is up at:
>
> http://www.chumpia.net/hmm/
>
> http://www.chumpia.net/hmm/style.css
>
> Examining in Firefox, the aforementioned phantom space is still 
> present, but seems to be holding the place of the bullet

Each browser has default margin and/or padding for html elements.  When 
working with lists it is especially important to zero out the margin 
and padding and add back only what you need.  In your case, you could 
get more consistent results with the following css.

#header ul {
	margin: 0;
	padding: 0;
	position: relative;
	top: 15px;
}

as a side note, you should always specify a generic font-family at the 
end of your list of fonts.

hth
Roger,

Roger Roelofs
Know what you value.

______________________________________________________________________
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: