Welcome to WebmasterWorld Guest from

Forum Moderators: not2easy

Message Too Old, No Replies

How do I center list items that have background images behind them?



7:30 pm on Jun 6, 2012 (gmt 0)

I have a list of links that will be used as a Navigation Bar. I am putting a background image under the text of the list item/links and want the text centered. The background image is just a colored gradient.


9:12 pm on Jun 6, 2012 (gmt 0)


display: block;
margin-left: auto;
margin-right: auto;

Featured Threads

Hot Threads This Week

Hot Threads This Month