•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the JavaScript / DHTML / AJAX section within the Web Development category of DaniWeb, a massive community of 456,519 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 2,821 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 JavaScript / DHTML / AJAX advertiser: Lunarpages Web Hosting
Views: 926 | Replies: 5
![]() |
•
•
Join Date: Nov 2006
Posts: 49
Reputation:
Rep Power: 2
Solved Threads: 0
Hello there
in my html page i use the following link
<LINK href=c:\"Calendar.css" type=text/css rel=stylesheet>
i would like to avoid rediracting to the file css ,so my question where i should put all the information in my htmal page
after? the <body> ?before the <body>?
which tag to use?
Thanks ahead
in my html page i use the following link
<LINK href=c:\"Calendar.css" type=text/css rel=stylesheet>
i would like to avoid rediracting to the file css ,so my question where i should put all the information in my htmal page
after? the <body> ?before the <body>?
which tag to use?
Thanks ahead
•
•
Join Date: Mar 2007
Location: Israel
Posts: 16
Reputation:
Rep Power: 2
Solved Threads: 1
Hello,
first of all, in-order to keep of with w3c's newest regulations, try this:
Anyhow, put it in the <head> section.
Shaffer.
first of all, in-order to keep of with w3c's newest regulations, try this:
<link rel="stylesheet" type="text/css" href="c:\Calendar.css"/>
Anyhow, put it in the <head> section.
Shaffer.
> i would like to avoid rediracting to the file css
What do you mean by 'redirecting' to the CSS file? The markup you wrote 'links' to an external CSS file. If you don't want to, just remove the line or comment it. Plus the way you provide your 'href' is wrong since "\C" is an illegal escape character and your HTML file would never be able to find the stylesheet and it's a bad practice to use absolute paths. Use relative paths.
What do you mean by 'redirecting' to the CSS file? The markup you wrote 'links' to an external CSS file. If you don't want to, just remove the line or comment it. Plus the way you provide your 'href' is wrong since "\C" is an illegal escape character and your HTML file would never be able to find the stylesheet and it's a bad practice to use absolute paths. Use relative paths.
<link rel="stylesheet" type="text/css" href="./css/Globals.css" /> Last edited by ~s.o.s~ : Sep 30th, 2007 at 1:07 pm.
I don't accept change. I don't deserve to live.
Happiness corrupts people.
Failing to value the lives of others cheapens your own.
Happiness corrupts people.
Failing to value the lives of others cheapens your own.
You must be using IE. IE is famous for running and supporting all that is 'non-standard'. That behavior is not guaranteed for all browsers. Post your code if you still have queries.
I don't accept change. I don't deserve to live.
Happiness corrupts people.
Failing to value the lives of others cheapens your own.
Happiness corrupts people.
Failing to value the lives of others cheapens your own.
There are errors in this:
That code is referencing a file on your own computer's hard disk. It won't work for anyone else. The string
Many servers don't have the foggiest notion of what a "c:" drive is.
You need a space before the
<link rel="stylesheet" type="text/css" href="c:\Calendar.css"/>
That code is referencing a file on your own computer's hard disk. It won't work for anyone else. The string
"c:\Calendar.css" is a DOS or Windows disk path. The Internet doesn't know what those are. The only place this works is if the page is open on the Windows computer the files are actually stored on.Many servers don't have the foggiest notion of what a "c:" drive is.
You need a space before the
/> portion of the tag. Otherwise, IE generates an error condition. Last edited by MidiMagic : Oct 7th, 2007 at 1:28 am.
Daylight-saving time uses more gasoline
![]() |
•
•
•
•
•
•
•
•
DaniWeb JavaScript / DHTML / AJAX Marketplace
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
- how to make a CSS file (HTML and CSS)
- Have a problem with centering "jpg" files (HTML and CSS)
- What is wrong wtih my css? (JavaScript / DHTML / AJAX)
- Moving <form></form> to an external file? (HTML and CSS)
- Css ? (HTML and CSS)
- CSS Quicky (HTML and CSS)
Other Threads in the JavaScript / DHTML / AJAX Forum
- Previous Thread: auto refresh
- Next Thread: extract links from page to new window



Linear Mode