The forums ran from 2008-2020 and are now closed and viewable here as an archive.
Home › Forums › CSS › LavaLamp menu (list) not centering horizontally
I’ve never really had a problem centering lists before, but for some reason this JQuery plugin(?) isn’t centering for me. The list items would need to be manually forced into place.
My attempt: http://www.unfunction.com/reddit/
Source: http://www.gmarwaha.com/blog/2007/08/23/lavalamp-for-jquery-lovers/
Thanks in advance!
*EDIT* Included “horizontally” to clear up any confusion.
@unfunction
.lavaLamp li { float:left; display:inline; list-style: none; line-height: 51px; /* vertically centers the text */ }
Sorry for the confusion Christopher, I actually meant horizontally centered. But thanks for taking the time to help.