Welcome to WebmasterWorld Guest from 54.159.44.227

Forum Moderators: not2easy

Message Too Old, No Replies

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

     

founder

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.

legaleagle

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



Try...


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

Featured Threads

Hot Threads This Week

Hot Threads This Month