Minor sizing issue

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
split-vizionz
Beginner
Beginner
Posts: 2
Joined: Sun Jan 22, 2006 9:14 am

Minor sizing issue

Post by split-vizionz »

Hello folks,
If you view my page at the following address http://www.clientxstaffing.com/resume.html
you will see that the buttons that I fit into that table have shrunk smaller than the 40 pixel height space which they were supposed to fill... leaving red space below the buttons. I can't figure out what in the world causes my buttons to shrink smaller .... I have been doing this for hours and may be missing somnething simple.. so I beg for a fresh mind to dig me out of this misery haha...it's all starting to get blurry and I may pass out... let me know if you notice anything.



I attached the code, where I edited the table to fit the buttons

Code: Select all

<table width="778" border="0" cellspacing="0" cellpadding="0">
  <tr> 
	<td width="63" background="images/index_09.gif"><img src="images/index_08.gif" width=63 height=36 alt=""> 
	</td>
	<td background="images/index_09.gif"> 
	  <input type="text" name="textfield" size="13">

	</td>

	<td width="10" height="40" valign="top"><a href="#"><img src="images/index_11.gif" width=44 height=40 alt="" border="0"></a></td>
	<td width="110" height="40" valign="top"><img src="images/index_12.gif" width=110 height=40></td>
        <td width="408" height="40" valign="top"><script type="text/javascript" src=" http://www.clientxstaffing.com/scripts/milonic_src.js"></script>	
		<script	type="text/javascript">
	if(ns4)_d.write("<scr"+"ipt type=text/javascript src= http://www.clientxstaffing.com/scripts/mmenuns4.js><\/scr"+"ipt>");		
	  else _d.write("<scr"+"ipt type=text/javascript src=http://www.clientxstaffing.com/scripts/mmenudom.js><\/scr"+"ipt>"); 
	</script>
	<script type="text/javascript" src=" http://www.clientxstaffing.com/scripts/menu_data.js"></script>	
  </td>
<td width="39" height="40" valign="top"><img src="images/index_18.gif" width=39 height=40 alt=""></td>
  
</tr>
</table>
User avatar
Ruth
 Team
 Team
Posts: 8763
Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:

Post by Ruth »

Hi,

You have an image and since you haven't specified an imageheight, the image will be 36px, but you're other image in that row is 40px. So, change the menu image to 40px

Code: Select all

image=index_13.gif;imageheight=40;itemheight=40;showmenu=About Us;
That seems to fix the problem.

But, you have a different problem you need to fix. You need to cut the main menu from that menu_data.js file, save the menu_data.js file as it is but without the main menu. Put the main menu in it's own file, add position="relative"; up where you have the alwaysvisible, and put a drawMenus(); at the end of the file so you will have two files with a drawMenus(); at the end. Save that file, name it whatever you'd like, embed_main.js for example. Then call that file in that table cell, only that file. Take the other file calls you have and put them the first thing after the body tag.

Below my name are links to putting the menu in a table.

Ruth
split-vizionz
Beginner
Beginner
Posts: 2
Joined: Sun Jan 22, 2006 9:14 am

Post by split-vizionz »

YAY!!!!!! You are the WOMAN.......I thank you extremely much... thanks for the support :lol:
Post Reply