Old 11-10-2003   #1 (permalink)
Moderator
 
ConceptualMind's Avatar
 
Join Date: Oct 2003
Location: BioRUST Design Community
Posts: 2,652

External CSS

Alright is it possible to save it in NotePad. Just using the .css file extension.

Exactly how do I set up an external css? Do I just upload it to my server? Then put the css script in the header?

Like how does it work? I need some clarification. My first time using external css.
__________________
ConceptualMind
ConceptualMind is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Old 11-11-2003   #2 (permalink)
Registered User
 
r4z0r's Avatar
 
Join Date: Oct 2003
Location: England
Posts: 65

I'd recommend notepad if you're comfortable with CSS, if you don't know too much about CSS then I'd use Dreamweaver as it has most of the CSS definitions built.

In the <head> of your HTML page add the following line of code
<link href="style.css" rel="stylesheet" type="text/css">

Obviously changing "style.css" to whatever you've called your stylesheet and linking correctly to it, the above code assumes it is in the same directory as your HTML page.

If you need any more help PM me or I'll keep replying to this post, I don't mind
__________________
r4z0r is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Old 11-11-2003   #3 (permalink)
Moderator
 
ConceptualMind's Avatar
 
Join Date: Oct 2003
Location: BioRUST Design Community
Posts: 2,652

All I really want to know is whether I can save it in NotePad. Could I save it as example.css and have it work?

I saved an external css document and tried to preview a page in IE (I was offline) but it didn't work.

I'm wondering what I did wrong.
__________________
ConceptualMind
ConceptualMind is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Old 11-11-2003   #4 (permalink)
Registered User
 
r4z0r's Avatar
 
Join Date: Oct 2003
Location: England
Posts: 65

Can you post the code that was in the file here? Also make sure thaty it had .css as the extension
__________________
r4z0r is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Old 11-14-2003   #5 (permalink)
S12
Junior Member
 
Join Date: Nov 2003
Posts: 1

saving in notepad!

well if you want to save lets say example.css in notepad just put quotes wen saving it.

"example.css"
S12 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Old 11-14-2003   #6 (permalink)
Local Biorust Beast
 
Order's Avatar
 
Join Date: Oct 2003
Location: San Diego, CA, USA
Posts: 2,253

Send a message via AIM to Order Send a message via MSN to Order Send a message via Yahoo to Order
Re: saving in notepad!

Quote:
Originally posted by S12
well if you want to save lets say example.css in notepad just put quotes wen saving it.

"example.css"
Whenever you need to save a file that does not have txt ext, you need to quote it, that is one thing that I dont like about notepad.. one day MS will actually look at its code again.. maybe..
__________________
Order is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Old 11-14-2003   #7 (permalink)
Registered User
 
r4z0r's Avatar
 
Join Date: Oct 2003
Location: England
Posts: 65

I've never used quotes, I always just change the file type to all in the drop down and it doesn't have a problem
__________________
r4z0r is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Closed Thread

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT +1. The time now is 05:57 PM.
Content Relevant URLs by vBSEO 3.2.0

Design & Content © BioRUST 2008 :: PRIVACY STATEMENT :: LEGAL INFORMATION :: ADVERTISING MEDIA KIT