Title: Message
You could apply a float to the LOGOUT that makes it float to the right. but have this above the text on the left in the HTML,
 
try this
<p>
<span style="float: right;">
belong to us
</span>
all your base are
</p>
 
if both are in block tags, you could apply a float: left to one and a float: right to the other.
 
will float to the width of the containing box (not sure but ive had problems with this in IE, started to float them outside the containing box for some reason).
 
Tim Hill
Computer Associates
Graphic Artist
tel: +612 9937 0792
fax: +612 9937 0546
-----Original Message-----
From: Chris Stratford [mailto:[EMAIL PROTECTED]
Sent: Monday, December 15, 2003 11:27 AM
To: [EMAIL PROTECTED]
Subject: [WSG] CSS & Tables...

I have always wanted to do this…

I have never seen it possible without TABLES or Absolute positioning…

 

It must be possible though.

 

What I want to do is, have 1 piece of text aligned LEFT, and on the same line, another piece of text aligned RIGHT…

 

It’s a admin panel, where the line displays:

Title – username (then on the very right is a link to LOGOUT)

 

But unless I use tables I can’t do that…

 

The reason why I am after this is because I want my whole website to be absent of any tables.

 

www.neester.com/index2.php <- that is the continuing method – there is a guestbook where you can leave comments if you like…

 

 

I was hoping that CSS would allow you to have this sort of thing:

 

<p style=”align:left”> HEADING <p style=”align:right”> (if I close the <p> tag it will create a new line, but it does this when you open a new <p> tag anyway…

is there anyway around this?

 

I have yet to try: <span> tags.

And the last resort would be using 2 div’s

That is my last resort because, I have <div class=”content”><div class=”admin”> then I would have 2 more nested divs…

It would end up a hassle like tables end up a hassle…

 

 

Any help anyone?

Thanks in advance!

 

------------------------

Chris Stratford
• [EMAIL PROTECTED]
www.neester.com

------------------------

 

Reply via email to