Topic: Style Sheet
Hello All,
Is it possible to use two style sheets on one page or is it best to combine them?
I have one style sheet for my origional pages but I want to include a Light Box.
Thank you,
Best wishes
Graeme
You are not logged in. Please login or register.
Hi, I just released our new video tutorial course on Flash CS4.
Stefan
Hello All,
Is it possible to use two style sheets on one page or is it best to combine them?
I have one style sheet for my origional pages but I want to include a Light Box.
Thank you,
Best wishes
Graeme
You can use as many as you like, it won't affect the functionality of your page one way or the other. Using separate stylesheets for organizational purposes, like in your case for the lightbox, could be helpful.
Just keep in mind that if the stylesheets uses duplicate elements, the latter one will be rendered because it overrides the first.
Example:
If bother stylesheet are using #header h2 but one the first one has the color of red while the second one has the color of blue, the second one will be used.
<link rel="stylesheet" type="text/css" href="Killersites.css" /> - is using the color red
<link rel="stylesheet" type="text/css" href="Killersites_cs.css" /> - is using the color blue
Last edited by newseed (2009-11-06 09:15:17)
Thank you,
Best wishes
Graeme
Hello All,
In the Light Box code, how can I setup the thumbnails? Some of my images are of variuos sizes and orientation etc. I noticed that on some sample pages the thumbnails are all square yet when opened some of the images are different sizes.
Thank you.,
best wishes
Graeme
Hello All,
In the Light Box code, how can I setup the thumbnails? Some of my images are of variuos sizes and orientation etc. I noticed that on some sample pages the thumbnails are all square yet when opened some of the images are different sizes.
Thank you.,
best wishes
Graeme
That depends entirely on whatever lightbox script you are using... You'll need to go back to wherever you got the script from and look at any documentation they offer.
you can use as many sheets as you want but what is the problem using a single one?
Makes a lot of sense to me to use a separate one for the lightbox. For one, that part of the CSS is only needed on one page and can be just left off the other one, plus it's easier to find your code depending on what you're working on.
Posts [ 8 ] - Views [ 292 ]
Copyright © 1996-2009 Killersites.com
[ Generated in 0.067 seconds, 9 queries executed ]