Centering the page menu bar with a background image (and "width: "?)
Hi -
I'm having some trouble with the menu bar on http://www.urgeschmack.de/ I am using %page-center to get the bar centered. But then the background image won't be shown over the full width but instead just as far as the buttons reach. That's why I added Code:
div#menu1 { To still get my buttons kind of centered, I am using this: Code:
div#menu1 ul.rMenu li a:link, I tried a lot but I just don't get it to work. Could you help me with this? |
Quote:
|
No, I didn't. There is a ~20px free space to the right of that last button (you will see it when you hover over it).
There's no way to change the padding (now 37px) to fix that. Currently, the buttons are left-aligned, meaning that if I change the padding (or the button texts), everything will move to the left as well. |
oh, yeah now I see it. To tell the truth I didn't notice it. I'd just ignore it. The amount of time you might spend trying to make it exact may never give back any payoff.
|
Yeah... I guess that's true. CSS sometimes sucks.
Thanks for looking into it and merry Christmas! |
All times are GMT -6. The time now is 08:17 PM. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.