dcsimg
www.webdeveloper.com
Results 1 to 3 of 3

Thread: Extra Line-height in ie6

  1. #1
    Join Date
    Sep 2010
    Location
    UK
    Posts
    30

    Question Extra Line-height in ie6

    Here is a my css code. i am giving the line-height:34px; i work fine in firefox but in ie6 it take extra line height my 38px. any suggestion.please...

    HTML Code:
    #banner .navigation{ background:url(images/menu-bg.jpg) no-repeat; height:240px; width:197px; float:left;}
    #banner .navigation ul{
    	width:60px;
    	float:left;
    	list-style:none;
    	height:190px;
    	margin:10px 0 0 20px;
    	display:inline;
    	}
    #banner .navigation ul li{
    	width:60px;
    	behavior: url(iepngfix.htc);
    	font-size:12px;
    	}
    #banner .navigation ul li a{
    	width:120px;
    	float:left;
    	background:url(images/bullet.png) center left no-repeat;
    	padding:0 0 0 20px;
    	color:#FFF;
    	text-decoration:none;
    	font-family:Arial, Helvetica, sans-serif;
    	font-size:12px;
    	font-weight:normal;
    	line-height:34px;
    	display:inline;
    }
    Last edited by 3dman; 12-11-2010 at 02:16 PM.

  2. #2
    Join Date
    Dec 2010
    Posts
    12
    IE6 is very buggy browser. I would suggest use conditional stylesheets and write css for IE6 separately.

  3. #3
    Join Date
    Sep 2010
    Location
    UK
    Posts
    30
    thanks but is not a real solution thanks for this. but i want looking for a perfact answer.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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
  •  
HTML5 Development Center



Recent Articles