IE6 Fix needed...PLEASE!

Discussion in 'HTML & Website Design' started by typingmums, Jul 30, 2008.

  1. #1
    Hi People!

    I've got a bit of a prob with my Font Media Website

    It views well in all other browsers bar IE6 - the third div/column moves down below the main content - still floats right but just shifts down? Anyone know of a fix for this please?

    [​IMG]

    Any help is very much appreciated :)

    Rach xxxx
     
    typingmums, Jul 30, 2008 IP
  2. dr.gonzo

    dr.gonzo Peon

    Messages:
    32
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Hey there, have you tried including a filter?
    Ill probably look at your code tmr, but for now you might implement a technique that would target IE6 specifically. Create a separate css file (something that would target the 3 div, i guess i will not need to explain that), now to make it readable by IE6 only you MUST begin every rule by writing "* html" first. So for example instead of writing div.body {....} you write * html div.body {......}. Just include the css file into your site and it should sort out the problem. Other browsers will not render the added file and so you can target IE6 specifically.
    Hope this clears things up! Good luck!
     
    dr.gonzo, Jul 30, 2008 IP
    typingmums likes this.
  3. typingmums

    typingmums Well-Known Member

    Messages:
    1,446
    Likes Received:
    61
    Best Answers:
    0
    Trophy Points:
    140
    #3
    Thats excellent - thanks so much. I'll try it out later and let you know the outcome.

    Very much appreciated!
     
    typingmums, Jul 31, 2008 IP
  4. MoT

    MoT Peon

    Messages:
    97
    Likes Received:
    9
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Hi typingmums,
    The problem is a bug with IE6 handling Italics. Since the font is on a slant a couple pixels are added to the width.

    Adding overflow: visible; to #index_testimonials should fix it :)
    
    #index_testimonials {
    	height: 520px;
    	width: 150px;
    	float: right;
    	text-align: right;
    	background-color: #FEAB44;
    	color: #434443;
    	padding-right: 10px;
    	padding-left: 20px;
    	position: relative;
    	border-bottom-width: medium;
    	border-bottom-style: solid;
    	border-bottom-color: #FEAB44;
    	[B][COLOR="GREEN"]overflow: visible;[/COLOR][/B]
    }
    
    Code (markup):
     
    MoT, Jul 31, 2008 IP
    typingmums likes this.
  5. Stomme poes

    Stomme poes Peon

    Messages:
    3,195
    Likes Received:
    136
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Hmm and if that didn't work, reducing the width just for IE6 could also work:

    
    * html #index_testimonials {
    	width: 145px;
    
    Code (markup):
    So the italics can still stick out. IE6 will increase the width or height of a box to make it fit the content (expanding box problem).
     
    Stomme poes, Jul 31, 2008 IP
    typingmums likes this.
  6. typingmums

    typingmums Well-Known Member

    Messages:
    1,446
    Likes Received:
    61
    Best Answers:
    0
    Trophy Points:
    140
    #6
    This worked a treat. Thanks ever so much - very very much appreciated! :)

    Thansk w
     
    typingmums, Jul 31, 2008 IP