Generated template - extra td's inserted
Posted: Sat 8. Nov 2003, 18:26
I used the full-layout.html to generate a template. When I look at the generated page in the browser (without content to make it easier), I see a layout that does not quite match the original html file:
- The header and footer do not span the last column
- There is an extra column inserted in the before the main section
- There are narrow 1px white rows beween the spacers and header/footer
I compared the original html file withe data I inserted in the admin template very carefully: they are identical.
Next, I examined the source of the generated page in the browser: I noticed that there are indeed extra td's and even an extra html header. If I delete them, I get the page exactly as expected, but only if in the page layout I have the total width 500, left 100, main 280 and right empty. If I add a value of 100 for the right colum to get the total of 500 (100+10+280+10+100), I get yet an extra column inserted and the page layout breaks again.
Is this a bug, or am I missing something?
I can not find the generated file in the filesystem to fix it, and the phwcms source code is too complex for me to figure out where the foreign code that breaks the layout comes from.
I can send you the exact copy of the files and jpg of pages if it helps to figure out what the problem is.
M.
- The header and footer do not span the last column
- There is an extra column inserted in the before the main section
- There are narrow 1px white rows beween the spacers and header/footer
I compared the original html file withe data I inserted in the admin template very carefully: they are identical.
Next, I examined the source of the generated page in the browser: I noticed that there are indeed extra td's and even an extra html header. If I delete them, I get the page exactly as expected, but only if in the page layout I have the total width 500, left 100, main 280 and right empty. If I add a value of 100 for the right colum to get the total of 500 (100+10+280+10+100), I get yet an extra column inserted and the page layout breaks again.
Is this a bug, or am I missing something?
I can not find the generated file in the filesystem to fix it, and the phwcms source code is too complex for me to figure out where the foreign code that breaks the layout comes from.
I can send you the exact copy of the files and jpg of pages if it helps to figure out what the problem is.
M.