|
|||||||
| CSS Discussion and technical support relating to Cascading Style Sheets. |
![]() |
|
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
The Glory of <div> Tags
I've heard the gospel of <div> tags all over this site, seen it in the source of the best looking websites, and heard it from many web designers, so much that I cannot take it any longer without joining in.
Where is the best spot to start learning how to efficiently use <div> tags with css style, positioning, etc properties and dispense with messy table layout? Websites, books, all much appreciated. -Alex |
|
#2
|
||||
|
||||
|
Check the links in my sig and the many links off Zeldman's site.
__________________
Help Save Ana Why use Web Standards: Zeldman How (new): Castro How (experienced): Cederholm If you can only get one book and you're already HTML savvy then this is it: stylin' with CSS: A Designer's Guide Charles Wyke-Smith New Riders "Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it." Brian W. Kernighan |
|
#4
|
|||
|
|||
|
recommendations
Thanks, but I was looking for something devoted to building pages with <div> tags...
any gems out there for something versed in html and css, just not yet a devotee of the div? |
|
#5
|
||||
|
||||
|
Building pages using only div elements would be just as limiting as using tables for layout. The whole point of modern css styling is to use whatever element is the most appropriate for the situation, and to style it accordingly - the div is only one of many tools at our disposal.
Cheers Graeme |
|
#6
|
||||
|
||||
|
Quote:
Here is a bookmark-worthy site and a fun read read on the subject: http://www.hotdesign.com/seybold/index.html
__________________
Help Save Ana My Portal: I Build WebPagesPricing? Read:http://www.webdeveloper.com/forum/pricing_faq.html AUP: http://www.jupitermedia.com/corporate/privacy/aup.html I test with: Firefox, Mozilla, Opera, Safari-on-XP, Google Chrome, SeaMonkey Internet.com freelancers |
|
#7
|
||||
|
||||
|
Quote:
__________________
Help Save Ana Why use Web Standards: Zeldman How (new): Castro How (experienced): Cederholm If you can only get one book and you're already HTML savvy then this is it: stylin' with CSS: A Designer's Guide Charles Wyke-Smith New Riders "Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it." Brian W. Kernighan |
|
#8
|
||||
|
||||
|
A lot of people who finally realise that using tables to lay out their page then catch divitis and start using divs to lay out their page. They then end up with dozens of supurluous div tags on their page which is almost as bad as using tables since the idea of semantic markup is to use the tags that identify the content.
Use a table to identify tabular data. Use a div to identify the divisions within your content. Use the right tags to identify the content within those divisions and apply the CSS to whatever tag identifies the content. Don't add unnecessary divs to your page.
__________________
Stephen Free Computer Help, blog, forum Web design ebooks and software JavaScript scripts and tutorials |
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|