Also, external CSS is able to be cached by browsers - making loading time even faster and saving bandwidth :)
Printable View
Also, external CSS is able to be cached by browsers - making loading time even faster and saving bandwidth :)
Awesome Thread Aziz, i had a small query.
I was wondering how you get the Page title to 'Marquee', like in the case of this site : :: Welcome To MAEER's MIT INSTITUTE OF DESIGN ::
Look around DynamicDrive mate there are a lot of examples there.
I am still open to any questions and CSS FAQs!
Hey Aziz!
i've been building web sites for some time, but am considering using the idea of going to a multiple style sheet concept with all of my future sites to improve development speed. the plan goes like this: all navigation for example would be a separate style sheet so that whether the desire was for a horizontal or vertical navigation all i'd have to do is declare which one i want in a div and would only have to worry about the content of a small style sheet rather than sorting through a larger style sheet to find and style what i'm working on. this concept could be extended to headers and footers as well. it would require a few style sheets to be called for each site, but would eliminate the single huge style sheet that often accompanies a web site.
what do you think? any benefit to this?
hey there, sorry didn't notice the message. Anyway, your idea is great but risky as well so I'll sum up everything in a list:
Pros
- Saves time
- Reduces bandwidth usage
- Easy to edit / Flexible
Cons
- If the hosting was temporarily down, all sites using the sheet would suffer
- can slow the loading speed if the hosting server (of the CSS file) had bad connection
- It could cause problems when editing a specific property for a certain site (because it would override all other sites' style as well)
so my recommendation is using it for basic and main layout structures with limited properties that would apply to all sites for the long run.