FLAG # 9 (Align)

For general web development questions that are not specifically related to CSS HTML Validator. This includes (but is not limited to) general HTML, CSS, Accessibility, JavaScript, and SEO questions.
Post Reply
paulp575
Rank IV - Intermediate
Posts: 170
Joined: Tue Aug 09, 2005 1:20 pm
Location: Spokane WA
Contact:

FLAG # 9 (Align)

Post by paulp575 »

Not sure this is a Technical; Support questions so if it's in the wrong forum, please move it!

Just got a flag # 9 about using "align="right" rather than the proper CSS.

Problem is, if I use the CSS ("margin-left: auto; margin-right: 0"), the text is pushed down below the item that's aligned to the right.

Maybe a better way to tell how to accomplish this WITHOUT pushing the text down below to right aligned item?

I don;t know how to align right and allow the text to the left of the item.

Thanks,
paulp575
User avatar
Albert Wiersch
Site Admin
Posts: 3783
Joined: Sat Dec 11, 2004 9:23 am
Location: Near Dallas, TX
Contact:

Re: FLAG # 9 (Align)

Post by Albert Wiersch »

Hello,

I think this is a CSS question more than anything, so I've moved it to the CSS forum.

I think the CSS you want is style="float: right".

Please try that and let me know if it does what you want. I think I need to update that CSE message too.

I hope this helps.
Albert Wiersch, CSS HTML Validator Developer • Download CSS HTML Validator FREE Trial
paulp575
Rank IV - Intermediate
Posts: 170
Joined: Tue Aug 09, 2005 1:20 pm
Location: Spokane WA
Contact:

Re: FLAG # 9 (Align)

Post by paulp575 »

Albert Wiersch wrote:Hello,

I think this is a CSS question more than anything, so I've moved it to the CSS forum.

I think the CSS you want is style="float: right".

Please try that and let me know if it does what you want. I think I need to update that CSE message too.

I hope this helps.
It sure did help; just the effect I was looking for.

And yes, I agree,; the wording should be tweaked a bit.

Thanks again for great support!
paulp575
Post Reply