|
|||||||
| 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 | |||
![]() |
|
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
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, |
|
#2
|
||||
|
||||
|
__________________
"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 |
|
#3
|
|||
|
|||
|
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, |
|
#4
|
||||
|
||||
|
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. |
|
#5
|
|||
|
|||
|
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, |
|
#6
|
||||
|
||||
|
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. |
|
#7
|
|||
|
|||
|
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, |
|
#8
|
||||
|
||||
|
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.
|
|
#9
|
|||
|
|||
|
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, |
|
#10
|
||||
|
||||
|
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 |
|
#11
|
|||
|
|||
|
mmhmm, the only thing I am slightly worried about is positioning. Is it as to position <DIV>'s as it is <TABLES>'s?
__________________
Ez, |
|
#12
|
||||
|
||||
|
__________________
My Blog: FundaMental Disaster Accessible DHTML Tabs | Quick CSS Positioning Explanation | Quick Floated Elements Explanation | 50% + 50% != 100% | Gaps Under Images | ID vs. Class | Gappy Lists in Internet Explorer | Why Tables Are Slower | Benefits of XHTML vs. HTML | Linking to External Style Sheets | About DOCTYPES | Web Design is a Peanut Butter & Jelly Sandwhich | CSS: To Hack Or Not To Hack | Internet Explorer and Transparent PNGs |
|
#13
|
|||
|
|||
|
Why thank you.
__________________
Ez, |
|
#14
|
||||
|
||||
|
Quote:
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. |
|
#15
|
|||
|
|||
|
I see I see, well this shale be my starting point.
__________________
Ez, |
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|