extra whitespace in select objects

From: F (f_at_f.com)
Date: 12/24/04


Date: Fri, 24 Dec 2004 02:56:08 +0100

Hey there,

Here's a short one:

How do I leave the extra whitespace inside a select object after I retrieve
it from the database?

I tried using the <pre> tag while generating the list, but that doesn't seem
to work...

Here's the bit that's giving me trouble.

<option><pre>'Z' PROMET ST.</pre></option>

I extracted it from the generated HTML, so, basically, it's an HTML
question. I tried putting the <pre> tag on the outer side of the <option>
tags, but that didn't work either.

Notice the double whitespace between 'Z' and PROMET.

Thanx a bundle,

F.



Relevant Pages

  • Re: PROBLEM SOLVED - State of WORKING-STORAGE in Statically-Called Subroutines
    ... I went through the entire database, making static HTML pages that used ... Straight HTML - no CSS. ... This tag tells the ... I then format these using XSLT. ...
    (comp.lang.cobol)
  • Re: Writing data to HTML file BEFORE the tag.
    ... *Replaced the PHP short open tag w/ the longer one. ... to append the user comments to the end of the referring HTML document. ... Let's say that I want to put the comments in a database, ...
    (comp.lang.php)
  • Re: php/mysql grid app?
    ... table in HTML, the first column and row are labels, and the rest are ... The HTML file would also have some PHP above the tag which ... more sense to have a flat file, instead of a database. ...
    (alt.php)
  • Re: Newbie problem! Using <%=%> to output HTML in JSP
    ... I should probably know this but I have some HTML in a variable (loaded ... from a database), and want to output it to a JSP file (you know what I ... quite know specific keywords that aren't too general. ... You can use escapeXml=false in the c:out tag that Lew pointed out, ...
    (comp.lang.java.programmer)
  • Re: ruby html (or xhtml) forms class...
    ... xx is a library designed to extend ruby objects with html, xhtml, and xml ... xml or xhtml as clean looking and natural as ruby it self. ... attributes may be passed to any tag method as either symbol or string. ...
    (comp.lang.ruby)