Log in

View Full Version : CSS + Javascript (Textual tooltip Script) question



tdu
09-02-2008, 03:44 PM
Hello. First of all I am newb. I had started a thread over in the Dynamicdrive Scripts section. Thanks to posters help, I solved most of the problems I was having.

I am having a few problems with a menu still though, that might be more of a CSS/HTML issue.

Posted on this page are 2 menus. The bottom left one was a CSS menu I was working on originally. I needed to find a way to have 'tooltip' type text come up to the right of my menu.

http://www.blissco.ca/test/blank.html

The top one is an attempt to merge the "Textual tooltip Script" from this site (http://www.dynamicdrive.com/dynamicindex5/linkinfo.htm) and my old Menu. I think I am getting close to getting it working. Considering I am new to CSS and Javascript I THINK it's coming along well. (?).

Which brings me to the question. I am trying to figure out how to remove the gaps between the links in the new (top) menu though so that it matches the bottom one.

Here is the page the menu is going on. I am putting it at the bottom, and the main content will be in the area above. http://www.blissco.ca/test/

Any help is greatly appreciated. Thanks.

mburt
09-02-2008, 04:07 PM
It's because you're using the <p> element.

Add this to your css file:


p {
padding: 0px;
margin: 0px;
}

tdu
09-02-2008, 07:23 PM
Thanks! Going to try it right now.

tdu
09-02-2008, 07:26 PM
Yep, worked perfect. Thanks a ton for the help.

Pitter
09-06-2008, 05:51 AM
Hi.................
check out this site http://www.css-faq.com/. CSS-faq is programming language.take help and solve your problem.
Thank you
css faq