• Resolved tbowman

    (@tbowman)


    I cannot figure out how to center my dropdown menu, ul#top-menu { float: center; } – does not work. It will either go left or right, how do I just get it center?

    Tim

Viewing 2 replies - 1 through 2 (of 2 total)
  • There is no such thing as float:center… you’d have to assign margins/padding to your menu to get it center. Try margin:auto (doesn’t work in IE8 though). Your best bet would be to assign margin-left and margin-right and not to auto because it won’t work in internet explorer unless a doctype is declared.

    Thread Starter tbowman

    (@tbowman)

    Thanks, figured it out.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Center dropdown menu’ is closed to new replies.