www.webdeveloper.com
Results 1 to 2 of 2

Thread: How to set hovver impact inside box?

  1. #1
    Join Date
    Sep 2005
    Posts
    1,635

    How to set hovver impact inside box?

    I like to get coloured boxes which are rounded when I hover.

    Please find the following script as sample:
    PHP Code:

    <div id="myboxes">

    <
    div class="item1">
    <
    a href="">
    <
    img width="280" height="280" alt="" src="images/myitem1.jpg">
    </
    a>
    </
    div>

    </
    div
    and CSS CLASS:
    PHP Code:

    #myboxes .item1 {
        
    border-radius10px 10px 10px 10px;
        
    floatleft;
        
    width280px;
        
    height280px
    }
    #myboxes .item1.hover {
        
    backgroundnone repeat scroll 0 0 #000000;
        
    cursorpointer;
    }
    #myboxes .item1.hover a {
        
    text-decorationnone;

    Why is hover not working? Need help.

  2. #2
    Join Date
    Dec 2011
    Posts
    74
    it should be .item1:hover {

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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



Recent Articles