[css-d] text-align: right

2006-09-15 Thread Scott Povlot
I am having a problem aligning text on the right. Oddly, my CSS works in IE6/Win but is not working on Firefox. The website is http://www.piedmont-div.org/ser2007/ . In the header, there is a Sponsor By paragraph that should be right aligned. On Firefox, the text shows as left aligned.

Re: [css-d] text-align: right

2006-09-15 Thread cj
i didn't look that close, but putting text-align in the #header #sponsor area aligned it right when doing a quick live css edit. #header #sponsor { float: right; margin-right: 50px; text-align: right; /* i added this */ }

Re: [css-d] text-align: right

2006-09-15 Thread Scott Povlot
Thanks. That seems to work. Can you tell me why I would need it on the in the parent div instead of on the p tag? Scott #header #sponsor { float: right; margin-right: 50px; text-align: right; /* i added this */ }

Re: [css-d] text-align: right

2006-09-15 Thread Zoe M. Gillenwater
Scott Povlot wrote: Thanks. That seems to work. Can you tell me why I would need it on the in the parent div instead of on the p tag? I don't think you should. Looks like a Firefox bug to me. Zoe -- Zoe M. Gillenwater Design Services Manager UNC Highway Safety Research Center