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.

Bottom Strip Of Button Image?

Featured Replies

Hi, I have a very very strange problem lol...

 

I am adding a navbar into my website, but seeing as I am not used to do this via css I get a weird problem which is instead of my entire button showing up, I get a strip of it.

I attached it into the post..here is my code.

 

	<ul id="navlist">
  <li><a id="n1" href="index.htm">Home</a></li>
  <li><a id="n2" href="">News</a></li>
  <li><a id="n3" href="">Events</a></li>
  <li><a id="n4" href="">Reviews</a></li>
  <li><a id="n5" href="">Forum</a></li>
  <li><a id="n6" href="">Contact Us</a></li>
  <li><a id="n7" href="">Links</a></li>
</ul>

 

#navlist{
margin-left: 0px;
padding-left: 0px;
white-space: nowrap;
position: absolute;
height: 27px;
width: 777px;
top: 225px;
}
#navlist li{
display: inline;
list-style-type: none;
}
#navlist a {
padding: 3px 10px;
background-image: url(images/button.jpg);
height: 20px;
width: 91px;
display: inline;
position: absolute;
text-align: center;
color: #fff;
text-decoration: none;
}
#navlist a:hover{background-image: url(images/buttonover.jpg);}
#n1{left: 0px;}
#n2{left: 111px;}
#n3{left: 222px;}
#n4{left: 333px;}
#n5{left: 444px;}
#n6{left: 555px;}
#n7{left: 666px;}

 

I used an old template for help with it, but I still can't get it right..

 

Thanks

post-11232-1239833442_thumb.png

Have you tried changeing the line-height ? I had a similar problem and I had the line-height to high for the div my links were in.

 

have you got a screen shot?

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.