HighDots Forums  

Entering . to format

HTML Writing HTML for the Web (comp.infosystems.www.authoring.html)


Discuss Entering . to format in the HTML forum.



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

Default Entering . to format - 01-05-2008 , 05:19 PM






I have a 2 line display in a report and find if I don't put something
like a white dot (.) when data doesn't appear that the display doesn't
appear correctly. This works fine when viewing on the website but
when the user prints it prints out the . Is there something else I
can use instead of the . so it doesn't appear when printed out and
maintains the same effect on the website.

Thanks,
Chris

Reply With Quote
  #2  
Old   
Jonathan N. Little
 
Posts: n/a

Default Re: Entering . to format - 01-05-2008 , 05:24 PM






Chris wrote:
Quote:
I have a 2 line display in a report and find if I don't put something
like a white dot (.) when data doesn't appear that the display doesn't
appear correctly. This works fine when viewing on the website but
when the user prints it prints out the . Is there something else I
can use instead of the . so it doesn't appear when printed out and
maintains the same effect on the website.
<broken record>URL?</broken record>

Have no idea what you mean from your description...

--
Take care,

Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com


Reply With Quote
  #3  
Old   
Scott Bryce
 
Posts: n/a

Default Re: Entering . to format - 01-05-2008 , 06:05 PM



Chris wrote:
Quote:
I have a 2 line display in a report and find if I don't put something
like a white dot (.) when data doesn't appear that the display doesn't
appear correctly. This works fine when viewing on the website but
when the user prints it prints out the . Is there something else I
can use instead of the . so it doesn't appear when printed out and
maintains the same effect on the website.
I'm not entirely clear what you want, but I would guess that replacing
the . with &nbsp; would accomplish this.


Reply With Quote
  #4  
Old   
Jukka K. Korpela
 
Posts: n/a

Default Re: Entering . to format - 01-06-2008 , 05:49 AM



Scripsit Scott Bryce:

Quote:
Chris wrote:
I have a 2 line display in a report and find if I don't put something
like a white dot (.) when data doesn't appear that the display
doesn't appear correctly. This works fine when viewing on the
website but when the user prints it prints out the . Is there
something else I can use instead of the . so it doesn't appear when
printed out and maintains the same effect on the website.

I'm not entirely clear what you want, but I would guess that replacing
the . with &nbsp; would accomplish this.
Oh guessing day, oh guessing day... but it seems we guessed the same.
The OP probably has a _table_ with an empty cell, and he's using the "."
character, with color set to white (the same as the declared or
wildly-guessed background color) to make the dot invisible. This is one
tricky way of making the cell non-empty from a browser's point of view,
but it fails in normal (black & white) printing, where text in any color
but black appears in grey.

Using the no-break space as non-empty content is indeed one of the
common ways to avoid the problems of empty cells. As a potential
technical drawback, it imposes minimum width and height requirements for
the cell, thought these matter relatively rarely.

However, especially in a report, it could be essential to indicate _why_
the cell lacks real data. Is the data unavailable? Too small to be
indicated? Too unreliable? Logically impossible? Secret? There are
conventions on such matters, and applying an applicable convention, with
applicable explanations when applicable, might be more applicable than
any tricks.

A URL would really have helped. But here's a URL for a page containing a
general explanation of the (assumed) issue:
http://www.cs.tut.fi/~jkorpela/html/emptycells.html

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



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.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.