954,604 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

CSS seperator problem

alright here is the problem im trying to get a certain menu to have a thin border but in firefox the only way I could do this was to set it to .1em which makes it look chunky in IE so i tried to do some conditional comments to link to an IE styles page but it isnt working here is my code
[HTML]

mikeandike22
Nearly a Posting Virtuoso
1,496 posts since May 2004
Reputation Points: 33
Solved Threads: 19
 

There doesn't appear to be anything wrong with your conditional comment, other than it comes before your embedded styles, and so matching definitions in each set will be overwritten by the embedded styles.

Why are you using .1em as a border width? Stick to specifying border widths (especially thin ones) with pixels.

Lafinboy
Junior Poster
172 posts since Jul 2004
Reputation Points: 16
Solved Threads: 7
 

I fixed it with a conditional comment that said if it is not IE to set the border to 1px instead of .5px which for some reason does not display correctly in firefox and netscape

mikeandike22
Nearly a Posting Virtuoso
1,496 posts since May 2004
Reputation Points: 33
Solved Threads: 19
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You