At 3/15/2007 02:33 PM, jeffrey morin wrote: > > > > When you set a link to display: block, it becomes a block element. Block > > elements by default take on the full width of their containing element. So > > now, > > the text within the link is free to slide across to the right. > > > but when you put text-align : right on a paragraph it works. and >that text may not take up the entire width of the block right?
That's because the paragraph is a block-level element. You can successfully assign any text-align value to a paragraph and see the text inside it shift accordingly. What you can't do is apply text-align to an inline-level element such as an anchor and see any effect -- unless you force the anchor to be block-level. Clear as mud? Paul ______________________________________________________________________ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d IE7 information -- http://css-discuss.incutio.com/?page=IE7 List wiki/FAQ -- http://css-discuss.incutio.com/ Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
