Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsGeneralPHPASPPerlColdFusionFlashHTML, CSS, ScriptsBrowsers

Webmaster Forum / HTML, CSS, Scripts / CSS / March 2006



Tip: Looking for answers? Try searching our database.

Newbie styling wuestion

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
ashkaan57@hotmail.com - 29 Mar 2006 00:25 GMT
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.
Sid Ismail - 29 Mar 2006 01:15 GMT
: Hi,
: I am trying to do away with tables for layouts and am just begining the
[quoted text clipped - 7 lines]
: so that item1 and item444, item2 and item55, item3 and item6666 all
: line up?

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

Sid
ashkaan57@hotmail.com - 29 Mar 2006 07:51 GMT
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, ...?
Alan Silver - 29 Mar 2006 15:36 GMT
>: Hi,
>: I am trying to do away with tables for layouts and am just begining the
[quoted text clipped - 9 lines]
>
>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.

Signature

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

 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.