Re: Advice/opinion requested on page section lineup
| From: | Jochem Maas | Date: | Sun, 13 Feb 2005 00:40:23 +0000 |
| Subject: | Re: Advice/opinion requested on page section lineup | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-208591@lists.php.net to get a copy of this message | ||
Alp wrote:
...
I would like to be able to alter the lining-up of several sections on a php generated webpage. What would be the best/optimal approach in achieving that? As an example "sections" referred to are mostly tables generated via code on data obtained from a DB. Should I name them (somehow), shall I use a seperate table to store the lining-up information or shall I add a "precedence" integer column to each relevant table in the database, ...?sorry, driveby answer. you want to make your output (source) HTML look pretty? 2 options spring to mind: 1. the Tidy extension (there are probably other similar tools) 2. don't bother - as long as its syntax is correct indentation is irrelevant really. or do you mean something else by 'line-up'?
Thanks in advance for your guidance. Alp