so i created a template with header footer anv bar etc. k now for some pages on the site, i need a table which will have the same stuff (rows columsn but different text) for eg: for each player, i want a table with games played , goals , birthdate etc . so obviously one part of the table will be the same and the other will be differetn .. whats the best way to do this in dreamweaver?? another template or wat?
I dont really use dreamweaver any more, however I know that templates that you create can have editable regions so the header, navbar and footer cannot be edited but the the main content can. You would do this by going to Modify->Templates->New editable region and selecting the region(s) that you want to be editable and then when you create a new web page based on that template you just edit the content area, so for example you would add a table on one page and then just text on another etc. Alternatively you could use server side includes, if your web host has it whereby again your code which is duplicated over all/most of your pages, eg. header, nav and footer content are saved into separate pages and they are called up like this: Home Page <?php include('head.htm'); ?> <div id="content"> <h2> Boo</h2> <p>Welcome to Home Page</p> </div> <?php include('footer.htm'); ?> Table Page <?php include('head.htm'); ?> <div id="content"> <table> <tr> <td>row 1, cell 1</td> <td>row 1, cell 2</td> </tr> <tr> <td>row 2, cell 1</td> <td>row 2, cell 2</td> </tr> </table> </div> <?php include('footer.htm'); ?> Im probably making it sound complicated but it isn't!
In case you are trying to create a simple row coloumn in html, try hand adding the table and the rows and columns manually. Its not at all difficult