tarienn Posted April 19, 2006 Share Posted April 19, 2006 hey, i have tons of views on my website, and I make changes to the nav bar all the time, and when i do i have to go through each page and do it, is there a way i can edit just one html and use CSS and div tags to make it so i only need to change one file? Link to comment Share on other sites More sharing options...
Jonas Posted April 19, 2006 Share Posted April 19, 2006 You can't use CSS, but you can look up SSI - Serverside Include, which can be done in all of the biggest serverside languages (asp.net, asp, php, coldfusion, jsp...) Link to comment Share on other sites More sharing options...
boen_robot Posted April 19, 2006 Share Posted April 19, 2006 (edited) SSI (Server Side Include), Framesets... the ways are almost countless, though theese are the most basic ones.SSIs would mean if your host supports PHP, ASP(.NET), Cold Fusion or other server side scripting language, to use that language to include (X)HTML file into another (X)HTML file.Framesets would requre a single file to load that would display one of the files in one frame (let's say the nav bar) and the other (content) in another. But this gives many drawbacks for which most people avoid using frames. For example, the user can't bookmark a specific page on the site by copying the URL in the adress bar. The reason for that is that it's the frameset file which holds the things together, not the page itself.Technically speaking, there's no way of doing multiple XHTML editing in strict mode with or without CSS. There's a need for more.[edit] Huh. Jonas beated me up on this one [/edit] Edited April 19, 2006 by boen_robot Link to comment Share on other sites More sharing options...
tarienn Posted April 19, 2006 Author Share Posted April 19, 2006 My server is compatible with asp, so how would I use asp to do this?I was hopeing to just make a html file and have its code inserted into my pages. Link to comment Share on other sites More sharing options...
Jonas Posted April 20, 2006 Share Posted April 20, 2006 ASP include. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now