![]() | |
#21
| |||
| |||
|
|
I thought tables were avoided for some real benefits like semantic content, clean html, separating defining visual aspects from defining content. They're semantically just as incorrect if you have Javascript generating them in the browser as they would be if the author had coded them directly. Sorry. Maybe I am misunderstanding word "semantic". I thought its something like "meaningful". |
|
And writing semantic html is writing html that has meaning and structure associated with this meaning not just html that is the tag soup to force browser to render properly (as with table layout). |
#22
| |||
| |||
|
|
I don't see the need to-- why not instead write your preprocessor in some reasonably reliable cross-platform programming language (Python, Java, etc.) and then people can run it on their own development machines or servers and just put the output on the web? I don't see the need to run it on the client's JS interpreter at all. This preprocessor would have to generate css and tables in html because I have not seen any way of doing things BraveLayout does in pure css. And there should not be tables cluttering your html source. |
#23
| |||
| |||
|
|
brave1979 wrote: I thought tables were avoided for some real benefits like semantic content, clean html, separating defining visual aspects from defining content. They're semantically just as incorrect if you have Javascript generating them in the browser as they would be if the author had coded them directly. Sorry. Maybe I am misunderstanding word "semantic". I thought its something like "meaningful". Yes. And writing semantic html is writing html that has meaning and structure associated with this meaning not just html that is the tag soup to force browser to render properly (as with table layout). Exactly. And tag soup is tag soup no matter how you generate it, whether by hand or with Javascript. The contents of your page that aren't logically a table, don't *become* logically a table just because you let Javascript generate the table-related tags. |
#24
| |||
| |||
|
|
On Dec 31, 7:02 am, Michael Fesser <neti... (AT) gmx (DOT) de> wrote: The behaviour of floats is exactly defined and described in detail in the CSS spec. That's not what I'd call a hack. Does the word "column" appear anywhere on this spec? Clever way of exploiting system for your own purposes is called a hack. |
|
If your script generates tables, then you _are_ using tables to layout the HTML. I know what's wrong with putting tables in your html to achieve visual effect but I can't understand why you consider them evil when they are used the way I use them. |
#25
| |||
| |||
|
|
This template does not use my lib. |
#26
| |||
| |||
|
|
Please check out my javascript library that allows you to create any layout for your web page, nested as deep as you like, adjusting to width and height of a browser window. You just describe it in javascript object and that's all. No need to know CSS hacks, no need to clutter your html with tables. http://www.bravelayout.scarabeo.biz/Quickstart |
#27
| |||
| |||
|
|
I would also love to see a real demo page, with some real content, and that is still visible when JavaScript is unavailable. Great to hear that. This is first time I release it to public so more |
#28
| |||
| |||
|
|
brave1979 wrote: I thought tables were avoided for some real benefits like semantic content, clean html, separating defining visual aspects from defining content. They're semantically just as incorrect if you have Javascript generating them in the browser as they would be if the author had coded them directly. Sorry. Maybe I am misunderstanding word "semantic". I thought its something like "meaningful". Yes. And writing semantic html is writing html that has meaning and structure associated with this meaning not just html that is the tag soup to force browser to render properly (as with table layout). Exactly. And tag soup is tag soup no matter how you generate it, whether by hand or with Javascript. The contents of your page that aren't logically a table, don't *become* logically a table just because you let Javascript generate the table-related tags. |
#29
| |||
| |||
|
|
On 2007-12-31, Harlan Messinger <hmessinger.removet... (AT) comcast (DOT) net> wrote: brave1979 wrote: I thought tables were avoided for some real benefits like semantic content, clean html, separating defining visual aspects from defining content. They're semantically just as incorrect if you have Javascript generating them in the browser as they would be if the author had coded them directly. Sorry. Maybe I am misunderstanding word "semantic". I thought its something like "meaningful". Yes. And writing semantic html is writing html that has meaning and structure associated with this meaning not just html that is the tag soup to force browser to render properly (as with table layout). Exactly. And tag soup is tag soup no matter how you generate it, whether by hand or with Javascript. The contents of your page that aren't logically a table, don't *become* logically a table just because you let Javascript generate the table-related tags. Isn't the idea of his system that the HTML stays as nice clean HTML, and is only munged into a sea of tables by the JS? |
#30
| |||
| |||
|
|
brave1979 wrote: On Dec 31, 7:02 am, Michael Fesser <neti... (AT) gmx (DOT) de> wrote: The behaviour of floats is exactly defined and described in detail in the CSS spec. That's not what I'd call a hack. Does the word "column" appear anywhere on this spec? Clever way of exploiting system for your own purposes is called a hack. Nah, I'd call it being creative. Just because the CSS specs don't explicitly say you may use properties for particular visual effects doesn't mean you can't. Kicking the vending machine in the right spot to get some coins is |
|
If your script generates tables, then you _are_ using tables to layout the HTML. I know what's wrong with putting tables in your html to achieve visual effect but I can't understand why you consider them evil when they are used the way I use them. The document tree is what the browser/user sees. Why do you think generating it via script instead of coding it in the HTML makes a difference? User does not see DOM tree, he sees rendered page. What actually is in |
![]() |
| Thread Tools | |
| Display Modes | |
| |