•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the HTML and CSS section within the Web Development category of DaniWeb, a massive community of 392,045 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 4,267 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our HTML and CSS advertiser: Lunarpages Web Hosting
Views: 469 | Replies: 2 | Solved
![]() |
•
•
Join Date: May 2007
Posts: 15
Reputation:
Rep Power: 2
Solved Threads: 1
I have been trying to save the CSS code and save the file as .css in the same folder and i link it on my html but when i do that the code doesn't get inserted to the document. Is there any specific way to save external .css? because right now i am saving all the code in that html that is css and saving that as .css and link it but it is not working.
www.insanecricket.com/sleek
www.insanecricket.com/sleek
Last edited by npatel0317 : Mar 4th, 2008 at 5:25 pm.
External css should not contain style tags (<style type = "text/css"></style>) at the beginning and end like they do when putting them inline. If the styles aren't showing up, they probably aren't in the same place that you are pointing the link href to. Try typing the absolute address of your css file into the browser and view it to make sure it's there. Then copy and paste the same url into the href. i.e.<link href="http://www.insanecricket.com/sleek/styles.css" rel="stylesheet" type="text/css" />
•
•
Join Date: May 2007
Posts: 15
Reputation:
Rep Power: 2
Solved Threads: 1
•
•
•
•
External css should not contain style tags (<style type = "text/css"></style>) at the beginning and end like they do when putting them inline. If the styles aren't showing up, they probably aren't in the same place that you are pointing the link href to. Try typing the absolute address of your css file into the browser and view it to make sure it's there. Then copy and paste the same url into the href. i.e.<link href="http://www.insanecricket.com/sleek/styles.css" rel="stylesheet" type="text/css" />
Thanks
![]() |
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
•
•
•
•
•
•
•
•
DaniWeb HTML and CSS Marketplace
- Previous Thread: Logo on top of header out of alignment
- Next Thread: over image not working


Linear Mode