Previous Message
Next Message

Styling parent elements]

Sent by Ron Derksen on 13 February 2004 10:10


Hi,

Why not use the following?
blockquote p cite { text-align:right }

Best regards,
Ron Derksen

Mr. Kim Siever wrote:

> Hi all,
> 
> Say I have two paragraphs in a blockquote (the quote and the author). I use
> this code.
> 
> <blockquote>
> <p>Quote text.</p>
> 
> <p><cite>Author information</cite></p>
> </blockquote>
> 
> Now say I want to have the author information right-aligned. How would I do
> this?
> 
> I tried looking into it and the following code seemed to be the way to go:
> 
> blockquote p + cite
> 	{
> 	text-align : right;
> 	}
> 
> However, the desired effect did not happen in either IE6.0 or in NN7.1.
> 
> Am I going about it the right way? If so, is this not supported by IE and
> NN?
> 
> Thanks for the help.
> 
> Mr. Kim Siever 
> Website Development Office 
> Faculty of Management, University of Lethbridge 
> http://www.uleth.ca/man/
> 
> ======================== 
> 
> 
> 
> ______________________________________________________________________
> css-discuss [EMAIL-REMOVED]]
> http://www.css-discuss.org/mailman/listinfo/css-d
> Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
> 


______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Previous Message
Next Message