HighDots Forums  

Newbie styling wuestion

Cascading Style Sheets Layout/presentation on the WWW (comp.infosystems.www.authoring.stylesheets)


Discuss Newbie styling wuestion in the Cascading Style Sheets forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
ashkaan57@hotmail.com
 
Posts: n/a

Default Newbie styling wuestion - 03-28-2006 , 05:25 PM






Hi,
I am trying to do away with tables for layouts and am just begining the
ropes.
I want to line up three columns, each with different widths. What style
do I have to assign to <span> to get this effect:

item1 item2 item3
item4444 item55 item 66666

so that item1 and item444, item2 and item55, item3 and item6666 all
line up?

TIA.


Reply With Quote
  #2  
Old   
Sid Ismail
 
Posts: n/a

Default Re: Newbie styling wuestion - 03-28-2006 , 06:15 PM






On 28 Mar 2006 15:25:22 -0800, ashkaan57 (AT) hotmail (DOT) com wrote:

: Hi,
: I am trying to do away with tables for layouts and am just begining the
: ropes.
: I want to line up three columns, each with different widths. What style
: do I have to assign to <span> to get this effect:
:
: item1 item2 item3
: item4444 item55 item 66666
:
: so that item1 and item444, item2 and item55, item3 and item6666 all
: line up?


That, my Dear man is a job for tables!!

Sid



Reply With Quote
  #3  
Old   
ashkaan57@hotmail.com
 
Posts: n/a

Default Re: Newbie styling wuestion - 03-29-2006 , 12:51 AM



Just when I thought it was safe to dive into CSS! Darn it!
No way to specify a <span> with a width to take care of item1 and
item4444, a span with a relative position and left-margin to handle
item2 and item55, ...?


Reply With Quote
  #4  
Old   
Alan Silver
 
Posts: n/a

Default Re: Newbie styling wuestion - 03-29-2006 , 08:36 AM



In article <ibkj229hsilt3oa2ue9v1jqk7961bgtrol (AT) 4ax (DOT) com>, Sid Ismail
<elsid (AT) nospam (DOT) co.za> writes
Quote:
On 28 Mar 2006 15:25:22 -0800, ashkaan57 (AT) hotmail (DOT) com wrote:

: Hi,
: I am trying to do away with tables for layouts and am just begining the
: ropes.
: I want to line up three columns, each with different widths. What style
: do I have to assign to <span> to get this effect:
:
: item1 item2 item3
: item4444 item55 item 66666
:
: so that item1 and item444, item2 and item55, item3 and item6666 all
: line up?


That, my Dear man is a job for tables!!
Doesn't that depend on the nature of what he is trying to line up? If
the data is truly tabular, so that lining them items up is because they
are logically related, then yes a table probably is the most sensible
approach.

If, on the other hand, the items shown are merely dummy ones used for
clarity instead of independent parts of the page, then a table would not
be appropriate and we would need to know more about what s/he actually
wants before being able to advise.

Just a thought.

--
Alan Silver
(anything added below this line is nothing to do with me)


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.