Wrox Programmer Forums
|
ASP.NET 1.0 and 1.1 Basics ASP.NET discussion for users new to coding in ASP.NET 1.0 or 1.1. NOT for the older "classic" ASP 3 or the newer ASP.NET 2.0.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 1.0 and 1.1 Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old December 16th, 2006, 02:02 AM
Authorized User
 
Join Date: Sep 2005
Posts: 20
Thanks: 0
Thanked 0 Times in 0 Posts
Default 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






Similar Threads
Thread Thread Starter Forum Replies Last Post
Align to right not working Cyber Shiva HTML Code Clinic 4 July 19th, 2007 01:49 PM
Textbox align surendran Java GUI 2 August 24th, 2004 07:54 AM
align=right? larry Javascript How-To 11 July 6th, 2004 05:07 PM
Align text acko ASP.NET 1.x and 2.0 Application Design 2 January 9th, 2004 10:21 AM
align Center melvik C# 1 September 7th, 2003 04:50 AM





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