Register

If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Results 1 to 5 of 5
  1. #1
    Junior Member
    Join Date
    Oct 2005
    Location
    macon, ga
    Posts
    17
    Member #
    11609
    Hey All,

    Is there a way I can use a style sheet to show actual content? I'd like to keep certain things in my style sheet like my footer. The footer will be the same on every page, so if it changes, I don't want to worry about changing it on EVERY page. Can this be done? How?

    Thanks!

    Phillip

  2.  

  3. #2
    Senior Member audiofreak9's Avatar
    Join Date
    Apr 2005
    Location
    NJ
    Posts
    339
    Member #
    9584
    You could use includes: shtml, asp, or php.

  4. #3
    Junior Member
    Join Date
    Oct 2005
    Location
    macon, ga
    Posts
    17
    Member #
    11609
    Quote Originally Posted by audiofreak9
    You could use includes: shtml, asp, or php.
    I dont' know how to use any of those, hahaha.... I'm hopeless - big plans, little experience...

    So it can't be done in a CSS style sheet?

    Thanks,
    Phillip

  5. #4
    Senior Member karinne's Avatar
    Join Date
    Dec 2003
    Location
    Aylmer QC Canada
    Posts
    1,607
    Member #
    4335
    Liked
    8 times
    CSS = Cascading Style Sheet so... no... you can't use it for content!

    Like audiofreak9 said, you need to look into SSI or PHP includes or the ASP equicalent
    [a web design portfolio - Currently NOT AVAILABLE for work | web design | Re-coding | PSD-to-HTML]
    I'm also on: virb - facebook - twitter - flickr - del.icio.us

  6. #5
    Member themayanlion's Avatar
    Join Date
    Mar 2005
    Posts
    40
    Member #
    9225
    i can't remember the exact name, but when i learned CSS, i used a book by Wrox.com, and in it, there is actually some pseudo-class or element that can be used to replace or add text to things, but of course, it isn't supported by any browser except Gecko or some other small browser.

    well, i guess leaves you with 'it's not going to happen', but just for trivia's sake, .


Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT -6. The time now is 02:12 AM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com