vForums Support > Programming & Coding :: Programming Discussion :: > Menu cell height

Menu cell height - Posted By Nick (nickb) on 29th Jan 08 at 1:23am
http://rpguide101.vforums.co.uk/

What is the menu cell height? So I can make my Menu buttons the same height, so I can make the menu buttons blend in with the grad.

Thanks,
Darkmage

Re: Menu cell height - Posted By Marc (cr0w) on 29th Jan 08 at 1:35am
Try this in your Global Header:

Code:
 
  1. <script>
  2. var wt = document.getElementById("welcome_table").getElementsByTagName("tr")[1].getElementsByTagName("td")[0].getElementsByTagName("table")[0].getElementsByTagName("td")[0] wt.cellPadding = 0;
  3. wt.cellSpacing = 0;
  4. wt.style.height = 20px
  5. </script>
 

Re: Menu cell height - Posted By Nick (nickb) on 29th Jan 08 at 1:44am
it did not work {Sad} what is it supposed to do?

Re: Menu cell height - Posted By Marc (cr0w) on 29th Jan 08 at 1:48am
Recopy the code, and let me know if it works.

EDIT: It's supposed to resize the menu to 20px [the height of your menu buttons. {Smile} ]

Re: Menu cell height - Posted By Nick (nickb) on 29th Jan 08 at 1:54am
Still didnt work {Sad}

Re: Menu cell height - Posted By Marc (cr0w) on 29th Jan 08 at 1:56am
 
Still didnt work {Sad}


How about this:

Code:
 
  1. <style type="text/css">
  2. <!--
  3. .menu{
  4. height: 20px;
  5. }
  6. //-->
  7. </style>
 


Sorry, long day at work. {Tongue Out}

Re: Menu cell height - Posted By Nick (nickb) on 29th Jan 08 at 2:01am
Its ok, I had a long day at school {Unsure}

EDIT: lol still didn't work. Am I doing any thing wrong?


EDIT 2: I re did the whole menu buttons. I dont have it faded any more.