• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

Need some basic HTML help... any HTML gurus in here?

How do you align two different text strings, one on the left side and one on the right side of the same line?

Is it possible to do this without using tables?

Thanks!
 
I'm trying to make it look like this... pretend the [ ] are the edges of the screen

[text here, aligned left ------------------------empty/blank space------------------------------- text here, aligned right]
 
< html>
< body>
< span style="float: left">here is some text on the left< /span>
< span style="float: right">here is some text on the right< /span>
< /body>
< /html>
 
Originally posted by: DeRusto
< html>
< body>
< span style="float: left">here is some text on the left< /span>
< span style="float: right">here is some text on the right< /span>
< /body>
< /html>


The master has shown us the way.
 
Originally posted by: DeRusto
< html>
< body>
< span style="float: left">here is some text on the left< /span>
< span style="float: right">here is some text on the right< /span>
< /body>
< /html>

awesome thanks derusto
 
<div align="left">left aligned text</div><div align="right">right aligned text</div>...there are several ways to do this...My way will involve CSS and z-positioning to keep it on the same line, however
 
Originally posted by: voodoochylde
<div align="left">left aligned text</div><div align="right">right aligned text</div>...there are several ways to do this...My way will involve CSS and z-positioning to keep it on the same line, however

"align" is a deprecated attribute.. DeRusto's technique is the correct way of doing this 🙂
 
😛 My method isn't deprecated...it's "delicately aged and slightly less common" 😛 Thanks for the heads up though, I haven't actually worked with this in well over a year
 
Originally posted by: thahenchman
Originally posted by: DeRusto
< html>
< body>
< span style="float: left">here is some text on the left< /span>
< span style="float: right">here is some text on the right< /span>
< /body>
< /html>

awesome thanks derusto

Aww cool, I've always been putting it into a table with two columns to get this effect. Will use this from now on. Thanks DeRusto
 
Back
Top