Re: [Flashcoders] weird whitespace issue

2009-07-06 Thread Cedric Muller

hello tom,

you mean the whitespace from the start of the paragraph ? isn't it  
some paragraph start margin ?


cheers
cedric


hey all,
just in the final stages of finishing a project and have come across
something i've not seen b4, which is a problem ;)

basically have a look here... www.sciop.it/news/articoli/108/

before the N there is some whitespace. using firebug i see that  
before the N
there is nothing whatsoever coming from the db via php, i have also  
tried
using a while loop to strip out leading spaces from the htmlText  
property of
the textfield in question. i think it has something to do with  
using an

img tag to get the text to flow around different sized images.

it doesn't happen all the time however, diffferent articles  
sometimes don't
have the problem, sometimes it's worse (www.sciop.it/news/articoli/ 
106/).


anyone know what's going on here?

thanks,

tom.
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] weird whitespace issue

2009-07-06 Thread tom rhodes
hey cedric,
nope! it changes, plus i don't see it ever locally! weirdest thing ever...


2009/7/6 Cedric Muller flashco...@benga.li

 hello tom,

 you mean the whitespace from the start of the paragraph ? isn't it some
 paragraph start margin ?

 cheers
 cedric

  hey all,
 just in the final stages of finishing a project and have come across
 something i've not seen b4, which is a problem ;)

 basically have a look here... www.sciop.it/news/articoli/108/

 before the N there is some whitespace. using firebug i see that before the
 N
 there is nothing whatsoever coming from the db via php, i have also tried
 using a while loop to strip out leading spaces from the htmlText property
 of
 the textfield in question. i think it has something to do with using an
 img tag to get the text to flow around different sized images.

 it doesn't happen all the time however, diffferent articles sometimes
 don't
 have the problem, sometimes it's worse (www.sciop.it/news/articoli/106/).

 anyone know what's going on here?

 thanks,

 tom.
 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] weird whitespace issue

2009-07-06 Thread Jason Lutes
There are a couple of things that might cause PHP to send extra 
characters with your text. Try clearing the Output Buffer before 
generating any HTTP headers and sending text via PHP. That has worked 
for me in the past.


http://us3.php.net/manual/en/function.ob-clean.php
http://us3.php.net/manual/en/function.ob-end-clean.php


-
Jason

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders