IE6 ignores width?

Discussion in 'CSS' started by djixas, Aug 31, 2008.

  1. #1
    Hi,

    I've a strange problem, page renders fine in Opera 9.5, Firefox 3, IE7 but not IE6.

    Here's code:

    #menuleft {
    
    	position:absolute;
    	left:-179px;
    	top:70px;
    	width:145px;
    	height:260px;
    	border-bottom:solid 1px #ddd;
    	background:#f7f7f7;
    	padding:8px 10px 10px 9px;
    
    }
    Code (markup):
    When viewing via IE6, that menu size becomes like half screen and covers all the elements (content).

    If I make it width:auto; other browsers starts to do the same as well (just though to let you know). Any ideas on this? Can't provide url, sorry.
     
    djixas, Aug 31, 2008 IP
  2. kk5st

    kk5st Prominent Member

    Messages:
    3,497
    Likes Received:
    376
    Best Answers:
    29
    Trophy Points:
    335
    #2
    That's not enough info to do more than guess at a solution.

    Make a minimal test case—a small page that illustrates the issue. Use dummy content if proprietary data must not be shown. Post the code.

    cheers,

    gary
     
    kk5st, Aug 31, 2008 IP
  3. djixas

    djixas Well-Known Member

    Messages:
    749
    Likes Received:
    12
    Best Answers:
    0
    Trophy Points:
    110
    #3
    So far the only fix is to remove background color and use iamge instead with no repeat. However, height is messed up well.

    Will try that.
     
    djixas, Aug 31, 2008 IP