www.webdeveloper.com
Recent Articles
  • Finding Slow Running Queries in ASE 15
  • A More Advanced Pie Chart for Analysis Services Data
  • Adobe AIR Programming Unleashed: Working with Windows
  • Performance Testing SQL Server 2008's Change Data Capture Functionality
  • The ABC's of PHP: Introduction to PHP
  • How to Migrate from BasicFiles to SecureFiles Storage
  • Why the Twitter Haters Are Wrong
  • User Personalization with PHP: Beginning the Application
  • Whats in an Oracle Schema?
  • Lighting Enhancement in Photoshop
  •  

    Go Back   WebDeveloper.com > Client-Side Development > CSS

    CSS Discussion and technical support relating to Cascading Style Sheets.

    View Poll Results: CSS or Tradition?
    CSS 21 91.30%
    Tables 5 21.74%
    Multiple Choice Poll. Voters: 23. You may not vote on this poll

    Reply
     
    Thread Tools Search this Thread Rate Thread Display Modes
      #1  
    Old 07-18-2006, 06:43 AM
    SeanieC SeanieC is offline
    $me = Pro; echo $me
     
    Join Date: Jul 2006
    Location: England.
    Posts: 128
    CSS vs. Tradition

    Is CSS better then the traditional Table building? I've seen a few impressive CSS dependent sites but are they really that simple to make?

    Whats better, total CSS or traditional tables with some CSS included?

    __________________
    Ez,
    Reply With Quote
      #2  
    Old 07-18-2006, 06:49 AM
    NogDog's Avatar
    NogDog NogDog is offline
    High Energy Magic Dept.
     
    Join Date: Aug 2004
    Location: Ankh-Morpork
    Posts: 14,007
    http://www.hotdesign.com/seybold/
    __________________
    "That's what the gods are! An answer that will do! Because there's food to be caught and babies to be born and life to be lived and so there is not time for big, complicated, and worrying answers! Please give us a simple answer, so that we don't have to think, because if we think, we might find answers that don't fit the way we want the world to be." -- from Nation, by Terry Pratchett
    freelancer.internet.com
    Email me
    Reply With Quote
      #3  
    Old 07-18-2006, 07:12 AM
    SeanieC SeanieC is offline
    $me = Pro; echo $me
     
    Join Date: Jul 2006
    Location: England.
    Posts: 128
    Hmm interesting, I especially like the points about mixing content with structure. I formed this poll because I was curious of how web design is changing at the moment, and it seems as though more and more people are making their sites CSS based. BUT, saying that, I have just started a new website http://www.woooza.net/runescape/ and it would seem a lot of work to change it all from nested tables to CSS, but that could be because I don't know the actual work involved. Could I get the same results in CSS as I did using nested tables?

    Thanks,
    __________________
    Ez,
    Reply With Quote
      #4  
    Old 07-18-2006, 07:16 AM
    David Harrison's Avatar
    David Harrison David Harrison is offline
    Evil Overlord & Super Mod
     
    Join Date: Dec 2002
    Location: Manchester, UK
    Posts: 6,289
    That would be a fairly easy site to make with CSS, header floated next to a form, unordered list for navigation underneath, couple of columns and a footer.

    I used to use tables and font tags and all the other presentational markup, now I use CSS, CSS is a LOT easier than the messy table route.
    __________________
    Every fight is a food fight when you’re a cannibal.
    Reply With Quote
      #5  
    Old 07-18-2006, 07:19 AM
    SeanieC SeanieC is offline
    $me = Pro; echo $me
     
    Join Date: Jul 2006
    Location: England.
    Posts: 128
    Well I do use CSS instead of the font tags, and try to use CSS everywhere else I can. But the thing I have noticed with CSS, correct me if I am wrong, is that it is a lot of work to get everything looking just right, whereas using nested tables you have a clear idea of how it will look when you save and upload. I might be wrong here so don't flame me, please..
    __________________
    Ez,
    Reply With Quote
      #6  
    Old 07-18-2006, 07:28 AM
    David Harrison's Avatar
    David Harrison David Harrison is offline
    Evil Overlord & Super Mod
     
    Join Date: Dec 2002
    Location: Manchester, UK
    Posts: 6,289
    I have a clear idea how it will look when I make something with CSS. Usually when making something though, I test it along the way in Firefox to make sure I'm getting it right, then when I'm done I check it in Opera too, and Opera is usually fine with it.

    The only problem is IE, so I use a separate style sheet to fix it for IE. It doesn't take long to correct for IE, though it shouldn't be necessary at all, but we don't live in a perfect world.
    __________________
    Every fight is a food fight when you’re a cannibal.
    Reply With Quote
      #7  
    Old 07-18-2006, 07:34 AM
    SeanieC SeanieC is offline
    $me = Pro; echo $me
     
    Join Date: Jul 2006
    Location: England.
    Posts: 128
    So true we really dont, I got into work this morning and viewed my website then realised I had set all my tables to a % which threw everything out as I use a higher resolution in work. PITA (pain in the a**). I've just downloaded some zengarden css files and their html page. I must say I am extreamly impressed with how CSS handles website design. Although I have no plans on allowing users to change their themes. . But it is a lot neater in regards to the code, which as everyone knows means its quicker to download. I will probably take a look into how hard it will be to convert my page (its only 1 page at the moment thank god) to CSS.

    I might be asking from some support if I run into problems though!

    Thanks for your words from the other side of the pasture!
    __________________
    Ez,
    Reply With Quote
      #8  
    Old 07-18-2006, 09:55 AM
    drhowarddrfine's Avatar
    drhowarddrfine drhowarddrfine is offline
    Registered User
     
    Join Date: May 2005
    Posts: 2,044
    I don't know that I would call laying out web pages with tables "traditional" anymore. I had no interest in web design until about two years ago. I had to ramp up quickly for two projects that came up. I have never designed using tables for layout at all. So, traditionally, I've used CSS my whole professional life.
    Reply With Quote
      #9  
    Old 07-18-2006, 09:57 AM
    SeanieC SeanieC is offline
    $me = Pro; echo $me
     
    Join Date: Jul 2006
    Location: England.
    Posts: 128
    Hmm, I guess you're lucky lol, I went through all phases, from layers, to tables now it looks like I am going to move to CSS, if it does exactely what it says on the tin that is..
    __________________
    Ez,
    Reply With Quote
      #10  
    Old 07-18-2006, 10:41 AM
    The Little Guy's Avatar
    The Little Guy The Little Guy is offline
    I have six words for you
     
    Join Date: Apr 2003
    Location: Rosemount, MN
    Posts: 2,245
    You can also make your own Tables using divs.. It looks something like this:

    HTML Code:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html>
    <head>
    <title>txt</title>
    <style type="text/css">
    .table{
    	width:50%;
    	border:solid 1px #000000;
    	float:left;
    }
    .tr{
    	width:50%;
    	float:left;
    }
    .td{
    	float:left;
    	border:solid 1px #000000;
    	width:100%;
    }
    .tr_colspan{
    	width:100%;
    	text-align:center;
    	font-weight:bold;
    }
    </style>
    </head>
    <body>
    <div class="table">
    	<div class="tr_colspan">
    		<div class="td">1asdfasdfas</div>
    	</div>
    	<div class="tr">
    		<div class="td">3</div>
    		<div class="td">4</div>
    	</div>
    	<div class="tr">
    		<div class="td">5</div>
    		<div class="td">6</div>
    	</div>
    </div>
    </body>
    </html>
    __________________
    My settings

    Browser :: FireFox 1.5
    Resolution :: 1152x864
    Connection :: Cable Modem 2Mbs
    Reply With Quote
      #11  
    Old 07-18-2006, 10:58 AM
    SeanieC SeanieC is offline
    $me = Pro; echo $me
     
    Join Date: Jul 2006
    Location: England.
    Posts: 128
    mmhmm, the only thing I am slightly worried about is positioning. Is it as to position <DIV>'s as it is <TABLES>'s?
    __________________
    Ez,
    Reply With Quote
      #13  
    Old 07-18-2006, 11:49 AM
    SeanieC SeanieC is offline
    $me = Pro; echo $me
     
    Join Date: Jul 2006
    Location: England.
    Posts: 128
    Why thank you.
    __________________
    Ez,
    Reply With Quote
      #14  
    Old 07-18-2006, 12:00 PM
    David Harrison's Avatar
    David Harrison David Harrison is offline
    Evil Overlord & Super Mod
     
    Join Date: Dec 2002
    Location: Manchester, UK
    Posts: 6,289
    Quote:
    Originally Posted by The Little Guy
    You can also make your own Tables using divs
    But that's almost the same as using tables, and it's a perversion of a CSS based layout.

    If you're going to have a CSS based layout, don't fit the markup to the CSS, write the markup as it should be (<h1-6> for headers, <p> for paragraphs etc.) then fit the CSS to the markup, adding in <div> and <span> elements where necessary and appropriate for any CSS hooks you may need.
    __________________
    Every fight is a food fight when you’re a cannibal.
    Reply With Quote
      #15  
    Old 07-18-2006, 02:29 PM
    SeanieC SeanieC is offline
    $me = Pro; echo $me
     
    Join Date: Jul 2006
    Location: England.
    Posts: 128
    I see I see, well this shale be my starting point.
    __________________
    Ez,
    Reply With Quote
    Reply

    Bookmarks


    Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
     
    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

    BB code is On
    Smilies are On
    [IMG] code is Off
    HTML code is Off
    Forum Jump


    All times are GMT -5. The time now is 11:04 AM.



    Acceptable Use Policy


    The Network for Technology Professionals

    Search:

    About Internet.com

    Legal Notices, Licensing, Permissions, Privacy Policy.
    Advertise | Newsletters | E-mail Offers

    Powered by vBulletin® Version 3.7.3
    Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.