Space Pirate
Join Date: May 2004
Location: Atlanta
|
I've noticed when viewing the source code of websites that I've created using PHP that the tags don't lay out nice and pretty as I'd expect... they run together in one big clump. I'm looking at the source code of other, more accomplished web designers and note that their HTML lays out very nicely. What am I missing...linefeeds? I'm asking instead of experimenting because I'm curious as to what standard practice is. I can provide links to a site that I've made if necessary (I expect that it isn't).
|
quote |
‽
|
Sounds like what you want to do is add a few "\n"s for linebreaks, "\n\n"s for carriage returns and "\t"s for tabs.
![]() |
quote |
Space Pirate
Join Date: May 2004
Location: Atlanta
|
crap. of course I do. GAH, I'm so STO0pId. ::hitting head with fists, Chris Farley style::
|
quote |
‽
|
You're welcome.
![]() |
quote |
25 chars of wasted space.
|
Quote:
\n for a linebreak or linefeed \r for a carriage return ![]() |
|
quote |
‽
|
Quote:
![]() |
|
quote |
Posting Rules | Navigation |
|
Thread Tools | |
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
HTML question... | Wickers | Programmer's Nook | 16 | 2019-07-29 22:46 |
Spider Solitaire License | pmazer | Programmer's Nook | 22 | 2005-12-16 22:23 |
C++ and the evils of "goto". Your views? | scratt | Programmer's Nook | 34 | 2005-12-14 01:47 |
HTML help | cyrusmekon | Programmer's Nook | 22 | 2005-10-18 06:05 |
10.3.6 Available in Software Update | Moogs | Apple Products | 86 | 2004-11-20 15:12 |