Unless I'm mistaken you are trying to get 3 images to appear side by side. This is easy enough to achieve with CSS. Have you had difficulty with lining them up using CSS?
hericles
Practically a Posting Shark
823 posts since Nov 2007
Reputation Points: 136
Solved Threads: 169
You're probably going to want something along the lines of this. The :before and :after selectors may not work in all browsers and I believe it's CSS3.
The code below has not been tested, but I don't see why it shouldn't work.
<html>
<head>
<style type="text/css">
#menu {
list-style:none;
margin:0;
padding:0;
}
#menu li {
float:left;
}
#menu a:before {
display:block;
background:url(@Url.Content("~/Content/MenuButtonLeft.gif")) no-repeat top right;
width:6px;
height:32px;
}
#menu a {
display:block;
width:130px;
line-height:32px;
}
#menu a:after {
display:block;
background:url(@Url.Content("~/Content/MenuButtonRight.gif")) no-repeat top right;
width:6px;
height:32px;
border-right:1px solid #3a4044;
}
</style>
</head>
<body>
<ul id="menu">
<li>@Html.ActionLink("Order", "../Order/Index")</li>
</ul>
</body>
</html>
epicrevolt
Junior Poster in Training
94 posts since Oct 2010
Reputation Points: 16
Solved Threads: 6