No announcement yet.

Need a small CSS hint..(Dreamweaver4)

  • Filter
  • Time
  • Show
Clear All
new posts

  • Need a small CSS hint..(Dreamweaver4)

    Ok..blindness has struck me...
    I have the manual..
    I have tutorials..
    I haven't got a clue...
    I'm doing something wrong...
    HEEEEEEEEEEEEEEELP it is (don't laugh..)
    I'm making links for my website, using CSS
    I've defined a:link
    I've defined a:hover
    Now.. I CAN apply the a:link CSS to the word, but NOT, I repeat NOT the a:hover CSS to the same word...

    I know it's easy..I just don't see what I'm doing wrong...
    old age?

  • #2
    Seems like everyone's having CSS problems this week...

    Greg has a thread on CSS HERE that might be helpful to you...


    • #3
      Don't know if I'm qualified yet to answer this's my understanding that if you use the "a" tags in a style sheet, it modifies the existing html tag. In other words all you have to do is type your text, highlight and set whatever the link is. There is no need to apply the a: tags to any word. If your CSS sheet is attached and formatted properly, your links and hover effects should automatically show up in your browser....unless you are running Netscape Communicator which, as I understand, does not fully support CSS.


      • #4
        Preview Mode

        I can think of four reasons why it might not be working:

        1. I don’t know if you are hand coding or using a program such as FrontPage or HomeSite, but if you are using a program, the hover function won’t show up until you switch to preview mode. Just a thought.

        2. Something is coded incorrectly.

        3. In IE, if you want to use "A:hover", make sure always to use "A:link". Otherwise, IE will ignore your "A:hover" rule.

        4. Also Greg is right the CSS don't work the same in all browers:
        The hover pseudo-class, which is necessary to set the color of links when moused over, is supported (so far) by Internet Explorer 4 and above and Netscape 6. Netscape 4.XX and below do not support this functionality. Other browsers may or may not depending on their level of CSS support.

        Last edited by T Paul; 06-21-2002, 06:42 PM.


        • #5
          Doug uses it here...take a look at the source for here. I usually go somewhere where something I want to do works (like it does here) and see where my code differs. THEN you can more precisely figure out why after you've narrowed it down to one or two.


          • #6
            Ok, found it...
            me donkey....

            Did everything right, but since it was 4 am I simply (DUH...) forgot to actually assign a link to the words I wanted to use as a link making it, well..not a link, really..
            Hence a:hover and a:link felt no obligation to make these words behave like a link in any way..and I can't blame them, of course...

            Thanks for all the imput
            And let this be a lesson to you all..never work until 4am untless you have abundant supplies of black coffee and..pretzels.


            • #7
              2-4 am is my most creative time!


              • #8
                Of course it is...watching re-runs on Discovery channel with one eye, having Illustrator, photoshop and dreamweaver open at the same time, and suddenly realising you don't know which one you're actually working in...absent-mindedly stirring your scalding hot coffee with your Wacom Art-pen...using your original Quark X-press CD as a coaster...and noticing how cute the paws of your beloved cat look on your not-yet-dry A3 size photo-quality print..
                No, nothing beats the 2-4am slot !


                Related Topics


                • Doug Nelson
                  We need your bookmarks
                  by Doug Nelson
                  OK, I got the bugs out of the new software (most of them, anyway). There's still a couple of ugly pages, but that's my fault and not the programmer's. I'm fixing them as I spot them (you'd be surprised at how many there are).

                  So, what have I been babbling about, you ask?

                  11-17-2001, 05:20 AM
                • jeaniesa
                  Need help understanding Opera
                  by jeaniesa
                  I'm supposed to be ignoring Opera for the time being and just getting my site up and running, but this problem is really driving me crazy. Here's the issue. I have implemented pull-down menus for my site using JavaScript. They work great in all browsers EXCEPT Opera. In Opera, they don't show up...
                  02-28-2003, 11:11 AM
                • Craig Walters
                  Welcome to the Library Support Forum
                  by Craig Walters
                  Doug has set up a new area here on RetouchPro we're calling our Library. This is a place to put all of your graphics related links, all those places you go for tutorials and plug-ins and helps and all those things which aid in your graphics work.

                  The address is as follows: http://www...
                  10-14-2006, 12:00 AM
                • rondon
                  for aerial view junkies
                  by rondon
                  This is pretty neat... From Nasa I think! a zoomable globe that actually does get you down fairly close... in color yet. it does a lot more than that.Retrieves current data and all that.

                  This is a Major Download A friend with Hi speed retrieved it for me.
                  Also it seems you want...
                  04-03-2005, 01:50 PM
                • CJ Swartz
                  Missing scroll bar?
                  by CJ Swartz
                  My scroll bar, normally on the right side of my window, has "disappeared" today when I visit RetouchPro sites. The scroll bar is in view on other websites, and works normally. In RetouchPro, I have to view in full-screen mode to have a scroll bar. (This is do-able, but restricts my access...
                  08-31-2002, 09:17 PM