Improve company productivity with a Business Account.Sign Up

x
?
Solved

format Flex menu...

Posted on 2010-11-26
9
Medium Priority
?
391 Views
Last Modified: 2012-06-27
Using a flex menu for fly out navigation....

however, I want to format the "menu" so that its:
1) indented in and centered more in that ection/box
2) instead of purple text, white
3) non-highligted...dont like the underscore...
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">

<html>
<head>


		<title>Design 1</title>


		<link rel="stylesheet" type="text/css" href="flexdropdown.css" />

		<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"></script>

		<script type="text/javascript" src="flexdropdown.js">

		/***********************************************
		* Flex Level Drop Down Menu- (c) Dynamic Drive DHTML code library (www.dynamicdrive.com)
		* This notice MUST stay intact for legal use
		* Visit Dynamic Drive at http://www.dynamicdrive.com/ for this script and 100s more
		*
		* http://dynamicdrive.com/dynamicindex1/flexdropdown.htm
		*
		***********************************************/

</script>



</head>





<link rel="stylesheet" href="mainstyle.css" type="text/css">


<body topmargin="0" leftmargin="0" marginheight="0" marginwidth="0">


<!-- HTML for Flex Drop Down Menu 1 ___________________________________________________________________ -->
<ul id="flexmenu1" class="flexdropdownmenu">
<li><a href="http://www.dynamicdrive.com/">Item 1a</a></li>
<li><a href="http://www.cssdrive.com">Item 2a</a></li>
<li><a href="http://www.javascriptkit.com">Item Folder 3a</a>
	<ul>
	<li><a href="http://www.codingforums.com">Sub Item 3.1a</a></li>
		<ul>
		<li><a href="http://www.javascriptkit.com/domref/">Sub Item 3.1a</a></li>
		<li><a href="http://www.codingforums.com">Sub Item 3.2a</a></li>
		<li><a href="http://www.codingforums.com">Sub Item 3.3a</a></li>
		<li><a href="http://www.cssdrive.com">Sub Item 3.4a</a></li>
	</ul>
	<li><a href="http://www.codingforums.com">Sub Item 3.2a</a></li>
	<li><a href="http://www.cssdrive.com">Sub Item 3.3a</a></li>
	<li><a href="http://www.codingforums.com">Sub Item 3.4a</a></li>
	</ul>
</li>
<li><a href="http://www.cssdrive.com">Item 4a</a></li>
<li><a href="http://www.codingforums.com">Item Folder 5a</a>
	<ul>
	<li><a href="http://www.codingforums.com">Sub Item 5.1a</a></li>
	<li><a href="http://www.codingforums.com">Item Folder 5.2a</a>
		<ul>
		<li><a href="http://www.cssdrive.com">Sub Item 5.2.1a</a></li>
		<li><a href="http://www.codingforums.com">Sub Item 5.2.2a</a></li>
		<li><a href="http://www.codingforums.com">Sub Item 5.2.3a</a></li>
		<li><a href="http://www.codingforums.com">Sub Item 5.2.4a</a></li>
		</ul>
	</li>
	</ul>
</li>
<li><a href="http://www.codingforums.com">Item 6a</a></li>
</ul>



<table width="770" cellspacing="0" cellpadding="0" border="0">
	<tr>
	    <td valign="top" bgcolor="#E3BB4E">
<!-- menu start -->
			<table width="100%" cellspacing="0" cellpadding="0" border="0">
				<tr>
				    <td colspan="2">


					<img src="images/little.jpg" width="146" height="266" alt="" border="0">
					</td>
				</tr>

<!-- ____________+_+ flex menu _+_+__________________________ -->

				<tr>
				    <td>
							<tr>
					       		<td bgcolor="#000000" align="center" class="white78" valign="top"><a href="http://www.dynamicdrive.com" data-flexmenu="flexmenu1" data-dir="h" data-offsets="8,0"   >M<br/>E<br/>N<br/>U<br/></a>
					       		</td><td><img src="images/spacer.gif" width="5" height="1" alt="" border="0"></td>
							    <td valign="top">
							</tr>
					</td>
			    </tr>


<!-- ____________________________________ -->
				<tr>
					<td><img src="images/spacer.gif" width="31" height="30" alt="" border="0"></td>
					<td><img src="images/spacer.gif" width="115" height="1" alt="" border="0"></td>


				</tr>

			</table>
<!-- menu end -->
		</td>
	    <td bgcolor="#000000" valign="top"><img src="images/spacer.gif" width="1" height="1" alt="" border="0"></td>
	    <td valign="top">
<!-- body start -->
			<table width="100%" cellspacing="0" cellpadding="0" border="0">
				<tr>
					<td colspan="2" bgcolor="#E3BB4E">
<!-- title start -->

						<table width="100%" cellspacing="0" cellpadding="0" border="0">
							<tr>
								<td colspan="8"><img src="images/big_pic_1.jpg" width="623" height="38" alt="" border="0"></td>
							</tr>
							<tr>
							    <td>&nbsp;</td>
							    <td bgcolor="#000000"><img src="images/spacer.gif" width="1" height="20" alt="" border="0"></td>
							    <td>&nbsp;</td>
							    <td class="black8"><b>L&nbsp;O&nbsp;N&nbsp;G&nbsp;E&nbsp;R&nbsp;&nbsp;M&nbsp;E&nbsp;N&nbsp;U&nbsp;&nbsp;I&nbsp;T&nbsp;E&nbsp;M&nbsp;&nbsp;2</b></td>
							    <td>&nbsp;</td>
							    <td bgcolor="#000000"><img src="images/spacer.gif" width="1" height="1" alt="" border="0"></td>
							    <td>&nbsp;</td>
							    <td bgcolor="#000000"><img src="images/spacer.gif" width="1" height="1" alt="" border="0"></td>
							</tr>
							<tr>
							    <td bgcolor="#000000"><img src="images/spacer.gif" width="82" height="1" alt="" border="0"></td>
							    <td bgcolor="#000000"><img src="images/spacer.gif" width="1" height="1" alt="" border="0"></td>
							    <td bgcolor="#000000"><img src="images/spacer.gif" width="13" height="1" alt="" border="0"></td>
							    <td bgcolor="#000000"><img src="images/spacer.gif" width="455" height="1" alt="" border="0"></td>
							    <td bgcolor="#000000"><img src="images/spacer.gif" width="13" height="1" alt="" border="0"></td>
							    <td bgcolor="#000000"><img src="images/spacer.gif" width="1" height="1" alt="" border="0"></td>
							    <td bgcolor="#000000"><img src="images/spacer.gif" width="57" height="1" alt="" border="0"></td>
							    <td bgcolor="#000000"><img src="images/spacer.gif" width="1" height="1" alt="" border="0"></td>
							</tr>
						</table>
			<!-- title end -->
					</td>
				</tr>
				<tr>
					<td>
						<table width="100%" cellspacing="0" cellpadding="0" border="0">
							<tr>
								<td colspan="3"><img src="images/spacer.gif" width="1" height="10" alt="" border="0"></td>
							</tr>
							<tr>
							    <td><img src="images/spacer.gif" width="5" height="1" alt="" border="0"></td>
							    <td valign="top">Enter text here


							    </td>
							    <td><img src="images/spacer.gif" width="5" height="1" alt="" border="0"></td>
							</tr>
							<tr>
							    <td><img src="images/spacer.gif" width="5" height="1" alt="" border="0"></td>
							    <td><img src="images/spacer.gif" width="460" height="1" alt="" border="0"></td>
							    <td><img src="images/spacer.gif" width="5" height="1" alt="" border="0"></td>
							</tr>
						</table>
					</td>
				</tr>
			</table>
<!-- body end -->
		</td>
	</tr>
	<tr>
		<td bgcolor="#000000"><img src="images/spacer.gif" width="146" height="1" alt="" border="0"></td>
		<td bgcolor="#000000"><img src="images/spacer.gif" width="1" height="1" alt="" border="0"></td>
		<td bgcolor="#000000"><img src="images/spacer.gif" width="623" height="1" alt="" border="0"></td>
	</tr>
	<tr>
		<td colspan="3" align="right" style="color: #80838E">© copyright 2002 | your company name | all rights reserved&nbsp;&nbsp;&nbsp;</td>
	</tr>
</table>

</body>
</html>

Open in new window

0
Comment
Question by:GlobaLevel
  • 5
  • 4
9 Comments
 
LVL 10

Author Comment

by:GlobaLevel
ID: 34219517
here is what it looks like right now...
Doc1.doc
0
 
LVL 18

Expert Comment

by:Sudaraka Wijesinghe
ID: 34221479
Hi,

I'm not quite clear on the your requirement #1, if you can provide more details on how you would like to position the menu I would be able to help more.

For the other 2 requirements, since you don't have any id or class assigned to the elements I would suggest you add inline CSS styles to the A tag like the code below.
<a href="http://www.dynamicdrive.com" data-flexmenu="flexmenu1" data-dir="h" data-offsets="8,0" style="color:#ffffff; text-decoration:none;">M<br/>E<br/>N<br/>U<br/></a>

Open in new window

0
 
LVL 10

Author Comment

by:GlobaLevel
ID: 34223113
Any way it can be white un highlighted text??
0
Get 10% Off Your First Squarespace Website

Ready to showcase your work, publish content or promote your business online? With Squarespace’s award-winning templates and 24/7 customer service, getting started is simple. Head to Squarespace.com and use offer code ‘EXPERTS’ to get 10% off your first purchase.

 
LVL 10

Author Comment

by:GlobaLevel
ID: 34231363
any help here?
0
 
LVL 18

Expert Comment

by:Sudaraka Wijesinghe
ID: 34231752
What do you mean by unhighlighted? black text on white background?
0
 
LVL 10

Author Comment

by:GlobaLevel
ID: 34231797
In this section, I want white text on black background...bc its a link, its has an underline..and Iwant to get rid of the underline....



<!-- ____________+_+ flex menu _+_+__________________________ -->

                        <tr>
                            <td>
                                          <tr>
                                                 <td bgcolor="#000000" align="center" class="white78" valign="top"><a href="http://www.dynamicdrive.com" data-flexmenu="flexmenu1" data-dir="h" data-offsets="8,0"   >M<br/>E<br/>N<br/>U<br/></a>
                                                 </td><td><img src="images/spacer.gif" width="5" height="1" alt="" border="0"></td>
                                              <td valign="top">
                                          </tr>
                              </td>
                      </tr>


<!-- ____________________________________ -->
0
 
LVL 18

Accepted Solution

by:
Sudaraka Wijesinghe earned 2000 total points
ID: 34232750
Did you try adding the the style I suggested? What wasn't working on it?
<!-- ____________+_+ flex menu _+_+__________________________ -->

                        <tr>
                            <td>
                                          <tr>
                                                 <td bgcolor="#000000" align="center" class="white78" valign="top"><a href="http://www.dynamicdrive.com" data-flexmenu="flexmenu1" data-dir="h" data-offsets="8,0" style="color:#ffffff; text-decoration:none;"  >M<br/>E<br/>N<br/>U<br/></a>
                                                 </td><td><img src="images/spacer.gif" width="5" height="1" alt="" border="0"></td>
                                              <td valign="top">
                                          </tr>
                              </td>
                      </tr>


<!-- ____________________________________ -->

Open in new window

0
 
LVL 10

Author Comment

by:GlobaLevel
ID: 34232812
that did it!
0
 
LVL 18

Expert Comment

by:Sudaraka Wijesinghe
ID: 34232885
Glad to help. Thanks for the points.
0

Featured Post

Get 10% Off Your First Squarespace Website

Ready to showcase your work, publish content or promote your business online? With Squarespace’s award-winning templates and 24/7 customer service, getting started is simple. Head to Squarespace.com and use offer code ‘EXPERTS’ to get 10% off your first purchase.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Finding original email is quite difficult due to their duplicates. From this article, you will come to know why multiple duplicates of same emails appear and how to delete duplicate emails from Outlook securely and instantly while vital emails remai…
Without even knowing it, most of us are using web applications on a daily basis.  In fact, Gmail and Yahoo email, Twitter, Facebook, and eBay are used by most of us daily—and they are web applications. We generally confuse these web applications to…
In this tutorial viewers will learn how to embed videos in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: "<!DOCTYPE html>": Use the <video> tag to insert a video. Define the src as the URL of your video; this is similar to …
The viewer will the learn the benefit of plain text editors and code an HTML5 based template for use in further tutorials.

595 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question