Vertical alignment weirdness?

View: New views
1 Messages — Rating Filter:   Alert me  

Vertical alignment weirdness?

by Ian Skinner :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Any idea why the doctype would matter concerning the following CSS?

div#sideNav a:before
{
        content: url(left_curve.gif);
        vertical-align: bottom;
}

I have now tried this with other doctypes, it seems to be a matter of strict vs. transitional.  The output displays as I would expect in HTML and XHTML transitional, but does not display as I would expect, with the generated content staying on the baseline, in HTML and XHTML strict.

Is there some deference in the behavior of vertical-align in strict mode?

--------------
Ian Skinner
Web Programmer
BloodSource
www.BloodSource.org
Sacramento, CA

---------
| 1 |   |
---------  Binary Soduko
|   |   |
---------
 
"C code. C code run. Run code run. Please!"
- Cynthia Dunning

Confidentiality Notice:  This message including any
attachments is for the sole use of the intended
recipient(s) and may contain confidential and privileged
information. Any unauthorized review, use, disclosure or
distribution is prohibited. If you are not the
intended recipient, please contact the sender and
delete any copies of this message.



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:41:2608
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/41
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:41
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=17837.14401.41
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54