Jump to content

How do I make my rounded corners extend?


Jarod

Recommended Posts

I've completed it a bit, but not entirely because I cant get the rounded corners to work the way they're suppose to. Here are the images I am using:

 

2z4wvaq.png

http://i45.tinypic.com/2z4wvaq.png

1zyx4oy.png

http://i50.tinypic.com/1zyx4oy.png

 

This is how they would look if working:

23sx386.png

 

 

AND here is the code I used (HTML)

		<div id="main_menu">
		<ul>
			<li><a href="#"><span class="side" id="selected">Home<span class="mm_desc">welcome!</span></span></a></li>
			<li><a href="#"><span class="side">About<span class="mm_desc">up and personal</span></span></a></li>
			<li><a href="#"><span class="side">Portfolio<span class="mm_desc">all the workpieces</span></span></a></li>
		</ul>
	</div>

 

And here is the CSS code:

@charset "utf-8";
/* CSS Document */

#main_menu {
float: right;
}

#main_menu ul {
margin: 30px;
padding: 0;
}
#main_menu ul li {
	display: inline;
	margin: 0 5px;
}
	#main_menu ul li a {
		background: url(../img/menu_button_ext.png) no-repeat left;
		padding: 13px 15px;
		display: inline-block;
		color: #808080;
		text-decoration: none;
		text-shadow: 1px 1px 0 #e9e9e9;
		font-weight: 700;
	}
	#main_menu ul li a:hover {
		color: #404040;
		text-shadow: 1px 1px 0 #d9d9d9;
	}
	#main_menu ul li #selected {
		color: #404040;
		text-shadow: 1px 1px 0 #d9d9d9;
	}
	#main_menu ul li a side {
		background: url(../img/menu_button_side.png) no-repeat right;
	}

	#main_menu ul li a span.mm_desc {
		display: block;
		font-weight: normal;
	}

 

 

 

Any reason why it isn't working???  :confused:

Link to comment
Share on other sites

you didnt really explain the problem but i am guessing that you are getting blank space inbetween some that have large lines of content, to solve this issue you would take a slice from the end of one of those images and set it as the background in the main containing div or li in this case with repeat-x so that it covers any area that is not covered.

Link to comment
Share on other sites

I fixed it now, I've never done this and didn't look at any tutorial (still didnt cuz I didnt know where to look for one at o.O). The problem was that for some reason the li tag wouldn't show the image, so I just made another base for the sliding image to stand on. It's working now.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.