corsasport.co.uk
 

Corsa Sport » Message Board » Off Day » Geek Day » FAO: Webmasters: CSS » Post Reply

Post Reply
Who Can Post? All users can post new topics and all users can reply.
Icon:
Formatting Mode:
Normal
Advanced
Help

Insert Bold text Insert Italicized text Insert Underlined text Insert Centered text Insert a Hyperlink Insert Email Hyperlink Insert an Image Insert Code Formatted text Insert Quoted text
Message:
HTML is Off
Smilies are On
BB Code is On
[img] Code is On
Post Options: Disable smileys?
Turn BBCode off?
Receive email notification of new replies?

Ian

posted on 24th Oct 06 at 14:57

Must be client side somewhere - there's nothing being sent back.

That site is using the ALA Javascript file. Used it myself on some stuff a while back, its easy enough. Read this - http://www.alistapart.com/articles/alternate/


[Edited on 24-10-2006 by Ian]


AndyKent

posted on 24th Oct 06 at 14:39

well I'd have thought cookies but looking at the code for the above site it didn't jump out that they were using any......suppose they must've been though.


Steve

posted on 24th Oct 06 at 14:05

cookies


Laney

posted on 24th Oct 06 at 13:57

quote:
Originally posted by aPk
As I say, not done it myself and have no idea how the browser remembers the style set but not too difficult I guess....


Cookies probably?


AndyKent

posted on 24th Oct 06 at 13:52

As I say, not done it myself and have no idea how the browser remembers the style set but not too difficult I guess....


Bart

posted on 24th Oct 06 at 13:03

wooo.. thanks APK. i will take a look.

yes, pretty much changing between styles etc.
I already have the website, and one css styleshet, but i want to play about with colors etc.


AndyKent

posted on 24th Oct 06 at 12:50

I think everyone else so far has read your post wrong..........you want to change between styles yes?

I haven't done it myself but if you see the source code of http://www.virtualplastic.net/ you will see how they have done it.

Hope that helps,
Andrew


Bart

posted on 24th Oct 06 at 09:45

So you list all the style sheets within one index.html and link to them?

i was thinking you only had one css sheet per header!


Nismo

posted on 24th Oct 06 at 08:58

just have one stylesheet to do all the changes and div the tags to do different things.

like style 1 to have a different tag to style 2.


Planty02

posted on 24th Oct 06 at 08:56

As leighton says, just change that line of code to point to your new CSS file. It will be found in the <head> tags of the page near the start of hte file :thumbs:


Bart

posted on 24th Oct 06 at 08:55

if i change the main index file to be style2.css then style.css will not appear at the begining will it?


Leighton

posted on 24th Oct 06 at 08:38

no just change it to say style2.css and it will get the info off that


Bart

posted on 24th Oct 06 at 08:18

I gathered that....

so i have index.html which is currently using style.css
its all linked, and im happy with that.

but lets call my new sheet, style2.css

do i have to create a new index.html saying linking to style2.css?


Leighton

posted on 24th Oct 06 at 07:59

The easiest was would be to copy the CSS that you already have rename it and change the values to what you want.

Then on the pages that you want it to work on put :
<link rel="stylesheet" type="text/css" href="were it is /what it is called.css">

Then you are away
:thumbs:


Bart

posted on 24th Oct 06 at 07:12

is anyone able to explain something in lamon terms.

I have a local intranet.. which uses a particular CSS style sheet.

If im going to create another style sheet for different colors etc but how does that work? and what do i link to? the new style sheet etc?