View Single Post
  #7   Spotlight this post!  
Unread 17-01-2009, 23:05
Vpr99's Avatar
Vpr99 Vpr99 is offline
Not quite a person... yet
AKA: Eric Skram
FRC #0159 (Alpine Robotics)
Team Role: Webmaster
 
Join Date: Jan 2009
Rookie Year: 2008
Location: Fort Collins
Posts: 15
Vpr99 is an unknown quantity at this point
Send a message via MSN to Vpr99
Re: Can someone explain this to me?

Also, keep in mind that IE6 has a double margin bug. This means that when you put margins on certain objects, then the margins will be doubled. To fix this, then duplicate the style in the stylesheet, but add * html before it. Divide the margin in half also. This works because all browsers but IE6 identify * HTML as not a valid CSS command. Due to another unpatched bug, IE6 accepts that as a command, so it works if you want something to only work in IE6.

Here's an example from the stylesheet of a current project:
Code:
#content .interpage_links .sponsor {
	margin-top:10px;
	padding-right:10px;
}
* HTML #content .interpage_links .sponsor {
	margin-top:5px;
	padding-right:10px;
}
Hope this is useful in your designing
__________________