|
I'm pretty dure Dreamweaver refers to DIV tags as 'layers', not toally sure why. A DIV tag with no CSS styling is simply a DIVision of (x)HTML, and just used to divide up content. Style a DIV tag with CSS, and you can create layouts with them.
In the past, browser support for CSS has been pretty diabolical, so the trend was to use tables to layout bits on the page. It's always worked, but it's never been perfect and it was never what tables were meant for - table based layouts are the biggest hack in web design.
Now CSS support in browsers is a lot better (still not perfect, every browser has it's pitfalls and even some of the 'standards' are not very well worded) designers are starting to use CSS to it's full potential and only use tables for what they're meant for, tabular data. You mentioned screen readers in your OP - CSS based layouts can be better for screen readers because the screen readers read the content of the page and ignore the CSS. You can, for example, put the main content of the page at the top of the HTML document and the navigation under it, then use CSS to put the navigation graphicly on top of the page. That way a user with a screen reader won't have to skip over the navigation to the content but you still get the visual benifit of having the navigation at the top. You can't do that with tables.
At the end of the day, DIVs and CSS are not a very new technology, what's new is that browser support for it has improved a lot recently.
__________________
Minaki Serinde MCP
"Wow, Linux is nearly on-par with Windows ME!"
Please login or register to view this content. Registration is FREE | Please login or register to view this content. Registration is FREE
|