Hi,
Currently I use dreamweaver templates to cater for contant aspects of the site such as headers and footers and also left-aligned vertical menus.
I've tried using includes but it proves a bit tricky when it comes to vertical menus.
I was just wondering if there was a better way of laying out a site.
I would appreciate any insight.
Thanks
How to design a good site layout
Moderator: General Moderators
- aceconcepts
- DevNet Resident
- Posts: 1424
- Joined: Mon Feb 06, 2006 11:26 am
- Location: London
- Christopher
- Site Administrator
- Posts: 13596
- Joined: Wed Aug 25, 2004 7:54 pm
- Location: New York, NY, US
Re: How to design a good site layout
Why have you found this tricky?aceconcepts wrote:I've tried using includes but it proves a bit tricky when it comes to vertical menus.
(#10850)
- aceconcepts
- DevNet Resident
- Posts: 1424
- Joined: Mon Feb 06, 2006 11:26 am
- Location: London
When I say i've tried using includes, I mean includes without a template structure.
Trying to use an include in order to display a vertical menu (ideally on the left) does not display inline with the content region (using tables to display the data).
e.g.
The only way I can display includes correctly is by placing an include in <td></td> of a template.
I was just wondering if there was another way of doing this without a table template.
Thanks, hope you get my point.
Trying to use an include in order to display a vertical menu (ideally on the left) does not display inline with the content region (using tables to display the data).
e.g.
The only way I can display includes correctly is by placing an include in <td></td> of a template.
Code: Select all
<!--TEMPLATE STRUCTURE-->
<table width="100%">
<tr>
<td><? include"leftVerticalMenu"; ?></td>
<td><? include"contentRegion"; ?></td>
</tr>
</table>Thanks, hope you get my point.
- aceconcepts
- DevNet Resident
- Posts: 1424
- Joined: Mon Feb 06, 2006 11:26 am
- Location: London