Results 1 to 3 of 3

Thread: Css

  1. #1
    Join Date
    Feb 2014
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Css

    please send me the code for How to highlight a thumbnail image when selected

    Mod's note:

    When you post on Dynamic Drive, you need to have a clear, well-defined question. It is difficult for anyone to help when they are not sure what you need.

    In addition, please be polite and considerate of the members who volunteer their time and knowledge to help you. DynamicDrive is a learning community: when you ask a question, you need to tell us
    • what you are trying to accomplish (be specific!)
    • what you have already tried
    • what happened (vs. what you expected to happen)
    • share all relevant code and/or link to the page in question


    In contrast, DD is not a place where you get others to do your work for you. If that is all you want, you should consider hiring a programmer instead.

    Please read our FAQs before posting again. You will receive infractions if you do not follow these guidelines, which can lead to a ban (temporary or permanent) very quickly.

    —Adrian
    Last edited by traq; 02-28-2014 at 04:38 AM.

  2. #2
    Join Date
    Mar 2010
    Location
    Florida
    Posts
    512
    Thanks
    9
    Thanked 61 Times in 59 Posts

    Default

    What do you mean highlight? Like place a border around the image over cover the image in with a certain color?
    -DW [Deadweight]
    Resolving your thread: First Post: => EDIT => Lower right: => GO ADVANCED => Top Advance Editor drop down: => PREFIX:Resolved

  3. #3
    Join Date
    Sep 2007
    Location
    The Netherlands
    Posts
    1,839
    Thanks
    49
    Thanked 247 Times in 239 Posts
    Blog Entries
    56

    Default

    As Crazykld69 mentioned, it depends on how you want to do the highlighting. For borders, you could do something like:
    <style>
    img {border: 1px solid transparent}
    img:hover {border: 1px solid red}
    </style>

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •