Hey all,
I've created a pretty nice-looking drop-down menu, and I need to prevent users form highlighting the text in the menu item, because it looks kind of ugly.
Here's an snippet of my menu structure:
now, when you double click on the horizontal rule, or if you click on the border & drag, you can select the text. Is there any way, besides using images instead of text, to prevent the user from highlighting this?
Here's the page-
EDIT: if you're using IE, then don't even try to view the page. I'll make it so that IE can render the page later.
I've created a pretty nice-looking drop-down menu, and I need to prevent users form highlighting the text in the menu item, because it looks kind of ugly.
Here's an snippet of my menu structure:
Code:
<div id="menu">
<ul>
<li><a class="first_btn" id="file_btn" onClick="ShowHideFile();">File</a>
<ul id="file" onmouseover="OverFileMenu();" onmouseout="OutFileMenu();">
<li><a class="second_btn" type="button" onClick="">New</a></li>
<li><hr></li>
<li><a class="second_btn" type="button" onClick="File_Exit();">Exit</a></li>
</ul>
</li>
</ul>
</div>
Here's the page-
EDIT: if you're using IE, then don't even try to view the page. I'll make it so that IE can render the page later.
Comment