![]() |
|
||||||||||
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
|||||
|
|
#1 |
|
WLC Member
Join Date: Mar 2012
Posts: 10
|
I have a navigation that I used vertical align on. I want to keep it that way. However I have other images in the body that I don't want vertical aligned. I used this in the css.
img, span, a { vertical-align: middle; border: 0px; } |
|
|
|
|
|
#2 |
|
Banned
Join Date: Jun 2006
Location: Blackp ool U.K.
Posts: 3,197
|
give the ones you don't want it on a classname that overrides your global rule.
By the way, you do realise that your ruleset (as posted) will apply to ALL images, ALL spans and ALL anchors in the document, that are in elements where vertical alignment will be applied. |
|
|
|
|
|
#3 | |
|
WLC Member
Join Date: Mar 2012
Posts: 10
|
Quote:
|
|
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
Linear Mode |
|
|