|
Posted by Ed Seedhouse on 06/11/07 03:21
On Sun, 10 Jun 2007 22:15:20 -0400, Ed Mullen <ed@edmullen.net> wrote:
>Ed Seedhouse wrote:
>> On Mon, 11 Jun 2007 01:50:38 -0000, cbnewman@gmail.com wrote:
>>
>>> Is there any way to use CSS to implement modular code?
>>
>> No.
>>
>>> In other words,
>>> if I have a footer that I want to be displayed on every page but I
>>> only want to update it in one place (perhaps a single HTML file) how
>>> can I get it to display on every page on my site?
>>
>> Not with CSS.
>>
>>> I know I could
>>> implement this solution with frames, but I would rather not...
>>
>> And you shouldn't. Use server side includes, PHP, ASP, JSP or some
>> other serve side technology.
>>
>And if your ISP doesn't provide such technology, you can do it with
>javascript. There are some people who don't allow javascript while
>browsing so you'll need to decide if that matters to you.
Good points, I should have mentioned javascript and the problem with it
myself.
[Back to original message]
|