Forum Moderators: not2easy
Yahoo/Google's cached copy of my page is not fully supporting my CSS.
Links contained in td, with table class="blah":
table.blah a {
background:transparent;
font:12px verdana, arial, sans-serif;
text-align:center;
}
are defaulting to left, not center. IE supports the text-align:center; just fine this way, but since Yahoo/Google's cache is not centering the text, I am questioning it. Do I need to add the "td" element to the class? Example:
table.blah td a {
background:transparent;
font:12px verdana, arial, sans-serif;
text-align:center;
}
(Can't just try it and view immediate results since Yahoo may take a week or longer to cache the page again.)
Thanks
Is all the text within the <td> centered? Or do you just want the links to be centered? If all the content of that <td> is to be centered, just specify the text-align for the <td> and everything within it will be aligned to the centre...
There are currently 15 cells, each containing 1 text link but no other text (this is a SSI navigation footer.) Not sure if the added bloat would be worth it to id class (or hard code) every <TD> since the number of cells is sometimes much higher.
I'd like to know why Yahoo/Google's cache is NOT centering it?
As far as I know, my CSS syntax is correct and compliant with the CSS1 standard. If I were using CSS2 elements, I would understand some glitches in various browsers. I'd like to know what Yahoo/Google uses to cache?