Jump to content

Best place for CSS styling of a Gallery??


Lulu

Recommended Posts

Hi

 

I've put together a Gallery page using Fancybox. Do I add the styling to my main styles.css file or the jquery.fancybox-1.3.4.css file?

 

It seems to work ok in either file, but I'm not sure of the implications of the content being in one or the other file.

 

Any thoughts/comments would be appreciated.

 

Thanks.

Link to comment
Share on other sites

You can certainly have more than one stylesheets. Just keep them seperate and you will find it's easier to manage.

 

Thanks, Eddie. Would you add the styling to your main styles file, or the gallery CSS file (where using a 3rd party like Fancybox)?

Link to comment
Share on other sites

It's your preference. However, if you wanting to add more styles for Fancybox then add them there at the bottom of your stylesheet with a comment line seperating the default styles and your styles like this:

 

/* begin lulu styles */

 

---add all your styles here---

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...