DaniWeb Graphics
and Web Design Community
Loading
Home
Recent Posts
Revenue Sharing
Register
Contact Us
Login
Username
Password
Forgot your password?
|
Register
Welcome to TechnicalTalk.Net forum!
It seems that you are not a member yet. To interact with other members and to post on the forum.
Get a free account now
Earn money on this forum
Advertise with us...
TechnicalTalk
»
Graphics and Web Design
»
HTML/XHTML/DHTML & CSS
»
Embedded or Linked CSS?
Quick Links:
Want to earn money on forum? visit -->
Earn money on forum
Add to Reputation:
Reputation
What do you think of this post?
I agree
I disagree
Comment:
Pages: [
1
]
Go Down
Email this topic
|
Print
0 Members and 1 Guest are viewing this topic.
Embedded or Linked CSS?
Computer_Head
Computer Head in 'da House!
Reputation Power: 2
Regular Coder
Posts: 85
Topics: 9
Embedded or Linked CSS?
August 02, 2009, 05:49:58 PM
When I started using CSS, I had a choice of if I wanted to embed my CSS into every HTML file or if I wanted to link it and use a separate CSS file. I decided to use linked CSS because I figured out if I ever wanted to make a change to the CSS, it would dynamically change every page linked to that certain CSS, instead of opening and editing every HTML file that needed the appearance change. What do you all think?
Your PC Forums
TrueDestroyer
Reputation Power: 1
Regular Coder
Posts: 53
Topics: 2
Re: Embedded or Linked CSS?
August 03, 2009, 08:25:41 PM
Linked is by far superior. It usually cuts down on page load times, because the CSS usually gets cached and then reused every time a subsequent page is loaded, instead of sending the CSS inside of your page over and over.
polas
Reputation Power: 17
Code Guru
Gender:
Posts: 1403
Topics: 86
Re: Embedded or Linked CSS?
August 04, 2009, 04:24:28 AM
Quote from: TrueDestroyer on August 03, 2009, 08:25:41 PM
Linked is by far superior. It usually cuts down on page load times, because the CSS usually gets cached and then reused every time a subsequent page is loaded, instead of sending the CSS inside of your page over and over.
Makes it easier to modify the CSS too
Mesham Type Oriented Parallel Programming Language
,
Free online technical support
Eilt Druin
Reputation Power: 1
New Coder
Gender:
Posts: 39
Topics: 0
Re: Embedded or Linked CSS?
August 15, 2009, 07:20:25 PM
You should definitely used linked CSS. The only time CSS should be embedded in any modern web page is when you're using dynamically generated CSS, like for instance a random background image in a page header.
Phantasy Star: Fringes of Algo
|
Castle Nintendo - Discussion Community
hema1999
Reputation Power: 1
New Poster
Posts: 5
Topics: 2
Re: Embedded or Linked CSS?
July 16, 2010, 02:14:25 AM
External style sheets are created with a similar syntax to document level (in the <head>) style sheets. However, all you need to include are the selector and the declaration (see Using Style Sheets for more information). Just like in a document level style sheet, the syntax for a rule is:
selector {property : value;}Save these rules into a text file with the extension . css. This isn't required, but it is a good habit to get into, so you can immediately recognize your style sheets in a directory listing.
Once you have a style sheet document, you need to link it to your Web pages.
===============
Organic SEO| UK SEO
Email this topic
|
Print
Pages: [
1
]
Go Up
Jump to:
Please select a destination:
-----------------------------
Technical Resources - Articles and Videos
-----------------------------
=> Read/Post Free Articles
===> SEO and Marketing
===> Graphics and Design
===> Operating Systems
===> Programming
===> Gadget and Product Review
=> Video Tutorials
-----------------------------
Programming and Web Development
-----------------------------
=> C/C++
=> Visual Basic 6.0
=> Classic ASP 3.0
=> .NET
=> PHP
=> JAVA
=> Python
=> JavaScript and VBScript - Scripting Languages
=> Web Security
=> Other programming languages
=> Database Programming Discussions
===> Microsoft SQL Server
===> My SQL
-----------------------------
Graphics and Web Design
-----------------------------
=> HTML/XHTML/DHTML & CSS
=> Photoshop and Flash
=> General Web Design
=> Review your website or blog
-----------------------------
Operating Systems
-----------------------------
=> Windows
=> Linux and Unix
=> General - Operating System Discussion
-----------------------------
SEO and Marketing Success Strategy
-----------------------------
=> Search Engines
===> Google
===> Yahoo
===> Microsoft Bing
=> SEO - Search Engine Optimization
===> Web Directories
===> Link Development
=> Internet Marketing and Advertising
===> Affiliate Programs
===> Generating Revenue
===> Increasing Traffic
=> General Marketing Discussion
=> Promote Your Service
-----------------------------
Web Hosting and Hosting Management
-----------------------------
=> Web Hosting Talk
=> Web Hosting offers and plans
-----------------------------
Miscellaneous
-----------------------------
=> Blogging - Blogger's Paradise
=> Social Networks
=> Tips and Tricks
=> Chit Chat - Non Programming
-----------------------------
Forum Information
-----------------------------
=> Introduce Yourself
=> Suggestions and Feedback
=> Forum Rules/Guidelines/News/Announcements
=> Forum Support
=> Forum Games and Contests
===> Games
Home
|
Advertise
|
Forum Help
|
Privacy Policy
|
Contact us
Powered by SMF 1.1.16
|
SMF © 2011, Simple Machines
Google visited last this page April 22, 2012, 07:05:54 AM
Loading...