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)

New User

joined:June 6, 2012
posts: 1
votes: 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 June 6, 2012 (gmt 0)

Junior Member

joined:June 5, 2012
votes: 0


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