#rightcolumn a {
color: #333;
font-size: small;
text-align: left;
text-decoration: none;
}
But the links remain centered in the column (or rather, they obey the
text-align in #rightcolumn whatever it is set to). All the other
styles work (color, font-size, etc) but text-align: left has no
effect. Any ideas on what I'm doing wrong? Thanks.
Mike
Text-align is for block elements and <a> isn't one.
Try putting the link inside of a span and justify the span.
<span style="text-align:left"><a>link</a></span>
No, span is still inline, as is a. What is needed is either a block
level element, or:
#rightcolumn a {display:block;....}
--
Adrienne Boswell at Home
Arbpen Web Site Design Services
http://www.cavalcade-of-coding.info
Please respond to the group so others can share
Hey, but with the "try" approach we would have eventually got to that. After
trying all HTML elements and then trying all CSS properties until a
combination was found that worked :-)
<http://netweaver.com.au/centring/>
might help in respect to text-align.
--
dorayme
Or perhaps, more specifically, this might be instructive:
<http://dorayme.netweaver.com.au/silva1.html>
--
dorayme
Mike
#rightcolumn { text-align: left; }