|
-
Jul 28th, 2005, 12:45 AM
#1
Thread Starter
Hyperactive Member
[RESOLVED] css trouble
im having trouble importing an external style sheet. i dunno wats wrong. i saved the text document as a text with the .css extension and i made the <link rel='stylesheet' type='text/css' href='text.css'> link to it in the document for the site but wen i go to the site it doesnt work. could someone help me out?
-
Jul 28th, 2005, 03:18 AM
#2
Re: css trouble
this is what I use:
<link rel="stylesheet" type="text/css" media="screen" href="/stylesheets/default.css">
where the css is stored in a stylesheets subdirectory of root
-
Jul 28th, 2005, 03:07 PM
#3
Thread Starter
Hyperactive Member
Re: css trouble
still doesnt work and i cant figure out why
-
Jul 28th, 2005, 09:52 PM
#4
Thread Starter
Hyperactive Member
Re: css trouble
ok i fixed the problem by taking an existing style sheet and copying it and changing the contents but it seems even wen i add the .css extension it still maintains the .txt does anyone know why this is?
-
Jul 29th, 2005, 03:35 AM
#5
Re: css trouble
How are you changing the extension?
In windows if you don't have extensions set to display and you right click to rename: test.css what you'll actually get is test.css.txt.
Open thefile in notepad and do a Save As "test.css" <include the quotes>
-
Jul 29th, 2005, 05:27 AM
#6
PowerPoster
Re: css trouble
If your ending up with styles.css.txt and your using Windows, open up a Windows Explorer Window, Tools -> Folder Options -> View Tab -> Untick Hide Extensions for known file types.
-
Jul 29th, 2005, 07:44 AM
#7
Thread Starter
Hyperactive Member
Re: css trouble
thanks but my friend made a batch file for me that converts it
-
Jul 29th, 2005, 07:51 AM
#8
Re: css trouble
 Originally Posted by Pc_Madness
If your ending up with styles.css.txt and your using Windows, open up a Windows Explorer Window, Tools -> Folder Options -> View Tab -> Untick Hide Extensions for known file types.
That doesn't help.... it just hides the extension.... but it's still on the file...
ninjanutz - After you upload your CSS file, try clearing out your cache in your webbrowser, that's probably part of your problem. I know I've had issues with that before myself.
Tg
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|