|
Posted by Jerry Stuckle on 05/30/07 22:09
Tim Roberts wrote:
> Michael <MichaelDMcDonnell@yahoo.com> wrote:
>> I'm new to PHP.
>>
>> I see that PHP supports the C printf function, and I've seen examples
>> like printf("Hello world!\n"); however the newline character \n
>> doesn't work - i.e., it does not generate an HTML <br>, which I would
>> have expected - what it does is generate a newline in the html
>> generated text, but since the browser ignores blank lines, this
>> feature appears useless for most applications.
>
> What about <pre> or <textarea> regions? What if I care about the way my
> generated HTML looks, and I want things to line up neatly?
The first rule of HTML is - make your layout fluid! Allow it to adjust
to the size of the user's browser window.
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================
Navigation:
[Reply to this message]
|