× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Browsers will use the font you tell it to if it's available. We have no
problem with fixed-width fonts on our pages.
http://www.w3.org/Style/Examples/007/fonts
http://deanographics.com/articles/common-cross-browser-fonts-and-cufon/


-----Original Message-----
From: web400-bounces@xxxxxxxxxxxx [mailto:web400-bounces@xxxxxxxxxxxx]
On Behalf Of Mike Cunningham
Sent: Friday, June 24, 2011 10:37 AM
To: web400@xxxxxxxxxxxx
Subject: Re: [WEB400] How do I preserve leading blanks in fields - Using
CGIDEV2.

Browsers will remove white space by default. For force multiple spaces
us &nbsp but be warned that browsers use proportional fonts and so 5
spaces will not be equal width with 5 characters.

http://www.sightspecific.com/~mosh/WWW_FAQ/nbsp.html

You would going to need to scan and replace all blanks in field_name
with &nbsp (yes, one blank character will need to become 5 characters in
the field_name)

-----Original Message-----
From: web400-bounces@xxxxxxxxxxxx [mailto:web400-bounces@xxxxxxxxxxxx]
On Behalf Of Darryl Freinkel
Sent: Friday, June 24, 2011 11:25 AM
To: web400@xxxxxxxxxxxx
Subject: [WEB400] How do I preserve leading blanks in fields - Using
CGIDEV2.

I am new to CGIDEV2 and have gotten a few programs up and running
quickly.
Kudo's to Giovanni and company.



However, I have a new problem. The 1 field has alpha numeric data that
is right justified example __name. When the HTML gets the value, it
strips all the leading blanks displaying name__.



How do I preserver the leading blanks?



I tried %20/%field_name%/ and /%%20field_name%/ which produced the wrong
results.



TIA



Darryl Freinkel

Assignment 400 Group, Inc.

Tel: 770.321.8562 ext 111 | Fax 770.321.8562 | 2247 La Salle Dr,
Marietta GA, 30062, USA | PO Box 72556, Marietta, GA 30007-2556



--
This is the Web Enabling the AS400 / iSeries (WEB400) mailing list To
post a message email: WEB400@xxxxxxxxxxxx To subscribe, unsubscribe, or
change list options,
visit: http://lists.midrange.com/mailman/listinfo/web400
or email: WEB400-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives at
http://archive.midrange.com/web400.


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.