Jump to content

Style Sheet


Graeme

Recommended Posts

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.

Link to comment
Share on other sites

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.

 

- is using the color red

- is using the color blue

Edited by newseed
Link to comment
Share on other sites

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

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...