|
-
Apr 17th, 2002, 04:52 PM
#1
Thread Starter
Addicted Member
CSS problems
i have a css on a .css file, which all of my sites link to, not something new, but when I use it, it doesnt work, the links and stuff are blue when i stated in the css file that they should be grey with no underline, and yet it is blue with and underline, when i mouse over it changes color like i specified, but it also changes sizes, which i didnt specify, and when i click it it goes to the way that i wanted it, but the initial time i use the links, they are totally different than what i wanted
-
Apr 18th, 2002, 02:33 AM
#2
Frenzied Member
I think you might need to post your style-sheet and one of the html files for us to have a look at.
-
Apr 18th, 2002, 11:13 AM
#3
Black Cat
www.w3.org will also validate your style sheet's syntax.
Josh
Get these: Mozilla Opera OpenBSD
I have books for sale: "MCSD in a Nutshell" and "VB Distributed Exam Cram" - PM me for details. Will also trade for a decent ATX Pentium 2 MB/CPU/RAM combo.
-
Apr 18th, 2002, 08:13 PM
#4
Thread Starter
Addicted Member
www.mikes-homepage.dns2go.com is the url for my homepage, and for the style sheet just go to www.mikes-homepage.dns2go.com/style.css and open it with notepad
-
Apr 19th, 2002, 04:00 PM
#5
Thread Starter
Addicted Member
ok, new developments
ok, if u check out my site as of now, you will notice that the link font color is the way it is supposed to be, i added the "Link = #BBBBBB" to the body tag, thats why, the CSS isnt working initialy, now, before doing anything click "refresh" and like magic, the CSS comes into play, please help me figure this out
-
Apr 19th, 2002, 04:48 PM
#6
if you had to hit refresh to get it to work then I would clear out you TIF (Temporary Intenet Files) and cookies and restart. it worked just fine for me.
-
Apr 19th, 2002, 06:53 PM
#7
Thread Starter
Addicted Member
didnt work
I can't understand this, has anyone looked at the code? perhaps it is the server i am using, maybe i will try relocating my style sheet and seeing what that does, if someone would be so kind as to reveiw my code and perhaps catch something i didnt, please do so! that would be greatly appreciated. I'll tell you if moviing my style sheet works though
-
Apr 19th, 2002, 07:06 PM
#8
Thread Starter
Addicted Member
that didnt work either
well, i switched the style sheet to a different server and............
same results. There must be a flaw in the code, because this is happening on several different computers, so can someone just take a minute to see if they can find the problem for me? I cant figure it out, is it where i placed the link to the style sheet, is it the style sheets coding? it works whenevr i refresh the page, after clearing the history, im not getting this, try it yourselves, the liks are above,
-
Apr 19th, 2002, 07:29 PM
#9
Thread Starter
Addicted Member
new idea
what if i pasted the code into each individual page? would that fix my problem? im just thinking that it is going to be a real pain doing that incase i want to change somehting
-
Apr 19th, 2002, 07:36 PM
#10
well it worked the first time but now it doesn't. so I have seen teh code and take this out
<style type="text/css"></style>
there is to be no html tags in there or it won't run properly.
also add
a:active {color: #BBBBBB; text-decoration: none; font-size: 13pt}
under the hover one. you have the correct order so it goes there.
-
Apr 19th, 2002, 07:46 PM
#11
Thread Starter
Addicted Member
YES!
YEAH BABY!!! its working now! THANKS ALOT DUDE!! i dint update it, i cant access my server right now, but workin wiht them just off of the computer im on right now fixed it up, thanks a lot. Thers nothing like the feeling of finding a solution to a lingering problem in programing
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
|