Jump to content


How many css files on one site


3 replies to this topic

#1 donkeymusic

    Jedi In Training

  • Members
  • PipPip
  • 495 posts
  • Gender:Male
  • Location:Warrington, UK

Posted 23 November 2005 - 11:27 AM

Shoudl a website just have the one CSS file? or do you somethimes require more than one?

#2 saferwaters

    Jedi In Training

  • Members
  • PipPip
  • 390 posts

Posted 23 November 2005 - 12:18 PM

You can use more than one, for example if you had links to switch styles, and I think you can use one along with a Javascript statement which checks which browser, and loads the relevent stylesheet.

I only use one however, since the coding should work in all browsers.

#3 coolaid

    P2L Jedi Master

  • Members
  • PipPipPipPip
  • 1,435 posts
  • Gender:Male
  • Interests:i wonder..

Posted 23 November 2005 - 12:51 PM

also, having more than one css file is helpful when your css files are really huge.

like spoono.com for example, they use two css files, one for text visuals, and another for colors and positioning.

#4 d7x

    P2L Jedi

  • Twodded Staff
  • PipPipPip
  • 586 posts
  • Gender:Male
  • Location:Virginia
  • Interests:Life

Posted 23 November 2005 - 07:08 PM

I use many since i have a styleswitcher on my site. Also it is best to use for then one way to link to your external stylesheet





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users