This email is to be read subject to the disclaimer below.

Hi Chris,

I see that Russ has already answered my question, but I should add that
using this method you can have more than two things each side. Here's a
really simple example I did:

<! Insert some doctype here...>
<html>
<head>
<title>I'm floating...</title>
<style type="text/css">
      p { clear: none; width: 20%; }
      .left { float: left; }
      .right { float: right; }
</style>
</head>
<body>
<div>
      <p class="left">Left</p>
      <p class="left">Left</p>
      <p class="right">Right</p>
      <p class="right">Right</p>
</div>
</body>
</html>

Hope you find this useful...

Cheers,
Vik
----------------------
Viktor Radnai
Web Developer
Business Innovation Online
Ernst & Young Australia
http://www.eyware.com/
http://www.eyonline.com/
Direct: +612 9248 4361
Fax: +612 9248 4073
Mobile: +61408 662 546


                                                                                       
                                                
                       "Chris                                                          
                                                
                       Stratford"              To:      <[EMAIL PROTECTED]>            
                                        
                       <[EMAIL PROTECTED]         cc:                                  
                                                   
                       il.com>                 Subject: [WSG] CSS & Tables...  [Virus 
checkedAU]                                       
                                                                                       
                                                
                       15/12/2003                                                      
                                                
                       11:27 AM                                                        
                                                
                       Please respond                                                  
                                                
                       to wsg                                                          
                                                
                                                                                       
                                                
                                                                                       
                                                



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
------------------------




--------------------
NOTICE - This communication contains information which is confidential and
the copyright of Ernst & Young or a third party.

If you are not the intended recipient of this communication please delete
and destroy all copies and telephone Ernst & Young on 1800 655 717
immediately. If you are the intended recipient of this communication you
should not copy, disclose  or distribute this communication without the
authority of Ernst & Young.

Any views expressed in this Communication are those of the individual
sender, except where the sender specifically states them to be the views of
Ernst & Young.

Except as required at law, Ernst & Young does not represent, warrant and/or
guarantee that the integrity of this communication has been maintained nor
that the communication is free of errors, virus, interception or
interference.

Liability limited by the Accountants Scheme, approved under the
Professional Standards Act 1994 (NSW)
--------------------
…çb±Ë²*'–+-~Šá¶Úÿ›²ÖuªÝ
è+ƒ

Reply via email to