Chris Blake wrote:
> Hi,
>
> After getting the website I created working in most browsers I saw  
> that it was not working in IE. I have made a hack that has fixed it in  
> IE:
>
>
> <!--[if IE]>
>
>
> td{
> border: 1px solid #fff;
> }
>
> #main .content{
> padding: 0px;
> margin-bottom: -20px;
> }
>
>
> <![endif]-->
>
>
>
> But now all the other browsers are showing the negative margin, and  
> they didn't need one in the first place.
>
> grrr
>
> Please help, it's my first attempt at a hack. Thanks, CB
>   

A url might help.

You do not want to hack compliant-browsers. IE/8 is among them.
See the appropriate [1] Conditional Comment to use if you need to target 
either, or both, of the non-compliant IE browsers: IE/7 and IE/6.

BTW, in both of your recent posts, regarding two different sites, you 
had the Conditional Comment in your style sheet, rather than in the head 
of the document.

[1] <http://reference.sitepoint.com/css/conditionalcomments>











> _


______________________________________________________________________
css-discuss [[email protected]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to