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.

Tabbed navigation problem in Internet Explorer (as always...)

Featured Replies

Hello,

 

I am in need of some help with my tabbed navigation, I am using three images (left, right and centre) and my code works perfectly fine in Firefox but as always, Internet Explorer is a pain in the ass. In Internet explorer it does not show the full height of the tabs and the centre background image is raised above the left and right background images (about mid-way.)

 

My CSS:

#navigation {
float:right;
padding-top:60px;
text-transform:uppercase;
font-weight:bold;
height:30px;
}

#navigation ul {
list-style-type:none;
padding:0px;
margin:0px;
height:30px;
}

#navigation ul li {
display:inline;
background:url(images/nav_ctr.gif) top left repeat-x;
padding-top:7px;
padding-bottom:7px;
}

#navigation ul li a {
color:#333333;
background:url(images/nav_right.gif) top right no-repeat;
text-decoration:none;
padding:7px 10px 7px 0px;
}

#navigation ul li a span {
background:url(images/nav_left.gif) bottom left no-repeat;
padding-top:7px;
padding-bottom:7px;
padding-left:10px;
height:30px;
width:6px;
}

 

The HTML:

	<div id="navigation">
	<ul>
		<li><a href="index.html"><span>Link #1</span></a></li>
		<li><a href="index.html"><span>Link #2</span></a></li>
		<li><a href="index.html"><span>Link #3</span></a></li>
		<li><a href="index.html"><span>Link #4</span></a></li>
		<li><a href="index.html"><span>Link #5</span></a></li>
	</ul>
</div>

 

Please help me out if you have the time and might know what's wrong, oh and I know a lot of my CSS is unnecessary code, a lot was added in to try fix it...

 

Thanks,

Greeny

I created a a website using this technique a while back. If you pm me I'll send you a linky and you can take a look at the code on the site. I presume you have firebug?

 

Beg your pardon - just looked at your images. I used fixed images. Maybe this is what you need? http://www.alistapart.com/articles/slidingdoors/

  • Author

I created a a website using this technique a while back. If you pm me I'll send you a linky and you can take a look at the code on the site. I presume you have firebug?

 

Beg your pardon - just looked at your images. I used fixed images. Maybe this is what you need? http://www.alistapart.com/articles/slidingdoors/

Thank you for your reply, I will certainly use that technique if nobody finds a solution to my current code, I tried a similar technique myself but couldn't get it working which is when I split the image into three separate images. After spending two hours trying to fix my current code it would bug me to just use somebody else's. xD

 

Thanks again,

Greeny

 

EDIT: Well, I do need to get on with this code so I gritted my teeth and used the better method kindly linked by Guezala.

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.