Banner

Sponsor

Login


Welcome Back!
Guest
Guest

Register

Lost your password?

76 users online



Is this possible with CSS?

Is this possible with CSS?

Currently viewing this thread: 1 (0 members and 1 guests)


wookiee2cu

wookiee2cu

Neverside Newbie
Status: Offline!

Is this possible with CSS?

Hello all, been a long time since I have been to this site. I have a question regarding calling in external CSS pages. I did do several Google searches but didn’t come up with what I’m looking for. Basically my buddy wants to build a navigation in a CSS document and then on other content pages call in that navigation CSS document so that way when changes need to be made to the navigation he only has to make them once. From my limited experience with CSS I was under the impression that you can only call in CSS documents that are styles or function coding, not actual pages with coding such as tables, images, a href’s and so on. Am I mistaken and this can be done? If so, say I set up a table in a page and would I just use this type of command: <link type="text/css" rel="stylesheet" href="navigation.css" /> . Thanks in advance for any suggestions/advice you may have!

Toast

Toast

Neverside Newbie
Status: Offline!

CSS is ONLY for defining style to markup elements (<h1>, <a>, <div>, etc.). It cannot generate more elements or anything of that nature.

What your friend wants is only possible through some server side means. Server Side Includes, PHP includes, and many other possible server side solutions are available.

wookiee2cu

wookiee2cu

Neverside Newbie
Status: Offline!

That's what I thought but I just wanted to make sure. Thanks for your help Toast!

Quick Jump:

Main Navigation


Site & Graphic Design by Aeon Tan
Developed by Jeremie Pelletier & Scott Roach


NeverAPI generated this page in 0.0157 seconds.