How about display:blocking the anchors and then floating them to the right?


On Fri, 10 Dec 2004 08:26:53 +1100, Joshua Leung <[EMAIL PROTECTED]> wrote:
> 
> Morning people.
> 
> I'm having problems justifying some text in a simple manner, could anyone
> help?
> 
> I want to change.
> 
> this:
> 
> -------------------------------------
> By Email:
> Administration: [EMAIL PROTECTED]
> Projects: [EMAIL PROTECTED]
> Services: [EMAIL PROTECTED]
> Scott Nicholson: [EMAIL PROTECTED]
> Managing Director
> -------------------------------------
> 
> into this:
> 
> -------------------------------------
> 
> By Email:
> Administration:         [EMAIL PROTECTED]
> Projects:               [EMAIL PROTECTED]
> Services:               [EMAIL PROTECTED]
> Scott Nicholson:        [EMAIL PROTECTED]
> Managing Director
> -------------------------------------
> 
> (notice the aligned email address's in the second version )
> 
> I'm trying to do this without creating another DIV ( I seem to go crazy with
> DIV's usually )
> 
> I've tried:
> 
> #content-right p a { text-align: right; }
> 
> and tried to create a span around the anchor tag and then
> { text-align: right } that
> 
> but they both seem to do nothing :(
> 
> If there is no other way than to create another div inside my #content-right
> div, then I will concede!
> 
> Here is the page source: http://www.triplejosh.com/work/metro/contact.html
> 
> Here is the page CSS:
> http://www.triplejosh.com/work/metro/stylesheetMetro.css
> 
> The page is validated in xHTML Transitional . but I think im going to start
> using Strict as I will come across less problems in cross browser
> compatibility, is that right?
> 
> cheers,
> - Josh -
> [ [EMAIL PROTECTED] ]
> 
> ******************************************************
> The discussion list for  http://webstandardsgroup.org/
> 
>  See http://webstandardsgroup.org/mail/guidelines.cfm
>  for some hints on posting to the list & getting help
> ******************************************************
> 
> 


-- 
Cheers,
Rob.
» http://zooibaai.nl
******************************************************
The discussion list for  http://webstandardsgroup.org/

 See http://webstandardsgroup.org/mail/guidelines.cfm
 for some hints on posting to the list & getting help
******************************************************

Reply via email to