Jump to content

Using include when wrappers are involved


CorkyMcDoogle

Recommended Posts

Hello...

I think this question is more php related than web design so I will ask it here.

I've been working on layout and it involves wrappers and containing divs to center it and put things where I want them. I've created the layout in one file and splitting it up later like I've read to do. How will I include each part when each part has to be inside of the wrapper? If I put the wrapper div inside the file the the left coloumn is in for example, when I include the content box, its outside of the wrapper.

Here is the layout in one file. [a href=\"http://metaltactics.com/version2.php\" target=\"_blank\"]http://metaltactics.com/version2.php[/a]

Thats how I want it to look but I need to chop up the header, leftcol, content box, footer, etc into seperate peices so I can edit them individually if I need to.

I've heard of the program Smarty from reading forums. Can someone explain exactly what this is and if it would be smart to use it in my situation?

Thanks
Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.