Navigation issue

admin

Administrator
Staff member
i've been advised by various people to change my site from tables templates and javascript to css. I'm new to css so only have a basic idea so could anybody tell me if its possible to keep my navigation exactly as it is but using css instead. I used templates so that if i added a nav button i didn't have to edit all the pages, is it possible to retain this idea with css?

<!-- m --><a class="postlink" href="http://www.thespecificgallery.comYou">http://www.thespecificgallery.comYou</a><!-- m --> can use CSS to create the same appearance of the navigation, but not the content. Your best bet for that would be to look into some sort of server-side scripting, depending on what is supported by your web host. (Some possible options are PHP, Perl, ASP, JSP.)

In PHP, for example, you could put all the HTML text and markup for the navigation into a file, let's call it "nav.txt". Then in each page you would only need to enter the following line to insert all that text at that position in the page:

<?php include "nav.txt"; ?>
The other scripting languages each have similar mechanisms for this. The advantage of doing it on the server side is that you do not have to depend on the user's browser having JavaScript available and enabled.Your navigation should be marked up as an unordered list, then you can tame it (<!-- m --><a class="postlink" href="http://www.alistapart.com/articles/taminglists/">http://www.alistapart.com/articles/taminglists/</a><!-- m -->) using css.But how do i get my gifs to roll over using css?
 
Back
Top