Christine Robinson wrote:

>I spent all of last night and today trying to finish a volunteer project. I
>am almost done but I need some help with Firefox.
>To allow the header to show up correctly in most resolutions I have used the
>following id:
>
>#photo {width: 90%;height: 214px;margin-top:15px;}
>
>In IE it works beautifully, but in Firefox I need to use 85%. 85% in IE just
>does not work at all. Is there any possible way I can tell IE to use 90% and
>let Firefox use 85%.
>
Hi Christine, perhaps you can try this:

#photo {width: 85%;height: 214px;margin-top:15px;}
* html #photo {width: 90%}

The last one is an IE-hack: only IE reads this (and this overrules the 
former 85% for IE), the rest takes the 85%.

And aside: it has to be: "In FF it works beautifully, but in IE it 
doesn't work at all". > Because FF and most other browsers follow the 
rules of the webstandards; IE does not.

Good luck,
francky
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
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/

Reply via email to