![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||||
| |||||
|
|
Further to a critique request I made a short while ago, I have a query about tables vs divs. I was told to scrap my table coding and use divs instead, but I find these very hard to get to grips with and much prefer coding with tables. |
|
What exactly are the benefits of using divs, apart from 'ease of use', |
|
and can I get away with using tables instead? |
|
Also, can someone point me to a good div tutorial online? |
|
weblog | http://home.wanadoo.nl/b.de.zoete/_private/weblog.html | webontwerp | http://home.wanadoo.nl/b.de.zoete/html/webontwerp.html | zweefvliegen | http://home.wanadoo.nl/b.de.zoete/html/vliegen.html | `-------------------------------------------------- --<--@ ------------' |
#2
| |||
| |||
|
|
On Sat, 9 Apr 2005 08:53:30 +0100, SqueakyWee usenet (AT) CUT_ITsqueakywee (DOT) co.uk> wrote: Further to a critique request I made a short while ago, I have a query about tables vs divs. I was told to scrap my table coding and use divs instead, but I find these very hard to get to grips with and much prefer coding with tables. That's okay. It takes time to grasp an entirely different approach, a different concept. 'Using divs instead' is a bit too harsh. What you really should try to do is write your documents with markup that actually tells a browser of any kind what the elements are that you use. Structure your documents logically and as semantically as possible. Normally you would use a div (or a span for that matter) only if there is no more appropriate element available. |
#3
| ||||
| ||||
|
|
Barbara de Zoete wrote: On Sat, 9 Apr 2005 08:53:30 +0100, SqueakyWee usenet (AT) CUT_ITsqueakywee (DOT) co.uk> wrote: Further to a critique request I made a short while ago, I have a query about tables vs divs. I was told to scrap my table coding and use divs instead, but I find these very hard to get to grips with and much prefer coding with tables. That's okay. It takes time to grasp an entirely different approach, a different concept. 'Using divs instead' is a bit too harsh. What you really should try to do is write your documents with markup that actually tells a browser of any kind what the elements are that you use. Structure your documents logically and as semantically as possible. Normally you would use a div (or a span for that matter) only if there is no more appropriate element available. Don't normally post, but I'm working on something at the moment that actually forces me to use tables for layout and not rely on css! A Video on Demand system for TV. Because of the static size of a TV viewport and the shit way in which the STB browser interprets css I'm having to regress my html ten years. |
|
Imagine a css interpreter that cannot handle margin and padding on a fixed size viewport - not nice! |
|
I'll go back to lurking now. |
|
weblog | http://home.wanadoo.nl/b.de.zoete/_private/weblog.html | webontwerp | http://home.wanadoo.nl/b.de.zoete/html/webontwerp.html | zweefvliegen | http://home.wanadoo.nl/b.de.zoete/html/vliegen.html | `-------------------------------------------------- --<--@ ------------' |
#4
| |||
| |||
|
|
On Sat, 9 Apr 2005 09:37:10 +0000 (UTC), Andrew @ Rockface andrew (AT) rockface-records (DOT) co.uk> wrote: Barbara de Zoete wrote: On Sat, 9 Apr 2005 08:53:30 +0100, SqueakyWee usenet (AT) CUT_ITsqueakywee (DOT) co.uk> wrote: Further to a critique request I made a short while ago, I have a query about tables vs divs. I was told to scrap my table coding and use divs instead, but I find these very hard to get to grips with and much prefer coding with tables. That's okay. It takes time to grasp an entirely different approach, a different concept. 'Using divs instead' is a bit too harsh. What you really should try to do is write your documents with markup that actually tells a browser of any kind what the elements are that you use. Structure your documents logically and as semantically as possible. Normally you would use a div (or a span for that matter) only if there is no more appropriate element available. Don't normally post, but I'm working on something at the moment that actually forces me to use tables for layout and not rely on css! A Video on Demand system for TV. Because of the static size of a TV viewport and the shit way in which the STB browser interprets css I'm having to regress my html ten years. There is allways the inevitable exception to the rule. This might (and probably is) just be such an exception. It takes a learned view on markup and design to recognize such an exception and to deal with it wisely. And it takes quite some time to develop that learned view, may I argue. |
|
Imagine a css interpreter that cannot handle margin and padding on a fixed size viewport - not nice! LOL I'll go back to lurking now. Uh, that's a pitty. This one reply of yours makes me think you've got quite something to contribute. |
Sort of in the
#5
| |||
| |||
|
|
Barbara de Zoete wrote: On Sat, 9 Apr 2005 09:37:10 +0000 (UTC), Andrew @ Rockface andrew (AT) rockface-records (DOT) co.uk> wrote: Barbara de Zoete wrote: On Sat, 9 Apr 2005 08:53:30 +0100, SqueakyWee usenet (AT) CUT_ITsqueakywee (DOT) co.uk> wrote: Further to a critique request I made a short while ago, I have a query about tables vs divs. I was told to scrap my table coding and use divs instead, but I find these very hard to get to grips with and much prefer coding with tables. That's okay. It takes time to grasp an entirely different approach, a different concept. 'Using divs instead' is a bit too harsh. What you really should try to do is write your documents with markup that actually tells a browser of any kind what the elements are that you use. Structure your documents logically and as semantically as possible. Normally you would use a div (or a span for that matter) only if there is no more appropriate element available. Don't normally post, but I'm working on something at the moment that actually forces me to use tables for layout and not rely on css! A Video on Demand system for TV. Because of the static size of a TV viewport and the shit way in which the STB browser interprets css I'm having to regress my html ten years. There is allways the inevitable exception to the rule. This might (and probably is) just be such an exception. It takes a learned view on markup and design to recognize such an exception and to deal with it wisely. And it takes quite some time to develop that learned view, may I argue. It's pretty nasty. I've even resorted to using empty nested tables to add margin to one side of an existing table...shiver! And as for fitting content in such a small area! |
#6
| |||
| |||
|
|
On Sat, 9 Apr 2005 10:51:11 +0000 (UTC), "Andrew @ Rockface" andrew (AT) rockface-records (DOT) co.uk> wrote: Barbara de Zoete wrote: On Sat, 9 Apr 2005 09:37:10 +0000 (UTC), Andrew @ Rockface andrew (AT) rockface-records (DOT) co.uk> wrote: Barbara de Zoete wrote: On Sat, 9 Apr 2005 08:53:30 +0100, SqueakyWee usenet (AT) CUT_ITsqueakywee (DOT) co.uk> wrote: Further to a critique request I made a short while ago, I have a query about tables vs divs. I was told to scrap my table coding and use divs instead, but I find these very hard to get to grips with and much prefer coding with tables. That's okay. It takes time to grasp an entirely different approach, a different concept. 'Using divs instead' is a bit too harsh. What you really should try to do is write your documents with markup that actually tells a browser of any kind what the elements are that you use. Structure your documents logically and as semantically as possible. Normally you would use a div (or a span for that matter) only if there is no more appropriate element available. Don't normally post, but I'm working on something at the moment that actually forces me to use tables for layout and not rely on css! A Video on Demand system for TV. Because of the static size of a TV viewport and the shit way in which the STB browser interprets css I'm having to regress my html ten years. There is allways the inevitable exception to the rule. This might (and probably is) just be such an exception. It takes a learned view on markup and design to recognize such an exception and to deal with it wisely. And it takes quite some time to develop that learned view, may I argue. It's pretty nasty. I've even resorted to using empty nested tables to add margin to one side of an existing table...shiver! And as for fitting content in such a small area! Could you not have used a spacer.gif styled to an appropriate size? Or a series of them? |
#7
| |||
| |||
|
|
Big Bill wrote: On Sat, 9 Apr 2005 10:51:11 +0000 (UTC), "Andrew @ Rockface" andrew (AT) rockface-records (DOT) co.uk> wrote: Barbara de Zoete wrote: On Sat, 9 Apr 2005 09:37:10 +0000 (UTC), Andrew @ Rockface andrew (AT) rockface-records (DOT) co.uk> wrote: Barbara de Zoete wrote: On Sat, 9 Apr 2005 08:53:30 +0100, SqueakyWee usenet (AT) CUT_ITsqueakywee (DOT) co.uk> wrote: Further to a critique request I made a short while ago, I have a query about tables vs divs. I was told to scrap my table coding and use divs instead, but I find these very hard to get to grips with and much prefer coding with tables. That's okay. It takes time to grasp an entirely different approach, a different concept. 'Using divs instead' is a bit too harsh. What you really should try to do is write your documents with markup that actually tells a browser of any kind what the elements are that you use. Structure your documents logically and as semantically as possible. Normally you would use a div (or a span for that matter) only if there is no more appropriate element available. Don't normally post, but I'm working on something at the moment that actually forces me to use tables for layout and not rely on css! A Video on Demand system for TV. Because of the static size of a TV viewport and the shit way in which the STB browser interprets css I'm having to regress my html ten years. There is allways the inevitable exception to the rule. This might (and probably is) just be such an exception. It takes a learned view on markup and design to recognize such an exception and to deal with it wisely. And it takes quite some time to develop that learned view, may I argue. It's pretty nasty. I've even resorted to using empty nested tables to add margin to one side of an existing table...shiver! And as for fitting content in such a small area! Could you not have used a spacer.gif styled to an appropriate size? Or a series of them? That's exactly what I mean - I'm having to regress. I haven't used spacing gif in a very long time. I'll give it a whirl, though I have to keep an eye on page size as the Set Top Boxes have limited memory, plus tv users expect pretty much instanateous page changes/transitions. Cheers for that. |
#8
| |||
| |||
|
|
On Sun, 10 Apr 2005 19:22:41 +0000 (UTC), "Andrew @ Rockface" andrew (AT) rockface-records (DOT) co.uk> wrote: Big Bill wrote: On Sat, 9 Apr 2005 10:51:11 +0000 (UTC), "Andrew @ Rockface" andrew (AT) rockface-records (DOT) co.uk> wrote: Barbara de Zoete wrote: On Sat, 9 Apr 2005 09:37:10 +0000 (UTC), Andrew @ Rockface andrew (AT) rockface-records (DOT) co.uk> wrote: Barbara de Zoete wrote: On Sat, 9 Apr 2005 08:53:30 +0100, SqueakyWee usenet (AT) CUT_ITsqueakywee (DOT) co.uk> wrote: Further to a critique request I made a short while ago, I have a query about tables vs divs. I was told to scrap my table coding and use divs instead, but I find these very hard to get to grips with and much prefer coding with tables. That's okay. It takes time to grasp an entirely different approach, a different concept. 'Using divs instead' is a bit too harsh. What you really should try to do is write your documents with markup that actually tells a browser of any kind what the elements are that you use. Structure your documents logically and as semantically as possible. Normally you would use a div (or a span for that matter) only if there is no more appropriate element available. Don't normally post, but I'm working on something at the moment that actually forces me to use tables for layout and not rely on css! A Video on Demand system for TV. Because of the static size of a TV viewport and the shit way in which the STB browser interprets css I'm having to regress my html ten years. There is allways the inevitable exception to the rule. This might (and probably is) just be such an exception. It takes a learned view on markup and design to recognize such an exception and to deal with it wisely. And it takes quite some time to develop that learned view, may I argue. It's pretty nasty. I've even resorted to using empty nested tables to add margin to one side of an existing table...shiver! And as for fitting content in such a small area! Could you not have used a spacer.gif styled to an appropriate size? Or a series of them? That's exactly what I mean - I'm having to regress. I haven't used spacing gif in a very long time. I'll give it a whirl, though I have to keep an eye on page size as the Set Top Boxes have limited memory, plus tv users expect pretty much instanateous page changes/transitions. Cheers for that. I thought designing for tv and that was all behind us now. Bummer. |

#9
| |||
| |||
|
|
"Barbara de Zoete" <b_de_zoete (AT) hotmail (DOT) com> wrote in message news psoyhc7k4x5vgts (AT) zoete_b (DOT) ..On Sat, 9 Apr 2005 08:53:30 +0100, SqueakyWee usenet (AT) CUT_ITsqueakywee (DOT) co.uk> wrote: snip |
|
Thanks, your reply was very helpful. I've made my first attempt at using DIVs to design the site, and it can be seen here: http://blackbooks.squeakywee.co.uk. I wonder if you could take a look at it for me? Also, any ideas on the general layout/design on the site would be good. Kat |
![]() |
| Thread Tools | |
| Display Modes | |
| |