473,626 Members | 3,413 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Does caps in table cause none wrapping

Hi,

I have a solution that - at time of writing - has to use tables to
render a list of database-results. 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.

I am looking at the code and trying to change width using css, but
without much luck. 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.

Please do not suggest using divs and css at this moment. I know how to
do that, just that at this moment I have to work with the code that is
presented to me and I don't have the time to fix not using tables.

All I want to know at this moment is if caps is causing problems when
rendering the tables nested of course...

best
Trond
Jun 27 '08 #1
9 1570
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/

Jun 27 '08 #2
On 2 Mai, 10:02, "Jukka K. Korpela" <jkorp...@cs.tu t.fiwrote:
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-
Jun 27 '08 #3
trondhuso wrote:
On 2 Mai, 10:02, "Jukka K. Korpela" wrote:
>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.
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 would have been nice had you also learned to trim posts when you reply
to them.
>
I'll contact you off list to show you the problem.
Why don't you contact him on-list to show us all the problem?
--
John
Pondering the value of the UIP: http://improve-usenet.org/
Jun 27 '08 #4
On 2 Mai, 12:20, John Hosking <J...@DELETE.Ho sking.name.INVA LID>
wrote:
trondhuso wrote:
On 2 Mai, 10:02, "Jukka K. Korpela" wrote:

I'll contact you off list to show you the problem.

Why don't you contact him on-list to show us all the problem?

--
John
Pondering the value of the UIP:http://improve-usenet.org/
Dear John,

Below you can find the link to the problematic site:
http://www.ntb.no/pressemeldinger/

The "problem" (challenge) is to remove the scrollbars that comes up
because we are using iframe...

best

Trond
Jun 27 '08 #5
trondhuso wrote:
On 2 Mai, 12:20, John Hosking wrote:
>trondhuso wrote:
>>On 2 Mai, 10:02, "Jukka K. Korpela" wrote:
>>I'll contact you off list to show you the problem.
Why don't you contact him on-list to show us all the problem?

--
John
Pondering the value of the UIP: http://improve-usenet.org/
Better, mostly. ;-)
*Next time* you trim the post to which you reply, make sure to trim the
sig, too. Extraneous attributions can go, as well (you snipped your OP
and Jukka's answer, but left the attributions, as I have also done this
time).
>
Below you can find the link to the problematic site:
http://www.ntb.no/pressemeldinger/

The "problem" (challenge) is to remove the scrollbars that comes up
because we are using iframe...

Well, somewhere in that mess you almost certainly have a width (likely
more than once) set in pixels, where your texts are longer across than
that size in pixels. Depends on the font-face and -size, I notice. I
suspect the <table width="150" code, but I'm not at all sure. Maybe
if, instead of 150px, you used something like 16em, you'd solve the problem.

I can't use my inspection and code-editing tools on framed sites, so I
don't think I can be of more help.

BTW, that's pretty small text (especially the blue links on the
light-blue background), and, since the page has such a long delay, I'm
thinking that maybe a good approach would be to remove one or two of
these framed columns. Then you'd have more room for legibly-sized text,
no scrollbars, and the page would presumably load faster. Through my
language deficiencies I can't tell whether the content lends itself to a
breakup like that, but it's my best (tentative) recommendation (given
the other constraints you mentioned).

--
John
Read about the UIP: http://improve-usenet.org/
Jun 27 '08 #6
>
>
Below you can find the link to the problematic site:
http://www.ntb.no/pressemeldinger/
The "problem" (challenge) is to remove the scrollbars that comes up
because we are using iframe...

Well, somewhere in that mess you almost certainly have a width (likely
more than once) set in pixels, where your texts are longer across than
that size in pixels. Depends on the font-face and -size, I notice. I
suspect the <table width="150" code, but I'm not at all sure. Maybe
if, instead of 150px, you used something like 16em, you'd solve the problem.
I'll look into this.
>
I can't use my inspection and code-editing tools on framed sites.
http://www.ntb.no/articles.aspx?Section=BWI would give you the output
of the file in the middle iframe.
>
BTW, that's pretty small text (especially the blue links on the
light-blue background), and, since the page has such a long delay, I'm
thinking that maybe a good approach would be to remove one or two of
these framed columns. Then you'd have more room for legibly-sized text,
no scrollbars, and the page would presumably load faster. Through my
language deficiencies I can't tell whether the content lends itself to a
breakup like that, but it's my best (tentative) recommendation (given
the other constraints you mentioned).
I totally agree with you on the suggestion of removing one or two of
these iframes, or lets say creating a two by two "grid". Unfortunately
those above me wants the lists of press releases shown on pages that
are not bigger than 640x800 (although the standard now is 800x1024 or
something). So I am sort of ordered to keep in side the size of page
that I have right now. I can of course make the i frames lower and
then creating a "grid" that way.

Hope I trimmed the reply better this time.

-t-
Jun 27 '08 #7
Scripsit trondhuso:
I totally agree with you on the suggestion of removing one or two of
these iframes, or lets say creating a two by two "grid". Unfortunately
those above me wants the lists of press releases shown on pages that
are not bigger than 640x800 (although the standard now is 800x1024 or
something).
Sorry, but this sounds like your bosses _and_ you are too clueless in
basics of web publishing. It's pointless to try to "fix" design that is
inherently broken. Does anyone care to _read_ such foolishly small text
is pointlessly narrow columns that the design has led to? Have you, or
have your bosses ever tried to _use_ the information that the site
offers?
So I am sort of ordered to keep in side the size of page
that I have right now.
Sigh. The size is not the issue. The issue is completely broken design.
Don't waste any time in fine-tuning something like that.

Was wrapping the issue? Forget it. You didn't specify any example of the
phenomenon you thought to have seen ("caps in table cause none
wrapping"), but that doesn't matter. The text _cannot_ wrap decently
anyway when squeezed into such narrow columns (oddly wasting space for
something, so that the iframes are much wider than the text columns).
And it wouldn't matter anyway, since who would really _read_ such poorly
presented data, anyway?
Hope I trimmed the reply better this time.
You still have a long way to go in posting to Usenet, too.

--
Jukka K. Korpela ("Yucca")
http://www.cs.tut.fi/~jkorpela/

Jun 27 '08 #8
On 05/02/08 03:49 am, trondhuso wrote:
>
Below you can find the link to the problematic site:
http://www.ntb.no/pressemeldinger/

The "problem" (challenge) is to remove the scrollbars that comes up
because we are using iframe...
You get the scroll bars (I assume you are incensed about the horizontal
ones) because some of the text is too wide to fit in the window. Long
strings without spaces + narrow windows = scroll bars.

--
jmm (hyphen) list (at) sohnen-moe (dot) com
(Remove .AXSPAMGN for email)
Jun 27 '08 #9
trondhuso wrote:
http://www.ntb.no/articles.aspx?Section=BWI would give you the output
of the file in the middle iframe.
Yes, I eventually worked that out. Three-deep nested frames must be a
pain to have to maintain, though.
>
>BTW, that's pretty small text (especially the blue links on the
light-blue background), and, since the page has such a long delay, I'm
thinking that maybe a good approach would be to remove one or two of
these framed columns. Then you'd have more room for legibly-sized text,
no scrollbars, and the page would presumably load faster. [...]
I totally agree with you on the suggestion of removing one or two of
these iframes, or lets say creating a two by two "grid". Unfortunately
those above me wants the lists of press releases shown on pages that
are not bigger than 640x800 (although the standard now is 800x1024 or
something). So I am sort of ordered to keep in side the size of page
that I have right now. I can of course make the i frames lower and
then creating a "grid" that way.
The question which is still open for me is whether *three* columns of
these things are necessary ("mandatory" ) on one page.

I gather these are press releases from three different divisions or
corporations or news agencies. Would not a separate page for all the
current press releases for BWI be appropriate, with a separate page for
all those from NTBPRM, and another for all those from OBI? Each page
could have the banner up top and menu on the left, and the content would
be a table or <ulof all the current announcements (actually links to
said announcements, which I see just now are sized at an illegible 10px
:-( ).

If you want a dynamic, constantly-refreshing (I mean -updating) page of
the latest exciting news flashes, make the current page you have like
that, but with only the one or two most recent announcements for the
three agencies, and links to the whole lists for the three.

Having these three columns all on one page, positioned above one another
in the y-direction, *even if they are two or three times wider* would
not IMO be an improvement, or even usable.
>
Hope I trimmed the reply better this time.
Getting closer. I meant you should trim sigs and other text in the post
you're quoting in your reply. Without distorting the meaning of previous
statements, reduce the quoted text to the minimum amount necessary to
provide context for your responses.

When removing past contributions, remove also the attribution lines for
those contributions, but leave attributions for quoted text. In your
previous mail, you left an attribution
'On 2 Mai, 10:02, "Jukka K. Korpela" wrote:'
but took out everything Jukka wrote. See the confusion that causes?

This time, you left the words but trimmed out the attributions. So who
said what?

See, e.g., the text (and the whole rest of the page) at
http://oakroadsystems.com/genl/unice.htm#quote
--
John
Going back to read about the UIP: http://improve-usenet.org/
Jun 27 '08 #10

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

Similar topics

3
29673
by: Jukka K. Korpela | last post by:
I have noticed that the meaning of visibility: collapse has been discussed on different forums, but with no consensus on what it really means. Besides, implementations differ. The specification says: "The 'visibility' property takes the value 'collapse' for row, row group, column, and column group elements. This value causes the entire row or column to be removed from the display, and the space normally taken up by the row or column to...
9
17961
by: leegold | last post by:
Why does float:right cause a line break? Try the code below. Is there a fix? I want the link on the same line as the text. Thanks <html> <head> <STYLE> span.linkpos { float:right; clear: none; color:blue; } </style> </head>
10
4643
by: oLE | last post by:
I would like to add some javascript to show/hide a certain row of a table. The first row of the table contain the hyperlink that calls the javascript the second row is the one i want to show/hide with the javascript in a toggle fashion. the problem is a know very little javascript and have become incredibly frustrated because i went ahead thinking it was going to be like C. its not. I know i can use these lines to do the actual work:
9
2479
by: Mike | last post by:
adLongVarChar to 'text' - Mapping ADO types to Native Access types? Okay, so it's not the job of Access to map these types, but has anybody, in the existance of this world ever figured out how to do so? Does anyone have code that they can share that can correctly map ADO/ADOX types to the native Access Types, correctly distinguishing between say 'text' and 'memo'? Even if the routine needs more meta data from say ADOX such as length,...
2
11692
by: jeet_sen | last post by:
Hi, I have created a table colelcting data from an XML source. After I built the whole table I ahve given user options to filter out columns from the table. For this I have collected all the column values of the table in a select list box. Depending on what user selects from the selct list I am displaying the corresponding columns and hiding the columns which the user has not selected fromt the list.
2
2132
by: philin007 | last post by:
Hi Guys, Could any one help me out with codes to add rows to a table. Well I kinda of got the codes from the following site (http://www.interviewboard.com/DHTMLSamples/DHTMLGridSample.htm) the problem is this example only shows input box. Now i have a list that means a 'select box' for which the value is retrieved from Database and populated into the select list box. Now according to the example if all residing in the javascript how am i...
7
13136
by: lister | last post by:
Is this possible? I want fixed height table rows, but long text is wrapping around and causing the cell, and thus the entire row, to increase in height. I want any long text to simply truncate. Many thanks, Lister
1
2131
by: lisa232 | last post by:
Hi All, I have a problem with some javascript code. I am trying to toggle display between two tables upon change of a select box ( to alternate between search forms) eg. one called searchTableUS (displayed when USA is selected) and searchTableCA when (displayed when canada is selected) <table id="searchTableUS"> <tr>
4
6009
by: zacks | last post by:
I'm not sure when it came into being, since this it the first time I have worked very much with a password control in .NET, but if a textbox that has a non-empty value for PasswordChar or the UseSystemPasswordChar property is true, and the textbox has focus, if the Caps Lock key is pressed, a warning balloon tooltip is automatically displayed by the system. I cannot even find documentation that describes this behaviour. My question is,...
0
8272
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8205
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8644
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8370
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
7206
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6126
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5579
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4208
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
1516
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.