reusing <div> sections
This is my first post! I know just enough css to reuse-by-example, but not enough to actively know what I'm looking for when I need to do something new. *sigh*
Here is the problem:
I have a <div. . .> </div> section that I use in numerous pages. It is identical in each. For example:
The actual words in this division are identical on numerous pages, but it is very lengthy
. . . as are these words as well.
The properties (position, width, height, etc.) of the div and sub-div are specified in a .css file.
Currently, I am simply copy/pasting it onto each .html page. How can I reuse this on each page without copy/pasting the entire thing?
For that you have to use SSI (Server Side Includes) using any of the Server Side Scripting Languages viz. ASP.NET, PHP etc.
And of course your pages won't remain .html anymore and would become .asp or .php!
So, learn any Server Side Language!
All the best!
Rats. Ok! Thank you!
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)