When appending <sup>®</sup> to the text attribute of aI, the possition of text becomes lower; (see the second tab of demo)
How to fix this? Thanks.
Question about aI("text=...")
It's the padding, which doesn't 'ignore' the sup and let that go into the padding area, it considers it part of the 'word'. So, to fix it put this in your css style [name it what you want]
Then in the aI string that uses that sup, put this That changes the top padding for that particular item. I tested it in IE, Netscape, Firefox, Opera and it works fine.
Ruth
Code: Select all
.regpad{padding-top:2px;padding-right:10px;padding-bottom:5px;padding-left:10px;}
Code: Select all
aI("text=My Services<sup>®</sup>;offclass=regmenu;onclass=regmenu;url=/services/;showmenu=m1;")
Ruth
Change the left/right padding to 0px works:
Using onclass/offclass on menu item, the default padding 5px 10px 5px 10px still has impact.
Code: Select all
.regpad{padding-top:2px;padding-right:0px;padding-bottom:5px;padding-left:0px;}
Refco
well .. i'm not experinced in dhtml menu's to replay your question
i'm more intersted in futures trading
u can contact me on yahoo messenger under username: XXXXXXXX
<hr>Edit by kevin3442: This is not a forum for advertising personal services. Please stick to the topic at hand. Thank you. --Kevin.
<hr>
i'm more intersted in futures trading
u can contact me on yahoo messenger under username: XXXXXXXX
<hr>Edit by kevin3442: This is not a forum for advertising personal services. Please stick to the topic at hand. Thank you. --Kevin.
<hr>
Amr Salem