using css to add image, but is appearing over link text

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
verango
Beginner
Beginner
Posts: 2
Joined: Mon Dec 31, 2007 9:26 pm

using css to add image, but is appearing over link text

Post by verango »

...instead of behind the link-text. Seems like this should be a factor related to CSS, but I could be wrong. the site is using a combination of an external stylesheet and some Internal.

http://qualitywater(dot)veracart(dot).com/catalog.html
User avatar
Ruth
 Team
 Team
Posts: 8763
Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:

Re: using css to add image, but is appearing over link text

Post by Ruth »

Hi,

I think it's because you're applying that using the a: class in css instead of the menu's css application property. See this demo about css and in the middle of the page is a link to some examples.

http://support.milonic.com/beginners/css_styling/

You could do this easier using the overbgimage property of the menu.

Add this to your myStyle section

Code: Select all

overbgimage="menu_BG_Drop4.gif";
rawcss="padding:0px 5px 0px 15px";
Add this to your myStyle2 section

Code: Select all

myStyle2.overbgimage="";
myStyle2.rawcss="padding:0px 0px 0px 5px";
Link removed!

Hope this helps.

Ruth
verango
Beginner
Beginner
Posts: 2
Joined: Mon Dec 31, 2007 9:26 pm

Re: using css to add image, but is appearing over link text

Post by verango »

I see now.

I will check with the guy here that implemented the menu because currently, it is built into another system, so there is no way to interact with the javascript, such as adding to it. Maybe there is way i can manually create a second javascript which is basically added to the first (probably not). I should know with in a few days a bit more, but in teh meantime, feel free to remove links as needed.

V
Post Reply