dbTalk Databases Forums  

HTMLDB report wrap text

comp.databases.oracle.tools comp.databases.oracle.tools


Discuss HTMLDB report wrap text in the comp.databases.oracle.tools forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Chris
 
Posts: n/a

Default HTMLDB report wrap text - 10-15-2008 , 06:56 AM






Hi Guys,

I am having major problems just trying to do a text wrap on a report
in HTMLDB. I have tried the following CSS


..td {
padding-top: 2px;
padding-bottom: 2px;
padding-left: 5px;
padding-right: 5px;
border-collapse: collapse;
[color=red]white-space: wrap;

}


where the white-space is wrap and it doesnt seem to do the job. I
have also tried changing the width of the field on the report but to
no avail. This should be a simple job but for some reason I just
can't get it to work.

Any advice would be great,
Chris

Reply With Quote
  #2  
Old   
Tim X
 
Posts: n/a

Default Re: HTMLDB report wrap text - 10-15-2008 , 11:22 PM






Chris <christophercash (AT) hotmail (DOT) com> writes:

Quote:
Hi Guys,

I am having major problems just trying to do a text wrap on a report
in HTMLDB. I have tried the following CSS


.td {
padding-top: 2px;
padding-bottom: 2px;
padding-left: 5px;
padding-right: 5px;
border-collapse: collapse;
[color=red]white-space: wrap;

}


where the white-space is wrap and it doesnt seem to do the job. I
have also tried changing the width of the field on the report but to
no avail. This should be a simple job but for some reason I just
can't get it to work.

This is really a CSS/HTML issue and nothing directly related to
htmldb. Have you looked at your output with different browsers? It could
be that its something specific to the browser or browser version your
using, the fonts it uses, the screen size/resolution etc.

try other browsers, check browser configuraition and check there are not
other CSS elements affecting the formatting.

As you want specific formatting for this column, I'd recommend defining
a specific TD class e.g. TD.data. This will help to ensure your
formatting for that column only affects columns definined to use that
class and will help ensure other TD css elements don't play havoc with
what your trying to do.

HTH

Tim

--
tcross (at) rapttech dot com dot au


Reply With Quote
  #3  
Old   
Tim X
 
Posts: n/a

Default Re: HTMLDB report wrap text - 10-15-2008 , 11:22 PM



Chris <christophercash (AT) hotmail (DOT) com> writes:

Quote:
Hi Guys,

I am having major problems just trying to do a text wrap on a report
in HTMLDB. I have tried the following CSS


.td {
padding-top: 2px;
padding-bottom: 2px;
padding-left: 5px;
padding-right: 5px;
border-collapse: collapse;
[color=red]white-space: wrap;

}


where the white-space is wrap and it doesnt seem to do the job. I
have also tried changing the width of the field on the report but to
no avail. This should be a simple job but for some reason I just
can't get it to work.

This is really a CSS/HTML issue and nothing directly related to
htmldb. Have you looked at your output with different browsers? It could
be that its something specific to the browser or browser version your
using, the fonts it uses, the screen size/resolution etc.

try other browsers, check browser configuraition and check there are not
other CSS elements affecting the formatting.

As you want specific formatting for this column, I'd recommend defining
a specific TD class e.g. TD.data. This will help to ensure your
formatting for that column only affects columns definined to use that
class and will help ensure other TD css elements don't play havoc with
what your trying to do.

HTH

Tim

--
tcross (at) rapttech dot com dot au


Reply With Quote
  #4  
Old   
Tim X
 
Posts: n/a

Default Re: HTMLDB report wrap text - 10-15-2008 , 11:22 PM



Chris <christophercash (AT) hotmail (DOT) com> writes:

Quote:
Hi Guys,

I am having major problems just trying to do a text wrap on a report
in HTMLDB. I have tried the following CSS


.td {
padding-top: 2px;
padding-bottom: 2px;
padding-left: 5px;
padding-right: 5px;
border-collapse: collapse;
[color=red]white-space: wrap;

}


where the white-space is wrap and it doesnt seem to do the job. I
have also tried changing the width of the field on the report but to
no avail. This should be a simple job but for some reason I just
can't get it to work.

This is really a CSS/HTML issue and nothing directly related to
htmldb. Have you looked at your output with different browsers? It could
be that its something specific to the browser or browser version your
using, the fonts it uses, the screen size/resolution etc.

try other browsers, check browser configuraition and check there are not
other CSS elements affecting the formatting.

As you want specific formatting for this column, I'd recommend defining
a specific TD class e.g. TD.data. This will help to ensure your
formatting for that column only affects columns definined to use that
class and will help ensure other TD css elements don't play havoc with
what your trying to do.

HTH

Tim

--
tcross (at) rapttech dot com dot au


Reply With Quote
  #5  
Old   
Tim X
 
Posts: n/a

Default Re: HTMLDB report wrap text - 10-15-2008 , 11:22 PM



Chris <christophercash (AT) hotmail (DOT) com> writes:

Quote:
Hi Guys,

I am having major problems just trying to do a text wrap on a report
in HTMLDB. I have tried the following CSS


.td {
padding-top: 2px;
padding-bottom: 2px;
padding-left: 5px;
padding-right: 5px;
border-collapse: collapse;
[color=red]white-space: wrap;

}


where the white-space is wrap and it doesnt seem to do the job. I
have also tried changing the width of the field on the report but to
no avail. This should be a simple job but for some reason I just
can't get it to work.

This is really a CSS/HTML issue and nothing directly related to
htmldb. Have you looked at your output with different browsers? It could
be that its something specific to the browser or browser version your
using, the fonts it uses, the screen size/resolution etc.

try other browsers, check browser configuraition and check there are not
other CSS elements affecting the formatting.

As you want specific formatting for this column, I'd recommend defining
a specific TD class e.g. TD.data. This will help to ensure your
formatting for that column only affects columns definined to use that
class and will help ensure other TD css elements don't play havoc with
what your trying to do.

HTH

Tim

--
tcross (at) rapttech dot com dot au


Reply With Quote
  #6  
Old   
Tim X
 
Posts: n/a

Default Re: HTMLDB report wrap text - 10-15-2008 , 11:22 PM



Chris <christophercash (AT) hotmail (DOT) com> writes:

Quote:
Hi Guys,

I am having major problems just trying to do a text wrap on a report
in HTMLDB. I have tried the following CSS


.td {
padding-top: 2px;
padding-bottom: 2px;
padding-left: 5px;
padding-right: 5px;
border-collapse: collapse;
[color=red]white-space: wrap;

}


where the white-space is wrap and it doesnt seem to do the job. I
have also tried changing the width of the field on the report but to
no avail. This should be a simple job but for some reason I just
can't get it to work.

This is really a CSS/HTML issue and nothing directly related to
htmldb. Have you looked at your output with different browsers? It could
be that its something specific to the browser or browser version your
using, the fonts it uses, the screen size/resolution etc.

try other browsers, check browser configuraition and check there are not
other CSS elements affecting the formatting.

As you want specific formatting for this column, I'd recommend defining
a specific TD class e.g. TD.data. This will help to ensure your
formatting for that column only affects columns definined to use that
class and will help ensure other TD css elements don't play havoc with
what your trying to do.

HTH

Tim

--
tcross (at) rapttech dot com dot au


Reply With Quote
  #7  
Old   
Tim X
 
Posts: n/a

Default Re: HTMLDB report wrap text - 10-15-2008 , 11:22 PM



Chris <christophercash (AT) hotmail (DOT) com> writes:

Quote:
Hi Guys,

I am having major problems just trying to do a text wrap on a report
in HTMLDB. I have tried the following CSS


.td {
padding-top: 2px;
padding-bottom: 2px;
padding-left: 5px;
padding-right: 5px;
border-collapse: collapse;
[color=red]white-space: wrap;

}


where the white-space is wrap and it doesnt seem to do the job. I
have also tried changing the width of the field on the report but to
no avail. This should be a simple job but for some reason I just
can't get it to work.

This is really a CSS/HTML issue and nothing directly related to
htmldb. Have you looked at your output with different browsers? It could
be that its something specific to the browser or browser version your
using, the fonts it uses, the screen size/resolution etc.

try other browsers, check browser configuraition and check there are not
other CSS elements affecting the formatting.

As you want specific formatting for this column, I'd recommend defining
a specific TD class e.g. TD.data. This will help to ensure your
formatting for that column only affects columns definined to use that
class and will help ensure other TD css elements don't play havoc with
what your trying to do.

HTH

Tim

--
tcross (at) rapttech dot com dot au


Reply With Quote
  #8  
Old   
Tim X
 
Posts: n/a

Default Re: HTMLDB report wrap text - 10-15-2008 , 11:22 PM



Chris <christophercash (AT) hotmail (DOT) com> writes:

Quote:
Hi Guys,

I am having major problems just trying to do a text wrap on a report
in HTMLDB. I have tried the following CSS


.td {
padding-top: 2px;
padding-bottom: 2px;
padding-left: 5px;
padding-right: 5px;
border-collapse: collapse;
[color=red]white-space: wrap;

}


where the white-space is wrap and it doesnt seem to do the job. I
have also tried changing the width of the field on the report but to
no avail. This should be a simple job but for some reason I just
can't get it to work.

This is really a CSS/HTML issue and nothing directly related to
htmldb. Have you looked at your output with different browsers? It could
be that its something specific to the browser or browser version your
using, the fonts it uses, the screen size/resolution etc.

try other browsers, check browser configuraition and check there are not
other CSS elements affecting the formatting.

As you want specific formatting for this column, I'd recommend defining
a specific TD class e.g. TD.data. This will help to ensure your
formatting for that column only affects columns definined to use that
class and will help ensure other TD css elements don't play havoc with
what your trying to do.

HTH

Tim

--
tcross (at) rapttech dot com dot au


Reply With Quote
  #9  
Old   
Álvaro G. Vicario
 
Posts: n/a

Default Re: HTMLDB report wrap text - 10-16-2008 , 03:03 AM



Chris escribió:
Quote:
I am having major problems just trying to do a text wrap on a report
in HTMLDB. I have tried the following CSS


.td {
Remember you need to assign class="td" to whatever element you want this
to apply. Unless you want to apply it to all <td> tags, in which case
you should remove the leading dot.

Quote:
padding-top: 2px;
padding-bottom: 2px;
padding-left: 5px;
padding-right: 5px;
border-collapse: collapse;
[color=red]white-space: wrap;
This is not valid CSS syntax, not to mention that "wrap" is not a valid
value for white-space.

http://jigsaw.w3.org/css-validator/
http://www.w3.org/TR/CSS2/text.html#white-space-prop


Quote:
where the white-space is wrap and it doesnt seem to do the job.
HTML is designed to wrap text automatically. If it doesn't, it's because
you've added code to avoid it: find it and remove it. Also, get some
HTML and CSS documentation: typing random stuff to see whether it works
won't take you too far ;-)



--
-- http://alvaro.es - Álvaro G. Vicario - Burgos, Spain
-- Mi sitio sobre programación web: http://bits.demogracia.com
-- Mi web de humor al baño María: http://www.demogracia.com
--


Reply With Quote
  #10  
Old   
Álvaro G. Vicario
 
Posts: n/a

Default Re: HTMLDB report wrap text - 10-16-2008 , 03:03 AM



Chris escribió:
Quote:
I am having major problems just trying to do a text wrap on a report
in HTMLDB. I have tried the following CSS


.td {
Remember you need to assign class="td" to whatever element you want this
to apply. Unless you want to apply it to all <td> tags, in which case
you should remove the leading dot.

Quote:
padding-top: 2px;
padding-bottom: 2px;
padding-left: 5px;
padding-right: 5px;
border-collapse: collapse;
[color=red]white-space: wrap;
This is not valid CSS syntax, not to mention that "wrap" is not a valid
value for white-space.

http://jigsaw.w3.org/css-validator/
http://www.w3.org/TR/CSS2/text.html#white-space-prop


Quote:
where the white-space is wrap and it doesnt seem to do the job.
HTML is designed to wrap text automatically. If it doesn't, it's because
you've added code to avoid it: find it and remove it. Also, get some
HTML and CSS documentation: typing random stuff to see whether it works
won't take you too far ;-)



--
-- http://alvaro.es - Álvaro G. Vicario - Burgos, Spain
-- Mi sitio sobre programación web: http://bits.demogracia.com
-- Mi web de humor al baño María: http://www.demogracia.com
--


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.