473,396 Members | 1,997 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

tableless design ==> practical problems???

I know.. i know.. tables are not the best solution to solve things..
But... What about an auto-scaling table like:

<table width="100%" >
<col />
<col width="400" />
<tr>
<td><div id="googleMap" style="width: 100%"></div></td>
<td>Menu-kind-of-thing</td>
</tr>
</table>

I really tried to do that first with floating div's, but: then I had to work
with a <body onresize="setSize()"function that recalculated the available
width and adjusted the content-div when window resized..But... then
again... FireFox complains it doesn't recognise onresize ....
So....
Do we really need to expell tables or do they provide some practical
functionallity????
Dutch regards,
Marco
Jun 27 '08 #1
3 1153
Quarco meinte:
I know.. i know.. tables are not the best solution to solve things..
But... What about an auto-scaling table like:

<table width="100%" >
<col />
<col width="400" />
<tr>
<td><div id="googleMap" style="width: 100%"></div></td>
<td>Menu-kind-of-thing</td>
</tr>
</table>
Fascinating markup. Anyway, where is the JS-related question?

Gregor
--
http://photo.gregorkofler.at ::: Landschafts- und Reisefotografie
http://web.gregorkofler.com ::: meine JS-Spielwiese
http://www.image2d.com ::: Bildagentur für den alpinen Raum
Jun 27 '08 #2
"Which approach is the best (from DOM / css / standards / etc point of view)

:-)

I had it to work with javascript and floating div's, but after trying these
(working) 8 lines of table-code I thought "Perhaps the javascript approach
is the wrong solution"..


"Gregor Kofler" <us****@gregorkofler.atschreef in bericht
news:kX*************@nntpserver.swip.net...
Quarco meinte:
>I know.. i know.. tables are not the best solution to solve things..
But... What about an auto-scaling table like:

<table width="100%" >
<col />
<col width="400" />
<tr>
<td><div id="googleMap" style="width: 100%"></div></td>
<td>Menu-kind-of-thing</td>
</tr>
</table>

Fascinating markup. Anyway, where is the JS-related question?

Gregor
--
http://photo.gregorkofler.at ::: Landschafts- und Reisefotografie
http://web.gregorkofler.com ::: meine JS-Spielwiese
http://www.image2d.com ::: Bildagentur für den alpinen Raum

Jun 27 '08 #3
Quarco meinte:
"Which approach is the best (from DOM / css / standards / etc point of view)
Could you please stop top-posting. (And quoting sigs.)
:-)

I had it to work with javascript and floating div's, but after trying these
(working) 8 lines of table-code I thought "Perhaps the javascript approach
is the wrong solution"..
CSS/HTML is sufficient. If you need JS you got it completely wrong.

Gregor


--
http://photo.gregorkofler.at ::: Landschafts- und Reisefotografie
http://web.gregorkofler.com ::: meine JS-Spielwiese
http://www.image2d.com ::: Bildagentur für den alpinen Raum
Jun 27 '08 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

18
by: Shannon Jacobs | last post by:
Trying to solve this with a regex approach rather than the programmatic approach of counting up and down the levels. I have a fairly complicated HTML page that I want to simplify. I've been able to...
23
by: Mikko Ohtamaa | last post by:
From XML specification: The representation of an empty element is either a start-tag immediately followed by an end-tag, or an empty-element tag. (This means that <foo></foo> is equal to...
7
by: mitch gart | last post by:
Is it possible to insert newlines, or some other character, into <title> or <alt> to get the effect of a tooltip, where the page author controls the line breaks? If yes, could somebody send an...
21
by: Amy | last post by:
Hello all, Well, I've decided to take the plunge and go for this no table theory... so far I'm not impressed - the whole thing is driving me mad!!!! I'm sure once I finally get it working...
6
by: glakk | last post by:
I got on the tableless layout bandwagon early on, and thought it was a really cool way to lay out a page. I don't know why I thought it was so cool, except I guess I fell for the "oh, cool" talk. ...
1
by: R Reyes | last post by:
Hello All, I'm always looking for ways to improve my code. Most of the time (whenever I'm working on a project) I write a bunch of functions. Then after the project is finished, I put all the...
6
by: ThunderMusic | last post by:
Hi, I think the subject says it all... thanks ThunderMusic
3
by: Paulo | last post by:
Hi everybody, I heard about TableLess layout, css, etc... What is it? Any advantages using it? Is it client feature? nothing to do with asp.net? Should it be used with asp.net? What do you...
4
by: parez | last post by:
can any one point me to a good link on tableless design + asp.net master pages TIA
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.