mrbaseball34 — 2011-03-02T16:00:50-05:00 — #1
I'm trying to sprite some navigation buttons and having troubles.
I can't figure out why I can't get the new one lined up like the original.
Can anyone help out here?
atsea_webdesign — 2011-03-02T16:14:59-05:00 — #2
I see #navigation css is different on both pages. One has a margin-top: 20px while the other does not.
Did you match your CSS for both pages?
mrbaseball34 — 2011-03-03T09:19:28-05:00 — #3
In the original, the CSS for #navigation has float:left. If I do that in the new CSS, all the buttons stack up next to the logo on top of each other. Adding the margin-top value to the new CSS just moves the buttons AND logo down.
It is strange. Looking at the div in Firebug something is very strange.
When hovering over the div in the left pane, it usually highlights the div in light blue in the top pane (the browser window). But it highlights it in yellow and, even if I set the width to 725px, it shows it the full width of the container.
mrbaseball34 — 2011-03-03T09:20:45-05:00 — #4
You don't think the text-indent has anything to do with that, do you? That is there to hide the anchor text. It is needed for SEO.
mrbaseball34 — 2011-03-03T09:40:20-05:00 — #5
Oh, I finally got it. Just had to add padding-top value as 20 .vs margin-top. Geez, this is frustrating.