This forum is devoted to the discussion about the software DaDaBIK database front-end
the PHP Database application generator for MySQL, PostgreSQL and SQLite; also available for Wordpress.

Welcome! Log In Create A New Profile


Browser display strips spacing

Posted by scanreg 
Browser display strips spacing
November 21, 2004 04:56AM

if db cell value contains front whitespace, dadabik strips this for the browser display:


but, it does preserve those spaces in the csv

browser should display data as-is, not mess with it

new to dadabik - looks cool - hoping to combine tables

thx smiling smiley
Debbie S
Re: Browser display strips spacing
November 21, 2004 08:39AM

Browsers do not display spaces as is -- never have. Browsers render multiple spaces as one space UNLESS the &nbsp; (non-breaking space) character is used or the <pre></pre> tags are used in the HTML code. This has absolutely nothing to do with DaDaBIK and everything to do with how browsers render HTML and the HTML programming language standards themselves.

If you want leading spaces, I suggest you use the rich_editor field and incorporate the &nbsp; character where you need them.

(Latest version of DaDaBIK when this message was posted: 3.1 Beta)
Re: Browser display strips spacing
November 21, 2004 08:59AM
thanks, debbie. good idea. i like the <pre></pre> approach smiling smiley
Sorry, only registered users may post in this forum.

Click here to login