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
»
How to make a extern 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.
How to make a extern css?
hema1999
Reputation Power: 1
New Poster
Posts: 5
Topics: 2
How to make a extern css?
July 16, 2010, 02:12:34 AM
hi i want to make a externe css file, so i can edit all myn webpage anyone know how to do that?? someone said be4 to put
<link rel="stylesheet" type="text/css" title="CSS Stylesheet" href="path/to/your/cssfile. css. . . />
===============
Organic SEO| UK SEO
Abhi
Reputation Power: 19
Code Guru
Location: India
Gender:
Posts: 1456
Topics: 135
Re: How to make a extern css?
July 16, 2010, 02:23:16 AM
Put the below line in the HEAD tag of the page.
<link rel="stylesheet" type="text/css" title="CSS Stylesheet" href="path/to/your/cssfile. css" />
Make sure to replace the "path/to/your/cssfile. css" with your actual CSS file path and the CSS file name.
Help us to keep this forum clean. Report the SPAM!
mallory
Reputation Power: 1
New Coder
Posts: 39
Topics: 7
Re: How to make a extern css?
October 03, 2011, 07:52:40 AM
CSS Code:
body{ background-color: gray;}
p { color: blue; }
h3{ color: white; }
Now save the file as a CSS (. css) file. Make sure that you are not saving it as a text (. txt) file, as notepad likes to do by default. Name the file "test. css" (without the quotes). Now create a new HTML file and fill it with the following code.
HTML Code:
<html>
<head>
<link rel="stylesheet" type="text/css" href="test. css" />
</head>
<body>
<h3> A White Header </h3>
<p> This paragraph has a blue font.
The background color of this page is gray because
we changed it with CSS! </p>
</body>
</html>
Then save this file as "index. html" (without the quotes) in the same directory as your CSS file. Now open your HTML file in your web browser and it should look something like this. .
Andrew09
Reputation Power: 1
New Coder
Posts: 36
Topics: 4
Re: How to make a extern css?
October 13, 2011, 11:55:51 PM
Hi Mallory,
I have tried this code but the output is not well satisfied .. Is there any other code
?
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 May 11, 2012, 04:59:01 PM
Loading...