Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 8 of 8
  1. #1
    New to the CF scene
    Join Date
    Sep 2011
    Posts
    9
    Thanks
    1
    Thanked 0 Times in 0 Posts

    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.

  • #2
    Senior Coder
    Join Date
    Jan 2011
    Location
    Missouri
    Posts
    4,715
    Thanks
    25
    Thanked 660 Times in 659 Posts
    More information is needed Please give us a link to your site.

  • #3
    New to the CF scene
    Join Date
    Sep 2011
    Posts
    9
    Thanks
    1
    Thanked 0 Times in 0 Posts
    oops sorry I thought that I included that

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

    Cheers

  • #4
    Senior Coder
    Join Date
    Aug 2010
    Location
    High Point, NC
    Posts
    3,338
    Thanks
    5
    Thanked 363 Times in 360 Posts
    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".
    Teed

  • #5
    Senior Coder
    Join Date
    Jan 2011
    Location
    Missouri
    Posts
    4,715
    Thanks
    25
    Thanked 660 Times in 659 Posts
    I viewed in IE8 and FF 6 and I see don't see any text "running over the div" either.

  • #6
    New to the CF scene
    Join Date
    Sep 2011
    Posts
    9
    Thanks
    1
    Thanked 0 Times in 0 Posts
    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.

  • #7
    Senior Coder
    Join Date
    Aug 2006
    Posts
    1,444
    Thanks
    11
    Thanked 310 Times in 309 Posts
    Any chance your Firefox browser is zoomed in a bit? Hit Ctrl-0 to get it back to default zoom.

    Dave

  • #8
    New to the CF scene
    Join Date
    Sep 2011
    Posts
    9
    Thanks
    1
    Thanked 0 Times in 0 Posts
    brilliant - that is what is was! thanks so much - was going a bit loopy!


  •  

    Tags for this Thread

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •