Skip to content
View in the app

A better way to browse. Learn more.

Web Designer Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Css menu with rollover

Featured Replies

Got a Problem and can't remember how to do it.

 

Have sorted my menu, and the rollover part. But for the life of me, I can't remember how to make it so people know what page they are on.

 

Here's my code

#menu	{
list-style:none;
height:50px;
position:relative;
padding-top:218px;
}

#menu span {
display:none;
position:absolute;
}

#menu a	{
display:block;
text-indent:-900%;
position:absolute;
outline:none;
}

#menu a:hover {
background-position: left, bottom;
}

#menu a:hover span{
display:block;
}

#menu .home	{
width:76px;
height:35px;
background:url(images/home.gif) no-repeat;
left:15px;
top:73px;
}

#menu .home span	{
width:76px;
height:35px;
background:url(images/home-over.gif) no-repeat;
left:0px;
top:0px;
}

#menu .about	{
width:113px;
height:36px;
background:url(images/about.gif) no-repeat;
left:96px;
top:73px;
}

#menu .about span	{
width:113px;
height:36px;
background:url(images/about-over.gif) no-repeat;
left:0px;
top:0px;
}

#menu .services	{
width:107px;
height:37px;
background:url(images/services.gif) no-repeat;
left:206px;
top:73px;
}

#menu .services span	{
width:107px;
height:37px;
background:url(images/services-over.gif) no-repeat;
left:0px;
top:0px;
}

#menu .portfolio	{
width:119px;
height:36px;
background:url(images/portfolio.gif) no-repeat;
left:306px;
top:73px;
}

#menu .portfolio span	{
width:119px;
height:36px;
background:url(images/portfolio-over.gif) no-repeat;
left:0px;
top:0px;
}

#menu .contact	{
width:129px;
height:36px;
background:url(images/contact.gif) no-repeat;
left:406px;
top:73px;
}

#menu .contact span	{
width:129px;
height:36px;
background:url(images/contact-over.gif) no-repeat;
left:0px;
top:0px;
}

  • Author

Had a bit of an epiphany! I remember adding a body id, but that's all I remember. <_<

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.