TalkPHP

TalkPHP (http://www.talkphp.com/forums.php)
-   XHTML, HTML, CSS (http://www.talkphp.com/xhtml-html-css/)
-   -   IE Hack (http://www.talkphp.com/xhtml-html-css/3628-ie-hack.html)

9three 11-19-2008 02:10 AM

IE Hack
 
I'm having an issue with one of my DIVs. If you view it in firefox/safari/opera the DIV appears to be in the position where I want it to be. The problem starts when I view it in IE. The DIV is too far to the left... I'ved tried the whole thing with <!-- [If IE] --> hack but it doesn't seem to work? Unless I'm doing something wrong.

What can I do to make it work properly in IE?

Wildhoney 11-19-2008 02:23 AM

You may use the asterisk trick:

css Code:
color: red;
* color: green;

Red in all browsers, and green in the Internet Explorers.

9three 11-19-2008 02:31 AM

ill give that a try. thanks

martins256 11-19-2008 05:51 AM

You might have the IE double margin problem.
http://www.positioniseverything.net/...ed-margin.html


All times are GMT. The time now is 06:34 PM.

Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0