kjsadeghi
asked on
ASP.Net Menu Control background image with CssClass
Hi,
Trying to place a backround image for StaticMenuItemStyle, StaticHoverStyle & StaticSelectedStyle by using the CssClass property.
When I specify a backround image in a CssClass it shows up but it appears as if the text of the menu item inherits this backround property as well. So I end up with one backround image for the menuitem box and a squashed version of the backround image behind the text.
Trying to place a backround image for StaticMenuItemStyle, StaticHoverStyle & StaticSelectedStyle by using the CssClass property.
When I specify a backround image in a CssClass it shows up but it appears as if the text of the menu item inherits this backround property as well. So I end up with one backround image for the menuitem box and a squashed version of the backround image behind the text.
All you have to do is set the background of the element containing the text to "none". If you give some sample code, then I might be able to help more.
ASKER
Below are the classes but these apply to the menubox itself I do not know what the font element is called in CSS with respect to the ASP.Net menu control.
.menuclass
{
border-top:solid 0px black;
border-right:solid 1px #b1b1b1;
border-left: solid 0px white;
border-bottom:solid 0px white;
font-family:Verdana;
font-size:smaller;
background-image:url('/ima ges/menugl oss.gif');
font-weight:bold;
}
.menuitemselected
{
border-top:solid 0px black;
border-right:solid 1px #b1b1b1;
border-left: solid 0px white;
border-bottom:solid 0px white;
font-family:Verdana;
font-size:smaller;
background-image:url('/ima ges/menuwh itegloss.g if');
font-weight:bold;
}
.menuitemhover
{
border-top:solid 0px black;
border-right:solid 1px #b1b1b1;
border-left: solid 0px white;
border-bottom:solid 0px white;
font-family:Verdana;
font-size:smaller;
background-image:url('/ima ges/menuho verover.gi f');
font-weight:bold;
}
.menuclass
{
border-top:solid 0px black;
border-right:solid 1px #b1b1b1;
border-left: solid 0px white;
border-bottom:solid 0px white;
font-family:Verdana;
font-size:smaller;
background-image:url('/ima
font-weight:bold;
}
.menuitemselected
{
border-top:solid 0px black;
border-right:solid 1px #b1b1b1;
border-left: solid 0px white;
border-bottom:solid 0px white;
font-family:Verdana;
font-size:smaller;
background-image:url('/ima
font-weight:bold;
}
.menuitemhover
{
border-top:solid 0px black;
border-right:solid 1px #b1b1b1;
border-left: solid 0px white;
border-bottom:solid 0px white;
font-family:Verdana;
font-size:smaller;
background-image:url('/ima
font-weight:bold;
}
Can you do a "view source" on your web page and copy and paste the generated html for your menu here?
ASKER
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head><link href="swisssun.css" rel="stylesheet" type="text/css" /><title>
Swiss Property
</title><style type="text/css">.eo_tag_st yle{}</sty le>
<style type="text/css">
.eo_css_ctrl_ctl00_Content PlaceHolde r2_TabStri p11 {color:#606060}
.eo_css_ctrl_ctl00_Content PlaceHolde r2_TabStri p12 {color:#2f4761;font-weight :bold}
.eo_css_ctrl_ctl00_Content PlaceHolde r2_TabStri p13 {background-image:url(/eo_ web.ashx?i d=591d2633 -171b-4b89 -8cf0-f96c 0f8d5006); background -repeat:re peat-x;cur sor:pointe r;cursor:h and;font-f amily:taho ma;font-si ze:8pt}
.eo_css_ctrl_ctl00_Content PlaceHolde r2_TabStri p14 {font-size:Small;font-weig ht:bold}
.eo_css_ctrl_ctl00_Content PlaceHolde r2_TabStri p15 {color:#c00000;font-size:Small;fo nt-weight: bold}
</style>
<style type="text/css">
.ctl00_Menu1_0 { background-color:white;vis ibility:hi dden;displ ay:none;po sition:abs olute;left :0px;top:0 px; }
.ctl00_Menu1_1 { text-decoration:none; }
.ctl00_Menu1_2 { }
.ctl00_Menu1_3 { color:White;font-family:Ta homa;font- size:Small ;border-st yle:none; }
.ctl00_Menu1_4 { background-color:#404040;h eight:25px ;padding:0 px 10px 0px 10px; }
.ctl00_Menu1_5 { color:Black;font-weight:bo ld;border- style:none ; }
.ctl00_Menu1_6 { background-color:White; }
.ctl00_Menu1_7 { color:Black;border-style:n one; }
.ctl00_Menu1_8 { color:Black;background-col or:AliceBl ue; }
</style></head>
<body class="oneColFixCtrHdr">
<form name="aspnetForm" method="post" action="swiss-property.asp x" id="aspnetForm">
<div>
<input type="hidden" name="__EVENTTARGET" id="__EVENTTARGET" value="" />
<input type="hidden" name="__EVENTARGUMENT" id="__EVENTARGUMENT" value="" />
<input type="hidden" name="__eo_obj_states" id="__eo_obj_states" value="" />
<input type="hidden" name="__VIEWSTATE" id="__VIEWSTATE" value="/wEPDwUKLTQ0Mjk1NjY 4MQ9kFgJmD 2QWAgIDD2Q WBAIDDzwrA A0CAA8WAh4 LXyFEYXRhQ m91bmRnZAw UKwACBQMwO jAUKwACFhA eBFRleHQFB EhvbWUeBVZ hbHVlBQRIb 21lHgtOYXZ pZ2F0ZVVyb AUUL3N3aXN zLXByb3Blc nR5LmFzcHg eB0VuYWJsZ WRnHgpTZWx lY3RhYmxlZ x4IRGF0YVB hdGgFFC9zd 2lzcy1wcm9 wZXJ0eS5hc 3B4HglEYXR hQm91bmRnH ghTZWxlY3R lZGcUKwAHB RcwOjAsMDo xLDA6MiwwO jMsMDo0LDA 6NRQrAAIWD h8BBRBQcm9 wZXJ0eSBMa XN0aW5nHwI FEFByb3Blc nR5IExpc3R pbmcfAwUdL 3N3aXNzLXB yb3BlcnR5L Wxpc3Rpbmd zLmFzcHgfB GcfBWcfBgU dL3N3aXNzL XByb3BlcnR 5LWxpc3Rpb mdzLmFzcHg fB2dkFCsAA hYOHwEFEE5 ldyBEZXZlb G9wbWVudHM fAgUQTmV3I ERldmVsb3B tZW50cx8DB RUvbmV3ZGV 2ZWxvcG1lb nRzLmFzcHg fBGcfBWcfB gUVL25ld2R ldmVsb3BtZ W50cy5hc3B 4HwdnZBQrA AIWDh8BBQ9 CZXNwb2tlI ENoYWxldHM fAgUPQmVzc G9rZSBDaGF sZXRzHwMFD S9iZXNwb2t lLmFzcHgfB GcfBWcfBgU NL2Jlc3Bva 2UuYXNweB8 HZ2QUKwACF g4fAQUHRml uYW5jZR8CB QdGaW5hbmN lHwMFDS9ma W5hbmNlLmF zcHgfBGcfB WcfBgUNL2Z pbmFuY2UuY XNweB8HZ2Q UKwACFg4fA QUSUmVzb3J 0IEluZm9yb WF0aW9uHwI FElJlc29yd CBJbmZvcm1 hdGlvbh8DB RAvcmVzb3J 0aW5mby5hc 3B4HwRnHwV nHwYFEC9yZ XNvcnRpbmZ vLmFzcHgfB 2dkFCsAAhY OHwEFCkNvb nRhY3QgVXM fAgUKQ29ud GFjdCBVcx8 DBQ8vY29ud GFjdHVzLmF zcHgfBGcfB WcfBgUPL2N vbnRhY3R1c y5hc3B4Hwd nZGQCBQ9kF gQCAQ9lZAI DD2VkGAIFH l9fQ29udHJ vbHNSZXF1a XJlUG9zdEJ hY2tLZXlfX xYBBSNjdGw wMCRDb250Z W50UGxhY2V Ib2xkZXIyJ FRhYlN0cml wMQULY3RsM DAkTWVudTE PD2QFBEhvb WVkvThYgYU Ydq+JD7P9P Nnept2ZAko =" />
</div>
<script type="text/javascript">
<!--
var theForm = document.forms['aspnetForm '];
if (!theForm) {
theForm = document.aspnetForm;
}
function __doPostBack(eventTarget, eventArgument) {
if (!theForm.onsubmit || (theForm.onsubmit() != false)) {
theForm.__EVENTTARGET.valu e = eventTarget;
theForm.__EVENTARGUMENT.va lue = eventArgument;
theForm.submit();
}
}
// -->
</script>
<script src="/WebResource.axd?d=GT faJoU6iMAw p8Gk0VGEWA 2&t=63 3197860680 298750" type="text/javascript"></s cript>
<script src="/WebResource.axd?d=Kr 7LUocSAy9I 3VvyGHgHOw 2&t=63 3197860680 298750" type="text/javascript"></s cript><div id="eo_root"></div>
<script type="text/javascript">
//<![CDATA[
var _eo_form='aspnetForm';
var _eo_autoInit=false;
var _eo_handlerUrl='/eo_web.as hx';
var _eo_imgdir=null;
//]]>
</script>
<script type="text/javascript" src="/eo_web.ashx?id=5843e 9a6-2f89-4 0c9-bcaa-c 3e6dd990f0 6"></scrip t>
<script type="text/javascript">
//<![CDATA[
if (!window._eo_js && window._eo_autoInit && window.confirm("EO.Web Controls Client Side Debug Message:\r\n\r\nThe control library wasn't able to automatically initialize correctly. Please refer to http://www.essentialobjects.com/Go.aspx?id=1002 for instructions on how to intialize EO.Web controls manually.\r\n\r\nSelect OK to redirect to the above page automatically."))window.lo cation.hre f="http://www.essentialobjects.com/Go.aspx?id=1002";
//]]>
</script>
<script type="text/javascript" src="/eo_web.ashx?id=a4da7 f0d-c845-4 ac1-b14a-5 d6a49f14ba 7"></scrip t>
<script type="text/javascript" src="/eo_web.ashx?id=6688e 468-8f20-4 145-a7d5-1 49cb8d67e2 5"></scrip t>
<script type="text/javascript" src="/eo_web.ashx?id=80cde 6fe-b85c-4 9ef-9043-3 4b58935608 9"></scrip t>
<script type="text/javascript" src="/eo_web.ashx?id=a24fb aaa-cd18-4 ed3-a65c-5 a02d13f99e b"></scrip t>
<script type="text/javascript" src="/eo_web.ashx?id=03785 76f-5aa5-4 273-aa9e-9 603e6c5c63 6"></scrip t>
<script type="text/javascript" src="/eo_web.ashx?id=c82ef 6f7-8bc4-4 3ca-a0b0-c 6db9e3deba e"></scrip t>
<script type="text/javascript" src="/eo_web.ashx?id=3aae8 05b-21fb-4 df1-b3b1-f d6833e5d68 c"></scrip t>
<div id="container">
<div id="header">
<!-- end #header -->
</div>
<div id="menu">
<a href="#ctl00_Menu1_SkipLin k"><img alt="Skip Navigation Links" src="/WebResource.axd?d=m5 CcGhwqXObH A_jfafy3qA 2&t=63 3197860680 298750" width="0" height="0" style="border-width:0px;" /></a><table id="ctl00_Menu1" class="ctl00_Menu1_2" cellpadding="0" cellspacing="0" border="0">
<tr>
<td onmouseover="Menu_HoverRoo t(this)" onmouseout="Menu_Unhover(t his)" onkeyup="Menu_Key(this)" id="ctl00_Menu1n0"><table class="menuclass ctl00_Menu1_4 menuitemselected ctl00_Menu1_6" cellpadding="0" cellspacing="0" border="0" width="100%">
<tr>
<td style="white-space:nowrap; "><a class="ctl00_Menu1_1 menuclass ctl00_Menu1_3 menuitemselected ctl00_Menu1_5" href="/swiss-property.aspx " style="border-style:none;f ont-size:1 em;">Home< /a></td>
</tr>
</table></td><td style="width:0px;"></td><t d><table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td style="width:0px;"></td><t d onmouseover="Menu_HoverSta tic(this)" onmouseout="Menu_Unhover(t his)" onkeyup="Menu_Key(this)" id="ctl00_Menu1n1"><table class="menuclass ctl00_Menu1_4" cellpadding="0" cellspacing="0" border="0" width="100%">
<tr>
<td style="white-space:nowrap; "><a class="ctl00_Menu1_1 menuclass ctl00_Menu1_3" href="/swiss-property-list ings.aspx" style="border-style:none;f ont-size:1 em;">Prope rty Listing</a></td>
</tr>
</table></td><td style="width:0px;"></td><t d style="width:0px;"></td><t d onmouseover="Menu_HoverSta tic(this)" onmouseout="Menu_Unhover(t his)" onkeyup="Menu_Key(this)" id="ctl00_Menu1n2"><table class="menuclass ctl00_Menu1_4" cellpadding="0" cellspacing="0" border="0" width="100%">
<tr>
<td style="white-space:nowrap; "><a class="ctl00_Menu1_1 menuclass ctl00_Menu1_3" href="/newdevelopments.asp x" style="border-style:none;f ont-size:1 em;">New Developments</a></td>
</tr>
</table></td><td style="width:0px;"></td><t d style="width:0px;"></td><t d onmouseover="Menu_HoverSta tic(this)" onmouseout="Menu_Unhover(t his)" onkeyup="Menu_Key(this)" id="ctl00_Menu1n3"><table class="menuclass ctl00_Menu1_4" cellpadding="0" cellspacing="0" border="0" width="100%">
<tr>
<td style="white-space:nowrap; "><a class="ctl00_Menu1_1 menuclass ctl00_Menu1_3" href="/bespoke.aspx" style="border-style:none;f ont-size:1 em;">Bespo ke Chalets</a></td>
</tr>
</table></td><td style="width:0px;"></td><t d style="width:0px;"></td><t d onmouseover="Menu_HoverSta tic(this)" onmouseout="Menu_Unhover(t his)" onkeyup="Menu_Key(this)" id="ctl00_Menu1n4"><table class="menuclass ctl00_Menu1_4" cellpadding="0" cellspacing="0" border="0" width="100%">
<tr>
<td style="white-space:nowrap; "><a class="ctl00_Menu1_1 menuclass ctl00_Menu1_3" href="/finance.aspx" style="border-style:none;f ont-size:1 em;">Finan ce</a></td >
</tr>
</table></td><td style="width:0px;"></td><t d style="width:0px;"></td><t d onmouseover="Menu_HoverSta tic(this)" onmouseout="Menu_Unhover(t his)" onkeyup="Menu_Key(this)" id="ctl00_Menu1n5"><table class="menuclass ctl00_Menu1_4" cellpadding="0" cellspacing="0" border="0" width="100%">
<tr>
<td style="white-space:nowrap; "><a class="ctl00_Menu1_1 menuclass ctl00_Menu1_3" href="/resortinfo.aspx" style="border-style:none;f ont-size:1 em;">Resor t Information</a></td>
</tr>
</table></td><td style="width:0px;"></td><t d style="width:0px;"></td><t d onmouseover="Menu_HoverSta tic(this)" onmouseout="Menu_Unhover(t his)" onkeyup="Menu_Key(this)" id="ctl00_Menu1n6"><table class="menuclass ctl00_Menu1_4" cellpadding="0" cellspacing="0" border="0" width="100%">
<tr>
<td style="white-space:nowrap; "><a class="ctl00_Menu1_1 menuclass ctl00_Menu1_3" href="/contactus.aspx" style="border-style:none;f ont-size:1 em;">Conta ct Us</a></td>
</tr>
</table></td><td style="width:0px;"></td>
</tr>
</table></td>
</tr>
</table><a id="ctl00_Menu1_SkipLink"> </a>
</div>
<div id="mainContent">
<div>
<script language="javascript" type="text/javascript">
</script>
<div id="pane1">
<!-- Begin EO.Web TabStrip TabStrip1. -->
<script type="text/javascript">
//<![CDATA[
var _eo_debug=true;
var _eo_aspnet11=0;
//]]>
</script><div style="position:absolute; top:-1000px;"><input type="hidden" name="eo_version" value="4.0.34.2" /></div>
<div id="ctl00_ContentPlaceHold er2_TabStr ip1">
</div>
<script type="text/javascript">
//<![CDATA[
window._eo_initobj_ctl00_C ontentPlac eHolder2_T abStrip1=f unction(){ var list="i|u|pop|ei|nv|m|ts". split("|") ;for(var i=0; i<list.length; i++) { if (!window.eo_modules || (("|"+window.eo_modules).i ndexOf("|" +list[i]+" |") < 0)) { window.setTimeout("_eo_ini tobj_ctl00 _ContentPl aceHolder2 _TabStrip1 ()", 100); return; } } _eofi_a.a.b.ctl00_ContentP laceHolder 2_TabStrip 1=1;_eofi_ b("_eo_o_c tl00_Conte ntPlaceHol der2_TabSt rip1","Tab Strip1",ne w _eofts_a([[[[,"ctl00_Conte ntPlaceHol der2_TabSt rip1","Tab Strip","ct l00$Conten tPlaceHold er2$TabStr ip1"],["/e o_web.ashx ?id=591d26 33-171b-4b 89-8cf0-f9 6c0f8d5006 "],"__doPo stBack('ct l00$Conten tPlaceHold er2$TabStr ip1','_eo_ arg_')",,, "None",,,, ,[]],4,0,, new _eofm_ai([[,10,,new _eofts_ae([[[,,new _eofi_dk([,new _eofm_ai([[,65536,"Swiss Sun",,,,,new _eofnv_fm([,"eo_css_ctrl_c tl00_Conte ntPlaceHol der2_TabSt rip14",,," eo_css_ctr l_ctl00_Co ntentPlace Holder2_Ta bStrip14"] )]]),new _eofm_ai([[,,"Upper Wallis",,,,,new _eofnv_fm([,"eo_css_ctrl_c tl00_Conte ntPlaceHol der2_TabSt rip14","eo _css_ctrl_ ctl00_Cont entPlaceHo lder2_TabS trip15",," eo_css_ctr l_ctl00_Co ntentPlace Holder2_Ta bStrip14"] )]])])]]]) ]]),new _eofi_dk([,new _eofm_ai([[,33554432,,new _eofts_ae([,,8]),,"_Defaul t",,new _eofnv_fm([,"eo_css_ctrl_c tl00_Conte ntPlaceHol der2_TabSt rip11",,," eo_css_ctr l_ctl00_Co ntentPlace Holder2_Ta bStrip12", ,,,"eo_css _ctrl_ctl0 0_ContentP laceHolder 2_TabStrip 13"])],new _eofnv_fl([,"/eo_web.ashx? id=48a5c8d c-c88f-4a8 6-91da-734 818400442" ,,,"/eo_we b.ashx?id= 30af8378-f 46f-4983-8 094-82a1c8 db1b9c"]), new _eofnv_fl([,"/eo_web.ashx? id=1f4cd62 1-9685-4ee 4-be91-41c bc4fccd15" ,,,"/eo_we b.ashx?id= f45cb160-9 a24-4a25-9 1bb-1f3a79 80a478"]), ,new _eofnv_en([[,"/eo_web.ashx ?id=b18f1b c3-6f42-44 7c-ad62-91 0aa2f7ad64 ",,,"/eo_w eb.ashx?id =ce9d38b0- 9528-478d- a3f4-5463c 8b7add0"], 3,2])])]), ,,,,,,,,,, ,"ctl00_Co ntentPlace Holder2_Mu ltiPage1"] ]),"TabStr ip"); eval(_eofi_u(unescape('%78 %78%78%7B% 6D%65%70%0 4%3B%68%7A %73%65%7B% 78%76%7D%0 2%34%36%6B %5C%03%77% 0A%69%74%0 1%69%7F%6A %78%69%4E% 7B%06%77%6 E%08%36%65 %60%7A%75% 5C%0A%76%6 F%7C%4A%3F %3A%41%72% 7B%78%06%3 F%29%45%2D %41')));}; _eo_initobj_ctl00_ContentP laceHolder 2_TabStrip 1();
//]]>
</script>
<!-- End EO.Web TabStrip TabStrip1. -->
<table id="ctl00_ContentPlaceHold er2_MultiP age1" cellpadding="0" cellspacing="0" style="display:inline-bloc k;width:10 0%;border- left: #7f9db9 1px solid; border-right: #7f9db9 1px solid; border-bottom: #7f9db9 1px solid">
<tr>
<td valign="top"><table id="ctl00_ContentPlaceHold er2_PageVi ew1" class="pageview1" border="0" cellpadding="0" cellspacing="0" style="display:inline-bloc k;width:10 0%;">
<tr>
<td valign="top">
<div class="textsize">
<h1>Swiss Property</h1>
We specialize in the sale of Swiss Property in the Ski , Spa & Golf resorts of Valais & Upper Wallis. We also have a selection of <strong>Chalets</strong>,
<strong>Apartments</strong > & <strong>New Developments </strong>not listed which
are reserved for
price on application properties, use the <a href="contactus.aspx"> Contact Us form</a> and we will get in touch with
you. <br />
<br />
Browse through a large selection of resale Swiss properties as well as an exclusive
list of New Developments and land plots for the construction of custom chalets.
All property listed is available for purchase by non-swiss residents unless otherwise
stated.
<br />
<br />
Our personalized welcome service mean that our clients receive practical, reliable
and informative advice on all aspects of property-buying in Valais. <span class="style4">
We work closely with local partners chosen for their in-depth knowledge of the local
real-estate market. This local knowledge, combined with our presence in UK, means
that our customers receive the best-possible advice, personal service and assistance.</span><span
class="BodyText"><br />
<br />
Should you wish to familiarize yourself with the resorts of Valais click on Resort
Information to view our resort matrix which gives detailed information such as ski slopes, activities & maps.<br />
<br />
</span>
</div>
<img src="images/homepic1.jpg" id="IMG1" width="260" height="173" alt="switzerland property " /> <img src="images/homepic2.jpg" width="260" id="IMG2" onclick="return IMG2_onclick()" alt="Switzerland Property " /></td>
</tr>
</table><table id="ctl00_ContentPlaceHold er2_PageVi ew2" class="pageview1" border="0" cellpadding="0" cellspacing="0" style="display:inline-bloc k;width:10 0%;display :none;">
<tr>
<td valign="top">
<div class="textsize"><strong>A n opportunity to invest in an area of world class
scenic beauty<br />
</strong>
<br />
Giving rise to the Matterhorn , one of the most famous mountains in
the world, and 50 other mountains over 4000 mtrs high, this area boasts the Aletsch
Glacier, the longest glacier in Europe ; the worlds highest mountain railways and
a range of spectacular ice caves. The Upper Valais is also home to a number of thermal
baths and most of the regions ski resorts. A tour through the idyllic villages
reveals sophisticated restaurants and cosy but simple village pubs nestling
among the burnt-brown chalets.
<br />
<br />
<ul>
<li><strong style="color: #cc3366; list-style-type: square"><a href="resortinfo.aspx" title="CLick to Continue" style="color: #cc3366">The Goms Valleys up to the source of the Rhone River </a></strong></li>
<li><strong><a href="resortinfo.aspx" title="CLick to Continue" style="color: #cc3366; list-style-type: square">The Augstborg Region at the door of Zermatt</a></strong></li>
<li><strong><a href="resortinfo.aspx" title="CLick to Continue" style="color: #cc3366">The Aletsch Region with its English heritage</a></strong> </li>
</ul>
<p>
You can combine a tour to discover the delights of this wonderful
region with the chance to benefit from our expert advice. This will help you to evaluate your
prospective property purchase to ensure that you make a sound investment. However,
there is no pressure or obligation to buy. Once you have chosen your location and
style we will deal with the local construction companies to ensure that your specifications
and budget are adhered to. We offer friendly support to our clients from the initial
contact to realisation and completion of your dream chalet in Switzerland.</p>
<p>
<img src="images/vlcsnap-406945 3.jpg" width="250" height="178" />
<img src="images/vlcsnap-407694 0.jpg" width="231" height="178" /></p>
</div>
</td>
</tr>
</table><table id="ctl00_ContentPlaceHold er2_PageVi ew3" class="pageview1" border="0" cellpadding="0" cellspacing="0" style="display:inline-bloc k;width:10 0%;display :none;">
<tr>
<td valign="top">
<strong>From first viewing to final signing</strong>...<br />
<br />
Our personalized welcome service mean that our clients receive practical, reliable
and informative advice on all aspects of property-buying in Valais. <span class="style4">
We work very closely with local partners chosen for their in-depth knowledge of
the local real-estate market. This local knowledge, combined with our presence in
UK, means that our customers receive the best-possible advice, personal service
and assistance.</span><span class="BodyText"><strong>< br />
<br />
Swiss Sun</strong> can also arrange loans starting at 3.9% via local Swiss Bank
should you need <strong>financing. </strong>You will also be introduced to a Swiss
<strong>PUBLIC NOTARY</strong> (<em>solicitor</em>) which will be required for purchasing
property in Switzerland.</span></td>
</tr>
</table></td>
</tr>
</table>
<script type="text/javascript">
//<![CDATA[
window._eo_initobj_ctl00_C ontentPlac eHolder2_M ultiPage1= function() {var list="i|mp".split("|");for (var i=0; i<list.length; i++) { if (!window.eo_modules || (("|"+window.eo_modules).i ndexOf("|" +list[i]+" |") < 0)) { window.setTimeout("_eo_ini tobj_ctl00 _ContentPl aceHolder2 _MultiPage 1()", 100); return; } } _eofi_a.a.b.ctl00_ContentP laceHolder 2_MultiPag e1=1;_eofi _b("_eo_o_ ctl00_Cont entPlaceHo lder2_Mult iPage1","M ultiPage1" ,new _eofmp_d("ctl00_ContentPla ceHolder2_ MultiPage1 ", ["PageView1","PageView2"," PageView3" ], ["ctl00_ContentPlaceHolder 2_PageView 1","ctl00_ ContentPla ceHolder2_ PageView2" ,"ctl00_Co ntentPlace Holder2_Pa geView3"], 0, 0),"MultiPage"); eval(_eofi_u(unescape('%78 %78%78%7B% 6D%65%70%0 4%3B%68%7A %73%65%7B% 78%76%7D%0 2%34%36%6B %5C%03%77% 0A%69%74%0 1%69%7F%6A %78%69%4E% 7B%06%77%6 E%08%36%65 %59%0F%7F% 7D%7E%54%6 7%73%7E%44 %35%46%30% 74%02%06%7 F%35%35%34 %2F%47'))) ;}; _eo_initobj_ctl00_ContentP laceHolder 2_MultiPag e1();
//]]>
</script>
</div>
<div id="pane3">
<ul class="navlist">
<li class='navtitle'>New Development</li>
<li><a href="http://www.swiss-sun.co.uk/new-development-stgeorges.aspx" title="http://www.swiss-sun.co.uk/new-development-stgeorges.aspx">Residence St Georges Crans</a></li><li><a href="http://www.swiss-sun.co.uk/newdevelopments/leloupblanc.aspx" title="http://www.swiss-sun.co.uk/newdevelopments/leloupblanc.aspx">Le Loup Blanc
Anzere</a></li><li><a href="http://www.swiss-sun.co.uk/newdevelopments/bluche.aspx" title="http://www.swiss-sun.co.uk/newdevelopments/bluche.aspx">Le Champ des Celtes Bluche</a></li><li>< a href="http://www.swiss-sun.co.uk/newdevelopments/lauchernalp.aspx" title="Click to Continue">@home in Wiler Lauchernalp</a></li> <li><a href="http://www.swiss-sun.co.uk/newdevelopments/golfc.aspx" title="Click to Continue">Golf C Leukerbad</a></li>
<li class='navtitle'>Highlight s</li><li> <a href="http://www.swiss-sun.co.uk/property.aspx?ID=anv01" title="Click to view">3 Bedroom Apartment Grimentz</a></li><li ><a href="http://www.swiss-sun.co.uk/property.aspx?ID=hd01" title="Click to view">Studio Flat
Anzere</a></li><li>< a href="http://www.swiss-sun.co.uk/property.aspx?ID=mi01" title="Click to Continue">3 Bedroom Apartment Haute Nendaz</a></li>
</ul>
<img id="ctl00_ContentPlaceHold er2_ImageM ap1" src="images/homead.jpg" usemap="#ImageMapctl00_Con tentPlaceH older2_Ima geMap1" style="border-width:0px;" /><map name="ImageMapctl00_Conten tPlaceHold er2_ImageM ap1">
<area shape="rect" coords="0,0,236,271" href="newdevelopments.aspx " target="_self" title="Click to go to New Developments" alt="Click to go to New Developments" />
</map></div>
<div id="pane4">
</div>
</div>
<!-- end #mainContent --></div>
<!-- end #container --></div>
<script type="text/javascript">
<!--
var ctl00_Menu1_Data = new Object();
ctl00_Menu1_Data.disappear After = 500;
ctl00_Menu1_Data.horizonta lOffset = 0;
ctl00_Menu1_Data.verticalO ffset = 0;
ctl00_Menu1_Data.staticHov erClass = 'ctl00_Menu1_8 menuitemhover';
ctl00_Menu1_Data.staticHov erHyperLin kClass = 'ctl00_Menu1_7 menuitemhover';
// -->
</script>
</form>
<script src="http://www.google-analytics.com/urchin.js" type="text/javascript">
</script>
<script type="text/javascript">
_uacct = "UA-539145-1";
urchinTracker();
</script>
</body>
</html>
<html xmlns="http://www.w3.org/1999/xhtml" >
<head><link href="swisssun.css" rel="stylesheet" type="text/css" /><title>
Swiss Property
</title><style type="text/css">.eo_tag_st
<style type="text/css">
.eo_css_ctrl_ctl00_Content
.eo_css_ctrl_ctl00_Content
.eo_css_ctrl_ctl00_Content
.eo_css_ctrl_ctl00_Content
.eo_css_ctrl_ctl00_Content
</style>
<style type="text/css">
.ctl00_Menu1_0 { background-color:white;vis
.ctl00_Menu1_1 { text-decoration:none; }
.ctl00_Menu1_2 { }
.ctl00_Menu1_3 { color:White;font-family:Ta
.ctl00_Menu1_4 { background-color:#404040;h
.ctl00_Menu1_5 { color:Black;font-weight:bo
.ctl00_Menu1_6 { background-color:White; }
.ctl00_Menu1_7 { color:Black;border-style:n
.ctl00_Menu1_8 { color:Black;background-col
</style></head>
<body class="oneColFixCtrHdr">
<form name="aspnetForm" method="post" action="swiss-property.asp
<div>
<input type="hidden" name="__EVENTTARGET" id="__EVENTTARGET" value="" />
<input type="hidden" name="__EVENTARGUMENT" id="__EVENTARGUMENT" value="" />
<input type="hidden" name="__eo_obj_states" id="__eo_obj_states" value="" />
<input type="hidden" name="__VIEWSTATE" id="__VIEWSTATE" value="/wEPDwUKLTQ0Mjk1NjY
</div>
<script type="text/javascript">
<!--
var theForm = document.forms['aspnetForm
if (!theForm) {
theForm = document.aspnetForm;
}
function __doPostBack(eventTarget, eventArgument) {
if (!theForm.onsubmit || (theForm.onsubmit() != false)) {
theForm.__EVENTTARGET.valu
theForm.__EVENTARGUMENT.va
theForm.submit();
}
}
// -->
</script>
<script src="/WebResource.axd?d=GT
<script src="/WebResource.axd?d=Kr
<script type="text/javascript">
//<![CDATA[
var _eo_form='aspnetForm';
var _eo_autoInit=false;
var _eo_handlerUrl='/eo_web.as
var _eo_imgdir=null;
//]]>
</script>
<script type="text/javascript" src="/eo_web.ashx?id=5843e
<script type="text/javascript">
//<![CDATA[
if (!window._eo_js && window._eo_autoInit && window.confirm("EO.Web Controls Client Side Debug Message:\r\n\r\nThe control library wasn't able to automatically initialize correctly. Please refer to http://www.essentialobjects.com/Go.aspx?id=1002 for instructions on how to intialize EO.Web controls manually.\r\n\r\nSelect OK to redirect to the above page automatically."))window.lo
//]]>
</script>
<script type="text/javascript" src="/eo_web.ashx?id=a4da7
<script type="text/javascript" src="/eo_web.ashx?id=6688e
<script type="text/javascript" src="/eo_web.ashx?id=80cde
<script type="text/javascript" src="/eo_web.ashx?id=a24fb
<script type="text/javascript" src="/eo_web.ashx?id=03785
<script type="text/javascript" src="/eo_web.ashx?id=c82ef
<script type="text/javascript" src="/eo_web.ashx?id=3aae8
<div id="container">
<div id="header">
<!-- end #header -->
</div>
<div id="menu">
<a href="#ctl00_Menu1_SkipLin
<tr>
<td onmouseover="Menu_HoverRoo
<tr>
<td style="white-space:nowrap;
</tr>
</table></td><td style="width:0px;"></td><t
<tr>
<td style="width:0px;"></td><t
<tr>
<td style="white-space:nowrap;
</tr>
</table></td><td style="width:0px;"></td><t
<tr>
<td style="white-space:nowrap;
</tr>
</table></td><td style="width:0px;"></td><t
<tr>
<td style="white-space:nowrap;
</tr>
</table></td><td style="width:0px;"></td><t
<tr>
<td style="white-space:nowrap;
</tr>
</table></td><td style="width:0px;"></td><t
<tr>
<td style="white-space:nowrap;
</tr>
</table></td><td style="width:0px;"></td><t
<tr>
<td style="white-space:nowrap;
</tr>
</table></td><td style="width:0px;"></td>
</tr>
</table></td>
</tr>
</table><a id="ctl00_Menu1_SkipLink">
</div>
<div id="mainContent">
<div>
<script language="javascript" type="text/javascript">
</script>
<div id="pane1">
<!-- Begin EO.Web TabStrip TabStrip1. -->
<script type="text/javascript">
//<![CDATA[
var _eo_debug=true;
var _eo_aspnet11=0;
//]]>
</script><div style="position:absolute; top:-1000px;"><input type="hidden" name="eo_version" value="4.0.34.2" /></div>
<div id="ctl00_ContentPlaceHold
</div>
<script type="text/javascript">
//<![CDATA[
window._eo_initobj_ctl00_C
//]]>
</script>
<!-- End EO.Web TabStrip TabStrip1. -->
<table id="ctl00_ContentPlaceHold
<tr>
<td valign="top"><table id="ctl00_ContentPlaceHold
<tr>
<td valign="top">
<div class="textsize">
<h1>Swiss Property</h1>
We specialize in the sale of Swiss Property in the Ski , Spa & Golf resorts of Valais & Upper Wallis. We also have a selection of <strong>Chalets</strong>,
<strong>Apartments</strong
are reserved for
price on application properties, use the <a href="contactus.aspx"> Contact Us form</a> and we will get in touch with
you. <br />
<br />
Browse through a large selection of resale Swiss properties as well as an exclusive
list of New Developments and land plots for the construction of custom chalets.
All property listed is available for purchase by non-swiss residents unless otherwise
stated.
<br />
<br />
Our personalized welcome service mean that our clients receive practical, reliable
and informative advice on all aspects of property-buying in Valais. <span class="style4">
We work closely with local partners chosen for their in-depth knowledge of the local
real-estate market. This local knowledge, combined with our presence in UK, means
that our customers receive the best-possible advice, personal service and assistance.</span><span
class="BodyText"><br />
<br />
Should you wish to familiarize yourself with the resorts of Valais click on Resort
Information to view our resort matrix which gives detailed information such as ski slopes, activities & maps.<br />
<br />
</span>
</div>
<img src="images/homepic1.jpg" id="IMG1" width="260" height="173" alt="switzerland property " /> <img src="images/homepic2.jpg" width="260" id="IMG2" onclick="return IMG2_onclick()" alt="Switzerland Property " /></td>
</tr>
</table><table id="ctl00_ContentPlaceHold
<tr>
<td valign="top">
<div class="textsize"><strong>A
scenic beauty<br />
</strong>
<br />
Giving rise to the Matterhorn , one of the most famous mountains in
the world, and 50 other mountains over 4000 mtrs high, this area boasts the Aletsch
Glacier, the longest glacier in Europe ; the worlds highest mountain railways and
a range of spectacular ice caves. The Upper Valais is also home to a number of thermal
baths and most of the regions ski resorts. A tour through the idyllic villages
reveals sophisticated restaurants and cosy but simple village pubs nestling
among the burnt-brown chalets.
<br />
<br />
<ul>
<li><strong style="color: #cc3366; list-style-type: square"><a href="resortinfo.aspx" title="CLick to Continue" style="color: #cc3366">The Goms Valleys up to the source of the Rhone River </a></strong></li>
<li><strong><a href="resortinfo.aspx" title="CLick to Continue" style="color: #cc3366; list-style-type: square">The Augstborg Region at the door of Zermatt</a></strong></li>
<li><strong><a href="resortinfo.aspx" title="CLick to Continue" style="color: #cc3366">The Aletsch Region with its English heritage</a></strong> </li>
</ul>
<p>
You can combine a tour to discover the delights of this wonderful
region with the chance to benefit from our expert advice. This will help you to evaluate your
prospective property purchase to ensure that you make a sound investment. However,
there is no pressure or obligation to buy. Once you have chosen your location and
style we will deal with the local construction companies to ensure that your specifications
and budget are adhered to. We offer friendly support to our clients from the initial
contact to realisation and completion of your dream chalet in Switzerland.</p>
<p>
<img src="images/vlcsnap-406945
<img src="images/vlcsnap-407694
</div>
</td>
</tr>
</table><table id="ctl00_ContentPlaceHold
<tr>
<td valign="top">
<strong>From first viewing to final signing</strong>...<br />
<br />
Our personalized welcome service mean that our clients receive practical, reliable
and informative advice on all aspects of property-buying in Valais. <span class="style4">
We work very closely with local partners chosen for their in-depth knowledge of
the local real-estate market. This local knowledge, combined with our presence in
UK, means that our customers receive the best-possible advice, personal service
and assistance.</span><span class="BodyText"><strong><
<br />
Swiss Sun</strong> can also arrange loans starting at 3.9% via local Swiss Bank
should you need <strong>financing. </strong>You will also be introduced to a Swiss
<strong>PUBLIC NOTARY</strong> (<em>solicitor</em>) which will be required for purchasing
property in Switzerland.</span></td>
</tr>
</table></td>
</tr>
</table>
<script type="text/javascript">
//<![CDATA[
window._eo_initobj_ctl00_C
//]]>
</script>
</div>
<div id="pane3">
<ul class="navlist">
<li class='navtitle'>New Development</li>
<li><a href="http://www.swiss-sun.co.uk/new-development-stgeorges.aspx" title="http://www.swiss-sun.co.uk/new-development-stgeorges.aspx">Residence St Georges Crans</a></li><li><a
Anzere</a></li><li><a href="http://www.swiss-sun.co.uk/newdevelopments/bluche.aspx" title="http://www.swiss-sun.co.uk/newdevelopments/bluche.aspx">Le Champ des Celtes Bluche</a></li><li><
<li class='navtitle'>Highlight
Anzere</a></li><li><
</ul>
<img id="ctl00_ContentPlaceHold
<area shape="rect" coords="0,0,236,271" href="newdevelopments.aspx
</map></div>
<div id="pane4">
</div>
</div>
<!-- end #mainContent --></div>
<!-- end #container --></div>
<script type="text/javascript">
<!--
var ctl00_Menu1_Data = new Object();
ctl00_Menu1_Data.disappear
ctl00_Menu1_Data.horizonta
ctl00_Menu1_Data.verticalO
ctl00_Menu1_Data.staticHov
ctl00_Menu1_Data.staticHov
// -->
</script>
</form>
<script src="http://www.google-analytics.com/urchin.js" type="text/javascript">
</script>
<script type="text/javascript">
_uacct = "UA-539145-1";
urchinTracker();
</script>
</body>
</html>
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Hi,
Thanks for that. Yeah I see how messy and bloted it is and its not good for search engine bots either. Do you have any suggestions aside form coding css by hand for any 3rd party visual studio menu plug-ins?
Thanks for that. Yeah I see how messy and bloted it is and its not good for search engine bots either. Do you have any suggestions aside form coding css by hand for any 3rd party visual studio menu plug-ins?
ASKER
I found a visual studio plug in that makes the asp.net menu control use css.
ASP.NET 2.0 CSS Friendly Control Adapters
http://www.asp.net/cssadapters
ASP.NET 2.0 CSS Friendly Control Adapters
http://www.asp.net/cssadapters
That's very interesting... I haven't seen those Control Adapters before. I'll have to look into them some more.
As long as they don't require javascript to function correctly, then that's probably a pretty good solution. The markup that it generates looks 100x's cleaner than the default ASP.Net menu control.
However, coding the html and css by hand is always a better solution than any ASP.Net control that you can find. If you do it right, it will be cleaner and a lot more stable in multiple browsers. Also, you'll learn a lot more when you code by hand.
Here are some good links to take a look at for creating CSS menus by hand...
http://www.htmldog.com/articles/suckerfish/dropdowns/
http://meyerweb.com/eric/css/edge/menus/demo.html
http://www.cssplay.co.uk/menus/
As long as they don't require javascript to function correctly, then that's probably a pretty good solution. The markup that it generates looks 100x's cleaner than the default ASP.Net menu control.
However, coding the html and css by hand is always a better solution than any ASP.Net control that you can find. If you do it right, it will be cleaner and a lot more stable in multiple browsers. Also, you'll learn a lot more when you code by hand.
Here are some good links to take a look at for creating CSS menus by hand...
http://www.htmldog.com/articles/suckerfish/dropdowns/
http://meyerweb.com/eric/css/edge/menus/demo.html
http://www.cssplay.co.uk/menus/