|
Posted by trondhuso on May 2, 2008, 6:04 am
Please log in for more thread options > Scripsit trondhuso:
>
> > I have a solution that - at time of writing - has to use tables to
> > render a list of database-results.
>
> A table is usually the _adequate_ way to present database results,
> especially if the results consist of set of records, each divided into
> items (fields) in the same way. It would be most natural to present this
> as an HTML table structure, with columns corresponding to the items.
>
> So I don't quite understand the "has to" part.
>
> > My challenge though is that we have
> > used iframes and such to render the different lists on this page, and
> > now - for some reason - the table has become to wide.
>
> Using iframes is questionable, though not always very wrong. If you had
> posted a URL, we might be able to tell whether iframes are an essential
> part of your problem.
>
> > I am looking at the code and trying to change width using css, but
> > without much luck.
>
> The mistake is in column 42, but don't quite see which line.
>
> (Hint to irony-challenged: if you fail to post a URL, don't expect
> useful advice.)
>
> > I see that in some of the data there are Caps-only
> > text, and I am now wondering if this caps-only could be the reason for
> > why the text isn't wrapping when I'm schrinking the table width.
>
> It isn't. But caps-only is generally bad for other reasons. It's less
> legible, and it MAKES YOU LOOK CHILDISH OR WORSE, LIKE A LAWYER WHO
> CANNOT STOP SHOUTING AND REGARDS THAT AS PROFESSIONAL AND LEGALLY
> BINDING.
>
> > Please do not suggest using divs and css at this moment.
>
> Why would we? You seem to have the weird idea that tables are bad.
>
> > I know how to do that,
>
> I very much doubt that.
>
> > All I want to know at this moment is if caps is causing problems when
> > rendering the tables nested of course...
>
> Then you cannot be helped. If you don't want to know the solution to
> your real problem, it would be pointless to offer some solutions to some
> non-problems that you don't actually describe.
>
> Tables nested? Well there you surely have a problem.
>
> --
> Jukka K. Korpela ("Yucca")http://www.cs.tut.fi/~jkorpela/
Hi Jukka,
No I don't see Tables as a bad thing, it's just that I've learned over
the past that sometimes those who answers don't quite get why you
can't use what is appropriate and the correct way of doing things.
I'll contact you off list to show you the problem.
-trond-
|