[FX.php List] PHP echo breaks CSS

Jonathan Schwartz jschwartz at exit445.com
Wed Apr 16 14:51:58 MDT 2008


Understood. The symptom that I am describing is that the appearance 
of PHP echo outside of the html tags will corrupt display of text 
inside the html tag, even though css should take over at that point.

I will have an example shortly.

J


At 10:39 PM +0200 4/16/08, Gjermund Gusland Thorsen wrote:
>The stylesheet, should be valid inside the entity of body, not outside.
>
>2008/4/16, Jonathan Schwartz <jschwartz at exit445.com>:
>>  I'm sure that it is CSS. I'm just curious why it corrupts font sizes after
>>  the regular page begins.
>>
>>   Will look for reproduceable example.
>>
>>   J
>>
>>
>>
>>   At 8:15 PM +0200 4/16/08, Gjermund Gusland Thorsen wrote:
>>
>>  > That's probably it
>>  >
>>  > 2008/4/16, Dale Bengston <dbengston at tds.net>:
>>  >
>>  > >  I think it has to do with PHP writing to the page above the <body> tag,
>>  > >  possibly above the style sheet declaration. I've seen this on Firefox,
>>  but
>>  > >  not other browsers.
>>  > >
>>  > >  Dale
>>  > >
>>  > >
>>  > >  On Apr 16, 2008, at 12:28 PM, Gjermund Gusland Thorsen wrote:
>>  > >
>>  > >
>>  > >  > Little said so far, but already sounds like a CSS issue to me.
>>  > >  >
>>  > >  > G
>>  > >  >
>>  > >  > 2008/4/16, Jonathan Schwartz <jschwartz at exit445.com>:
>>  > >  >
>>  > >  > > Gonna have to find one.  I just tried to create the problem, and
>>  > >  couldn't.
>>  > >  > > Stay tuned.
>>  > >  > >
>>  > >  > > J
>>  > >  > >
>>  > >  > >
>>  > >  > > At 6:13 PM +0200 4/16/08, Leo R. Lundgren wrote:
>>  > >  > >
>>  > >  > >
>>  > >  > > > Can you give an example page/site? :O
>>  > >  > > >
>>  > >  > > > 16 apr 2008 kl. 18.06 skrev Jonathan Schwartz:
>>  > >  > > >
>>  > >  > > >
>>  > >  > > > > Hi Folks,
>>  > >  > > > >
>>  > >  > > > > I've noticed that having PHP echo something at the top of a
>>  page
>>  > >  (before
>>  > >  > > > >
>>  > >  > > >
>>  > >  > > html tag) will often mess up text size on the remainder of the
>>  page.
>>  > >  > >
>>  > >  > > >
>>  > >  > > > >
>>  > >  > > > > I'd like to understand what is happening.
>>  > >  > > > >
>>  > >  > > > > Thanks
>>  > >  > > > >
>>  > >  > > > > Jonathan
>>  > >  > > > > --
>>  > >  > > > > Jonathan Schwartz
>>  > >  > > > > Exit 445 Group
>>  > >  > > > > jonathan at exit445.com
>>  > >  > > > > http://www.exit445.com
>>  > >  > > > > 415-381-1852
>>  > >  > > > >
>>  _______________________________________________
>>  > >  > > > > FX.php_List mailing list
>>  > >  > > > > FX.php_List at mail.iviking.org
>>  > >  > > > >
>>  http://www.iviking.org/mailman/listinfo/fx.php_list
>>  > >  > > > >
>>  > >  > > > >
>>  > >  > > >
>>  > >  > > >
>>  > >  > > > -|
>>  > >  > > >
>>  > >  > > > _______________________________________________
>>  > >  > > > FX.php_List mailing list
>>  > >  > > > FX.php_List at mail.iviking.org
>>  > >  > > >
>>  http://www.iviking.org/mailman/listinfo/fx.php_list
>>  > >  > > >
>>  > >  > > >
>>  > >  > >
>>  > >  > >
>>  > >  > > --
>>  > >  > > Jonathan Schwartz
>>  > >  > > Exit 445 Group
>>  > >  > > jonathan at exit445.com
>>  > >  > > http://www.exit445.com
>>  > >  > > 415-381-1852
>>  > >  > > _______________________________________________
>>  > >  > > FX.php_List mailing list
>>  > >  > > FX.php_List at mail.iviking.org
>>  > >  > >
>>  http://www.iviking.org/mailman/listinfo/fx.php_list
>>  > >  > >
>>  > >  > >
>>  > >  > _______________________________________________
>>  > >  > FX.php_List mailing list
>>  > >  > FX.php_List at mail.iviking.org
>>  > >  > http://www.iviking.org/mailman/listinfo/fx.php_list
>>  > >  >
>>  > >
>>  > >  _______________________________________________
>>  > >  FX.php_List mailing list
>>  > >  FX.php_List at mail.iviking.org
>>  > >  http://www.iviking.org/mailman/listinfo/fx.php_list
>>  > >
>>  > >
>>  > _______________________________________________
>>  > FX.php_List mailing list
>>  > FX.php_List at mail.iviking.org
>>  > http://www.iviking.org/mailman/listinfo/fx.php_list
>>  >
>>
>>
>>   --
>>   Jonathan Schwartz
>>   Exit 445 Group
>>   jonathan at exit445.com
>>   http://www.exit445.com
>>   415-381-1852
>>   _______________________________________________
>>   FX.php_List mailing list
>>   FX.php_List at mail.iviking.org
>  >  http://www.iviking.org/mailman/listinfo/fx.php_list
>>
>_______________________________________________
>FX.php_List mailing list
>FX.php_List at mail.iviking.org
>http://www.iviking.org/mailman/listinfo/fx.php_list


-- 
Jonathan Schwartz
Exit 445 Group
jonathan at exit445.com
http://www.exit445.com
415-381-1852


More information about the FX.php_List mailing list