Click to See Complete Forum and Search --> : display: block link
jrthor2
07-10-2008, 10:56 AM
On this page http://www.zluth.org (http://www.zluth.org/), there are some "Read more >" links. I want the right aligned as they are now, but the link is the entire width of this item, not just the text. How can I get it to only be the text that is the link, and not the entire element?
Thanks!
Change the "block" setting to "inline."
jrthor2
07-10-2008, 12:09 PM
that moved the link to the left, and got rid of the margin-bottom.
jrthor2
07-10-2008, 12:11 PM
I added a float: right as well, and that seems to have moved it back to the right. But, now, in IE6, when I hover over the link, my cursor changes to a text select cursor???
Put the link in a block level container, like <p>, then apply your text-align and margin styles to it.
jrthor2
07-10-2008, 12:30 PM
thanks!!