Adding rounded corners to a nav bar CSS?

Try adding a div at the beginning of nav and at the end.

Try adding a div at the beginning of #nav, and at the end. //anchor tags then do this for CSS: (assuming your rounded corner image is 15px wide) #nav { padding: 0 15px; } #nav-left, #nav-right { float: left; height: 15px; width: 15px; } Then apply rounded corner image.

I did try this but it did not work hence my post. Left and right side images are different. – jason Aug 17 '09 at 5:58 What isn't working?

And you can apply different styles to each side if the images are different. – peirix Aug 17 '09 at 6:04 Thanks peirix adapted your code a bit. #nav { position:relative; top:140px; padding:0px; } #nav-left { background-image:url(../images/menu_l.

Png); background-repeat:no-repeat; float: left; height: 44px; width: 11px; } #nav-right { background-image:url(../images/menu_r. Png); background-repeat:no-repeat; float: left; height: 44px; width: 11px; } – jason Aug 17 '09 at 6:22 urrrr, that didn't come out right but rest assured it works. Thanks – jason Aug 17 '09 at 6:23.

The easy way to do this in some modern browsers is to add something like: -moz-border-radius: 8px; -webkit-border-radius: 8px; which will handle mozilla-based and safari-like (webkit-based) browsers. Alas, IE is more complicated.

If you're going with this, you might want to add border-radius: 8px;. Even though it's not supported by any browser yet, it probably will down the line, and you might as well add it now. – peirix Aug 17 '09 at 5:54 Surely that would work in IE6?Lol.

I think I might have to stick with something a bit more traditional. Thanks Peter – jason Aug 17 '09 at 5:55.

You could set the left background on the first link and the right background on the #nav element. You could also set the left bg on the #nav and the right on the #nav by using the content selector ::after.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions