CodingForums.com

CodingForums.com (http://www.codingforums.com/index.php)
-   HTML & CSS (http://www.codingforums.com/forumdisplay.php?f=13)
-   -   Help with cross browser issues IE and firefox PC only (http://www.codingforums.com/showthread.php?t=238477)

kasbolt 09-19-2011 03:57 AM

Help with cross browser issues IE and firefox PC only
 
Hi

I am working on a website and it works perfectly in safari, firefox, opera and chrome on a mac but on a pc in IE and firefox the text runs over the div.

The css for the text is as follows

Code:

* {
        margin:0;
        padding:0;
        border:0;
}
body {
        font-family: Verdana, Helvetica, Tahoma;
        font-size: 10px;
        color: #fff;
        line-height: 11pt;
}
p {
  margin-top: 0em;
  margin-bottom: .75em;
}
 
/* LAYOUT DIVS - left bar */       
#main_text {
        width: 210px;
        height: 300px;
        padding-left: 18px;
        z-index: 4;
}

and I have added this code in to try and change ie only but it is not working

Code:

<!--[if IE]>
<link type="text/css" rel="stylesheet" href="include/ie_fixes.css" media="all"  />
<![endif]--></code
 
<code>/* =Internet Explorer Fixes
----------------------------------------------------------------------*/
body {
        font-size: 9px;
        line-height: 9px;
        font-stretch: condensed;
}
 
 
p {
  margin-top: 0px;
  margin-bottom: 0px;
}
 
#main_text {
        width: 220px;
}

Any guidance would be most appreciated.

sunfighter 09-19-2011 04:16 PM

More information is needed Please give us a link to your site.

kasbolt 09-20-2011 03:20 AM

oops sorry I thought that I included that

http://www.myrtlestreetmordialloc.com.au/version_2/

Cheers

teedoff 09-20-2011 02:08 PM

I'm not seeing your issue at all. I viewed in IE8 and FF 4 and I see dont see any text "running over the div".

sunfighter 09-20-2011 02:28 PM

I viewed in IE8 and FF 6 and I see don't see any text "running over the div" either.

kasbolt 09-21-2011 03:06 AM

Thanks for your replies.

It is happening on the location page and with firefox 6 on a pc. Not really sure how to target something like that especially as i am happy how the paragraph styles work when using firefox for the mac.

tracknut 09-21-2011 03:51 AM

Any chance your Firefox browser is zoomed in a bit? Hit Ctrl-0 to get it back to default zoom.

Dave

kasbolt 09-21-2011 06:22 AM

brilliant - that is what is was! thanks so much - was going a bit loopy!


All times are GMT +1. The time now is 07:36 PM.

Powered by vBulletin®
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.