a little help debugging ie? :rolleyes:

Discussion in 'Web Design and Development' started by majorp, Feb 1, 2007.

  1. majorp macrumors 6502

    Joined:
    Nov 28, 2005
    Location:
    UK !!!
  2. iMeowbot macrumors G3

    iMeowbot

    Joined:
    Aug 30, 2003
    #2
    Try replacing your .menu_section li a CSS block with these two, so that <a> isn't treated as yet another block.

    Code:
    .menu_section li {
    	display: block;
    	padding: 5px;
    	background-color: #cfcfcf;
    	margin: 0 0 1px 0;
    }
    
    .menu_section li a {
    	color: #fff;
    	text-decoration: none;
    }
    
    (by the way, this change is tested.)

    [ edit: if you really really wanted the text in the .description text to be raised, add a smaller line-height (say, 1em) to the .description section ]
     
  3. LtRammstein macrumors 6502a

    LtRammstein

    Joined:
    Jun 20, 2006
    Location:
    Denver, CO
    #3
    I don't know if this will help, but defining the position of the description my help. In CSS just do position:absolute.

    Then again, I've never seen something like this before... Man that's weird!

    Steve
     
  4. WildPalms macrumors 6502a

    WildPalms

    Joined:
    Jan 4, 2006
    Location:
    Honolulu, HI
  5. majorp thread starter macrumors 6502

    Joined:
    Nov 28, 2005
    Location:
    UK !!!
    #5
    arrgg, perfect cheers!

    no the description text raised was something that just happend. in the middle is how i really wanted it.

    thanks very much :D
     

Share This Page