10-24-2003, 07:55 AM | #1 (permalink) |
Psycho
Location: cali
|
css and html linkage
i have a basic html page typed up, i tried validating it at that validator.w3.org, but it keeps telling me that it can't find an xml declaration. but it's not xml, it's only html.
well anyways, my questions are: 1) is there any way the hosting server can restrict use of .css? i thought it was a standard. at first i thought it was the way i was including the .css file, but it works locally and doesn't work from the server 2) is there any way i can create a link, w/o use of pictures, that do not have an underline? i'm sure i can make the visited/unvisited link the same color so they look the same, but there is still the matter of the underline that would make things look weird thanks in advance
__________________
no man or woman is worth your tears - and the one who is, won't make you cry question authority, don't ask why, just do it! |
10-24-2003, 09:33 AM | #2 (permalink) |
Rookie
Location: Oxford, UK
|
To turn off link underlining, use:
a { text-decoration: none } in your stylesheet. As for why the css isn't working, can you post an example of how you're including it? You may be using something which references your machine or similar. Where have you put the css file on the server?
__________________
I can't understand why people are frightened of new ideas. I'm frightened of the old ones. -- John Cage (1912 - 1992) |
10-24-2003, 01:09 PM | #3 (permalink) |
Psycho
Location: cali
|
i have the .css file in the same folder as the html document. i realized what was goin on though. i failed to realize it was hosted on a unix box. being the attempted good coder that i tried to be, i had everything embedded (indented) and in caps for easier reading, however, when i saved the .css file, i named it styles.css and called for it as STYLES.CSS. when i changed the caps, it works. silly me.
thanks tho cliche
__________________
no man or woman is worth your tears - and the one who is, won't make you cry question authority, don't ask why, just do it! |
10-25-2003, 02:36 PM | #4 (permalink) |
Rookie
Location: Oxford, UK
|
Ahhh.. lovely case sensitivity! I often get funny looks from people who notice I refuse to name any files on my (Win2k) PC with capitals...
Glad it's working!
__________________
I can't understand why people are frightened of new ideas. I'm frightened of the old ones. -- John Cage (1912 - 1992) |
Tags |
css, html, linkage |
|
|