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 4 of 4

Thread: Css themes

  1. #1
    Senior Member zeroskater88's Avatar
    Join Date
    Feb 2003
    Location
    RI
    Posts
    391
    Member #
    682
    I did not search the forums for this so excuse me if this has already been asked.

    I have a css - based webpage. I want several themes for the webpage. I have the themes made, and the css files also made. But the images are in the html file and not the css file. And the theme change is not only simple rollovers, but it is also gradient images and other random images. Would I need to put the images in the css file so this works, without having to create a whole new page in the html file?

    Thanks for any tips or comments.

    For example.

    http://www.gta-underground.com/tutorialsite/index.html
    (Click the red gradient at the bottom of the page)
    Notice how I have to lead it to another html file?
    I want to make it so I just have to switch the css file within the html code.

  2.  

  3. #2
    Senior Member Trico's Avatar
    Join Date
    Feb 2004
    Location
    Nottingham, UK
    Posts
    894
    Member #
    5081
    I've run into this problem before, there's probably some smart method involving php that would work - not that I know anything about it.

    Instead of using <img src="images/pic1.gif" /> try <span id="pic1"></span>

    #pic1 {

    background: url('images/pic1.gif') no-repeat;
    width: 30px
    height: 25px;

    } etc... so my guess would be yes, display them via the style sheets.

  4. #3
    Senior Member zeroskater88's Avatar
    Join Date
    Feb 2003
    Location
    RI
    Posts
    391
    Member #
    682
    Yeah thats what i was thinking, thanks.

  5. #4
    Junior Member
    Join Date
    Mar 2004
    Posts
    3
    Member #
    5393
    I'm not sure...but it sounds like you want to skin your site.

    Amy of Domesticat.net has a great tutorial on skinning a website using PHP. I use a modified version of her script on several of my sites.

    http://www.domesticat.net/skins/howto.php

    Cheers,
    Erica


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 01:36 AM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com