homepage Welcome to WebmasterWorld Guest from 23.22.194.120
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

Home / Forums Index / Code, Content, and Presentation / CSS
Forum Library, Charter, Moderators: not2easy

CSS Forum

    
Is CSS positioning really neccessary?
...and how do I do it?
Pat_Traynor




msg:1176261
 3:56 pm on Apr 12, 2001 (gmt 0)

It looks like this topic has been beaten to death, but I thought I saw it twitch just a little...

Although I use CSS for basic things such as font size/shape/color, borders, etc., I haven't done much in the way of layers and positioning. If I have to do any absolute positioning (and I do it a lot), I use tables.

I hear so many people waving the CSS flag when it comes to layout, and I'm all for doing things the "right way", but from what I've seen, CSS positioning looks like an AWFUL lot of work.

Right now I'm designing a site and there are several pages that look like this: <snip>
So that you can see where they are, I've set the border to '1' on the two nested tables here: <snip>

If I'm to understand what I've read in a couple CSS tutorials, I'd have to define a laundry list of positioning variables for each of the many cells that make up this page. Am I correct? As I have it set up, I just have to put the TR and TD tags in the right order, and it looks ok (at least on the browsers that I've tried it on).

On occasion, I have had some beat-my-head-against-the-wall problems with tables in Netscape, but I've always been able to kludge^H^H^H^H^H fix them.

Is CSS positioning as difficult as it looks, and if not, can someone recommend a good tutorial?

Thanks in advance.

[edited by: Woz at 10:55 pm (utc) on Jan. 21, 2003]

 

David




msg:1176262
 4:43 pm on Apr 12, 2001 (gmt 0)

I think Css positioning looks more dificult than it is. Someday it may replace the use of tables but if your page layout is static I would stick to tables. The only reason I use Css/layers is for dynamic content. With a scripting language you can turn the visibility on and off and or move the content around on the screen (DHTML).

tedster




msg:1176263
 6:36 pm on Apr 12, 2001 (gmt 0)

I agree with you, David. There's no immediate worry in using tables for layout.

CSS positioning has advantages -- pages render faster for one. The difference is more noticeable as the layout tables get more complex.

The big deal for me is that the future of web development is CSS. CSS has been slow to start, and very buggy at first, but the separation of presentation and content will eventually become the way things must be, and I want to be up to speed before then. The more familiar I've become, the more I appreciate the advantages that CSS offers.

But there's no reason I can see that you need to make the jump right now, and probably not next year either.

grnidone




msg:1176264
 7:03 pm on Apr 12, 2001 (gmt 0)

Tutorials:

This seems like one to start with if you don't know 'sic em'.

[westciv.com.au...]

This one has a lot of description about *why* you use CSS as well as how to create style sheets.
[w3schools.com...]

Hope these help. I am going to dig through these myself. Like Tedster said, ya gotta be up to speed when it is commonly used.
-G

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / CSS
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved