p2p.wrox.com Forums

p2p.wrox.com Forums (http://p2p.wrox.com/index.php)
-   ASP.NET 1.0 and 1.1 Basics (http://p2p.wrox.com/forumdisplay.php?f=60)
-   -   EASY Q: Left-Align and Right-Align DIV? (http://p2p.wrox.com/showthread.php?t=51619)

panuvin December 16th, 2006 02:02 AM

EASY Q: Left-Align and Right-Align DIV?
 
Hello,

I have been trying to do this for quite some time and I'm not sure if I can do it with a DIV tag, but there may be another way.

What I'm trying to do is have one line with parts of the text that are left-aligned and another part of text that is right-aligned. What I usually do is something like this:

Code:

<div align="right">Date: 12/15/2006</div>
<div align="left">Welcome to the Page</div>

What's the simplist way I can accomplish this? I know I could probably do some fancy CSS, but I'd rather not go that route (although any tips would be appreciated). I want one line, with one line being left-align'd and one being right-align'd.

Any help would be greatly appreciated!

Thanks in advance,

Panuvin



All times are GMT -4. The time now is 09:17 PM.

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.