Web Layout
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
 
User Name:
Password:
Remember me
Go Back   ASP Free ForumsWeb DesignWeb Layout

Closed Thread
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread ASP Free Forums Sponsor:
SlickEdit: Code in over 40 languages across 7 platforms. SlickEdit’s unmatched power, speed, and flexibility allows even the most accomplished developers to write better code faster. Download a free trial today!
  #1  
Old April 27th, 2005, 06:08 AM
oren oren is offline
Contributing User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Feb 2005
Posts: 36 oren User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 7 h 24 m 29 sec
Reputation Power: 4
CSS vs. Tables

Yeah I know we all heard about this and read about it somewhere. I have a question. I have recently done a lot of reading and testing with CSS driven sites. Meaning I would format my site using stylesheets and not tables. Its all great and I agree with having these files external to the html files. The question is: what happens if you want to design a site with lots of graphics? For example you could use Adobe Imageready to slice an image to make a website. This in turn creates tables and places the sliced images in their respective place. How can you do this with CSS??? I guess you would have to slice an image and place each one using DIV tags... that can be a very painfull and long process... Am I missing or mistaken about something?? so far, all the CSS sites I've seen were al pretty simple.

Please let me know what you think.
Thanks,
Oren

Reply With Quote
  #2  
Old April 27th, 2005, 07:07 AM
Phoenix's Avatar
Phoenix Phoenix is offline
Web-Standards Evangelist
ASP Free Intermediate (1500 - 1999 posts)
 
Join Date: Nov 2003
Posts: 1,522 Phoenix User rank is Corporal (100 - 500 Reputation Level)Phoenix User rank is Corporal (100 - 500 Reputation Level)Phoenix User rank is Corporal (100 - 500 Reputation Level)Phoenix User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 4 Days 23 h 48 m 4 sec
Reputation Power: 8
I hardly call the masterpiece of http://www.csszengarden.com simple... you should check out some of the designs there.... all totally different and original, but all using the EXACT SAME XHTML

Instead... you make your website layout in Photoshop or whatever, then markup your document structure. Once you're done, match the layout to the structure and export the images as appropriate.

<div> elements are not meant to be used for page layout either.... they're just a semantically neutral container... which so happen to be the most popular styled element.

And you're not meant to call them "tags" either

Reply With Quote
  #3  
Old May 16th, 2005, 07:46 PM
plasma800 plasma800 is offline
Contributing User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Jan 2004
Location: Houston
Posts: 407 plasma800 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 12 h 13 m 36 sec
Reputation Power: 5
Send a message via Yahoo to plasma800
Is there a CSS Tag that IS meant for page layout?

Reply With Quote
  #4  
Old May 16th, 2005, 11:24 PM
Lafinboy's Avatar
Lafinboy Lafinboy is offline
The Laughing Moderator
ASP Free Loyal (3000 - 3499 posts)
 
Join Date: Apr 2004
Location: Sydney, Australia
Posts: 3,263 Lafinboy User rank is Sergeant (500 - 2000 Reputation Level)Lafinboy User rank is Sergeant (500 - 2000 Reputation Level)Lafinboy User rank is Sergeant (500 - 2000 Reputation Level)Lafinboy User rank is Sergeant (500 - 2000 Reputation Level)Lafinboy User rank is Sergeant (500 - 2000 Reputation Level)  Folding Points: 29199 Folding Title: Starter FolderFolding Points: 29199 Folding Title: Starter Folder
Time spent in forums: 2 Weeks 1 Day 10 h 35 m 51 sec
Reputation Power: 15
Send a message via ICQ to Lafinboy Send a message via AIM to Lafinboy Send a message via MSN to Lafinboy Send a message via Yahoo to Lafinboy Send a message via Skype to Lafinboy
There are no 'layout' elements in CSS. CSS simply controls the presentation of elements, and by manipulating the elements you achieve the desired layout.

I think what DUDE meant was that a lot of CSS tableless design newcomers use the div element to replace the table tag, leading to 'divitis'. As stated, the div element is a semantically neutral container which can be used to group related elements together.

Reply With Quote
  #5  
Old May 17th, 2005, 07:42 AM
d00d_1337 d00d_1337 is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: May 2005
Posts: 9 d00d_1337 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 1 m 58 sec
Reputation Power: 0
"<divitis>" is mainly caused by those who think that "div is for CSS layout" which is wrong. You can style any element.

But even with a page full of <div>ision elements, it still uses a lot less markup than a table-based page.

Reply With Quote
  #6  
Old May 17th, 2005, 11:28 AM
plasma800 plasma800 is offline
Contributing User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Jan 2004
Location: Houston
Posts: 407 plasma800 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 12 h 13 m 36 sec
Reputation Power: 5
Send a message via Yahoo to plasma800
yeah yeah.. thats what I have!! lol.. anything new for me to learn?

And I agree that a bunch of div's is still less markup than the tables.

Although, I think it is harder sometimes to find the ending points of some divs when you have a pile of them.

Do you feel tables are still a main component of design?

Reply With Quote
  #7  
Old May 17th, 2005, 12:15 PM
d00d_1337 d00d_1337 is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: May 2005
Posts: 9 d00d_1337 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 1 m 58 sec
Reputation Power: 0
A good solution for hunting through code is to markup the closing elements. This is the usual convention:

Code:
 <div id="header">
 
 </div><!-- /Header -->
 


Like you do in bracket-syntax languages to denote what kind of statement delimiter you've just put down:

Code:
 if (x = y) {
    do stuff;
 } //if
 

Reply With Quote
  #8  
Old May 17th, 2005, 08:58 PM
plasma800 plasma800 is offline
Contributing User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Jan 2004
Location: Houston
Posts: 407 plasma800 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 12 h 13 m 36 sec
Reputation Power: 5
Send a message via Yahoo to plasma800
Good point. Thats whats ive had to start doing.. plus writing very neat code helps too. Been times ive had to actually print the code and draw connecting lines to opening and closing div tags..


Reply With Quote
  #9  
Old May 18th, 2005, 03:05 AM
medianox's Avatar
medianox medianox is offline
Contributing User
ASP Free Newbie (0 - 499 posts)
 
Join Date: May 2005
Location: Chicago, IL
Posts: 157 medianox User rank is Private First Class (20 - 50 Reputation Level)medianox User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: 22 h 47 m 49 sec
Reputation Power: 4
Send a message via ICQ to medianox Send a message via AIM to medianox Send a message via MSN to medianox Send a message via Yahoo to medianox
I dunno if this was already posted on your board previously, but here's a really great breakdown of what CSS is, what it can add to your bottom line, how to convince oneself/others to use it, and why the web was meant to be viewed with the CSS layout. http://www.hotdesign.com/seybold/

if you've already seen this, I apologize. me = n00b at ASPfree.

Reply With Quote
  #10  
Old October 6th, 2007, 03:33 PM
sirronstuff sirronstuff is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Oct 2007
Location: Fort Worth, TX
Posts: 13 sirronstuff User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 h 37 m 54 sec
Reputation Power: 0
helpful info on this. Thanks.

Reply With Quote
Closed Thread

Viewing: ASP Free ForumsWeb DesignWeb Layout > CSS vs. Tables


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 

Iron Speed




© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 5 hosted by Hostway