Fiona ha scritto:
> (I apologise if this has come through a second time - but I think I sent it 
> from the wrong email address the first time.)
>
> Hi,
>  I have trying for hours to sort the alignment of two unordered lists inside
>  a div but I must be missing something obvious.
>  I can't seem to get the space above and below the text to be the same on FF
> and IE (vertically centered).
>  I can get FF to look perfect, then IE is out, and vice versa.
> Ive changed the paddings and margins around in all sorts of combinations,
>  but no success - can anyone shed some light on this?
>
>   
Hi Fiona,

I've tried this solution and it seems to work:

div.pinkbar1 {
 padding: 0; /* and height, color, background... you choose */
}

div.pinkbar1 ul {
 margin: 0;
 padding: 0;
 /* whatever else */
}

div.pinkbar1 li {
 margin: 0;
 line-height: 29px; /* the same height you chose for div.pinkbar1 */
 vertical-align: center; /* it works only if you specify a line-height */
}


Ele
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7 information -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to