On 9/13/12 4:31 AM, Kim Brooks Wei wrote:
Hi People,
http://j.mp/QSEOUP
What is a good way to center the left graphic vertically and horizontally?
I'm having trouble with the top nav links. How do I getthe white background
on mouseover to extend all the way to the edges of the blue background? IDK
why I couldn't make this work.
Suggestions:
Make the graphic a background image on #wrap, positioned "left center".
For the navigation, add to these rules:
#pagenav {
display: table;
width: 100%;
}
ul.nav {
display: table-row;
}
ul.nav li {
display: table-cell;
/* padding: 0 2.5em; DELETE THIS */
}
ul.nav a {
padding: 1em 0; /* to taste */
}
ul.nav a:hover {
/* padding: 0; DELETE THIS */
}
HTH
--
Cordially,
David
______________________________________________________________________
css-discuss [css-d@lists.css-discuss.org]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/