On Saturday, September 18, 2010 1:03:37 pm David Laakso wrote:
> > The CSS *below* is now valid.
> > Validate the markup, too.
> > http://validator.w3.org/
> > If it is not working as intended with valid CSS and valid markup,
> > provide a clickable link to your URL.
> > Btw, I know from nothing about the so called "AM browser."
Google tells me that it's IE6 with tabs and AdBlock. So you shouldn't except
it to work in other browsers (except IE6). IE6 is old, out-dated, and buggy
to boot. For instance, it will center things when it shouldn't.
For instance, img.AncelKeys {width: 60px; height: auto; align: center;}
shouldn't work. Actually, it probably doesn't, since "align" doesn't exist in
CSS. "text-align" does. and if you apply text-align: center to an image in
IE6, it will center, I'm pretty sure. But it shouldn't. That's a bug.
It should center the text inside the image tag (of which there is none).
If you want to center the image, you need to put text-align: center on the
image parent (don't know what this is, because you didn't include any of the
HTML) or add "display: block; margin: auto;" to your CSS rule, and take out
the align: center.
If you provide a link to your web page, we can see how everything (CSS and
HTML, and Javascript, if you've got it) are interacting together to create the
whole page. We can see what the actual behavior is, and figure out what you're
trying to accomplish. and then we can help fix it.
---Tim
______________________________________________________________________
css-discuss [[email protected]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/