jihanemo — 2010-11-18T12:20:09-05:00 — #1
On this page, the "Email Updates" image and email sign up form on the far right on top of the navigation bar both need vertically centering within that cell. I tried vertical-align: middle; but it won't work. And putting margins on the image to "push down" both only ends up increasing the height of that entire row. Help?
rayzur — 2010-11-18T17:36:27-05:00 — #2
You will need to remove the float from the right td to get it to honor any vertical-alignment.
You will need to set vertical-align on the left td also to sync them together.
Actually v-align:middle is the default so just removing the float should accomplish the same thing.
Then you could set text-align:right on td.headerbottom2 with a margin on that image
jihanemo — 2010-11-18T18:07:58-05:00 — #3
Thanks! I think that did it.
Does placing those slashes before and after the line of code (on float) sort of temporarily void that code (until you remove the slashes?)?
rayzur — 2010-11-18T19:40:42-05:00 — #4
Yes, those are "CSS Comments". When they are set up like I have shown it will disable the rule. They are also used to explain something (comment) without interfering with the ruleset.
jihanemo — 2010-11-18T20:16:17-05:00 — #5