Results 1 to 11 of 11

Thread: CSS problems

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Sep 2001
    Posts
    152

    Exclamation 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

  2. #2
    Frenzied Member Mark Sreeves's Avatar
    Join Date
    Nov 1999
    Location
    UK
    Posts
    1,845
    I think you might need to post your style-sheet and one of the html files for us to have a look at.
    Mark
    -------------------

  3. #3
    Black Cat JoshT's Avatar
    Join Date
    Nov 2000
    Location
    WNY, USA
    Posts
    4,032
    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.

  4. #4

    Thread Starter
    Addicted Member
    Join Date
    Sep 2001
    Posts
    152
    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

  5. #5

    Thread Starter
    Addicted Member
    Join Date
    Sep 2001
    Posts
    152

    Exclamation 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

  6. #6
    scoutt
    Guest
    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.

  7. #7

    Thread Starter
    Addicted Member
    Join Date
    Sep 2001
    Posts
    152

    Exclamation 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

  8. #8

    Thread Starter
    Addicted Member
    Join Date
    Sep 2001
    Posts
    152

    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,

  9. #9

    Thread Starter
    Addicted Member
    Join Date
    Sep 2001
    Posts
    152

    Exclamation 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

  10. #10
    scoutt
    Guest
    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.

  11. #11

    Thread Starter
    Addicted Member
    Join Date
    Sep 2001
    Posts
    152

    Exclamation 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
  •  



Click Here to Expand Forum to Full Width