JavaScript.CoolDev.Com Support Forums

Any questions related to JavaScript menu and JavaScript tree menu by Javascript.CoolDev.Com

 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

menu text in table

 
Post new topic   Reply to topic    JavaScript.CoolDev.Com Forum Index -> COOLjsMenu
Author Message
camner



Joined: 05 Jun 2003
Posts: 21

PostPosted: Sat Jun 21, 2003 6:16 pm    Post subject: menu text in table Reply with quote

I have built a menu that has some of its captions as plain text (e.g. "code": "plain text"), and some of its captions built into a table (e.g. "code": "table building html here"). The table tags specify 0 border, 0 cellspacing, 0 cellpadding.

What I've noticed is that when the caption is in a table, it doesn't align vertically within the menu in the same way as when no table is specified. The captions within the table seem perfectly centered, while the nontable captions seem shifted up a pixel from the center.


Here's the URL: http://www.charleswright.org/index_test1.htm

Is this expected behavior? (An obvious workaround is to put everything in a table, right? A better solution is probably to upgrade to cooljsmenu pro Smile , which I just placed the order for...).
Back to top
AlexKunin
Developer


Joined: 03 Jan 2003
Posts: 1191

PostPosted: Sat Jun 21, 2003 8:52 pm    Post subject: Reply with quote

Also you can align your text using CSS (attribute "padding"):
Code:
.clsCMOn {
   color: black;
   font-size : 12px;
   text-decoration : none;
   padding: 2px 4px;
}

"clsCMOn" is the name of some default CSS class from our samples; on your page there is some other class name (probably).
Back to top
Display posts from previous:   
Post new topic   Reply to topic    JavaScript.CoolDev.Com Forum Index -> COOLjsMenu All times are GMT
Page 1 of 1