Welcome to WebmasterWorld Guest from 54.163.168.15

Forum Moderators: not2easy

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)



Try...


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

Featured Threads

Hot Threads This Week

Hot Threads This Month