how to :hover over a div (Hours) to display a box with more details

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ashleyeppedio
    New Member
    • Mar 2014
    • 1

    how to :hover over a div (Hours) to display a box with more details

    i'm writing code for a restaurant website. Displaying all the actual hours in which the restaurant is opened takes up to much room. how would i only display 'Hours' and then when hovered, a box will display with all the hours in it (Mon-Wed: 10:00-5:00 thurs :11:00-6:00 ect;), overlapping whatever it needs to for that moment.
  • Luuk
    Recognized Expert Top Contributor
    • Mar 2012
    • 1043

    #2
    Code:
    <html>
            <head>
            </head>
            <body>
                    <div title="(Mon-Wed: 10:00-5:00 thurs :11:00-6:00">Hours</div>
            </body>
    </html>

    Comment

    Working...