Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Tim Holmes on Nov 13, 2007 08:19
open dhtmlx forum
Background images

Hi
I am trying to use some graphics as backgrounds to the menu items in dhtmlx Menu. So the image sits under the text. The text being produced by the xml files. I am doing this with background-image in the css file. (Hope thats the right way) It all seems to be working well, except I seem to have a border(left and top) created by .menuTable that I can change the colour of, but can't get rid of. I am having a similar problem with the submenus. Were space is left for the arrow to link to the next menu down. Here there is a 1px border that I can 't seem to remove.

I have screen shots if that would help

Thanks for any help

Tim
Answer posted on Nov 14, 2007 06:03
Which css classes do you use to set your custom backgroun

Basically 4 classes that control bg color ( and draw different borders )

//menu items
menuButton      //for top level
menuButtonSecond   //for next levels

//menu panels
menuTable //for top level
secondMenuTable //for next levels

If you still have problems - please send updated css file and screen which illustrate incorrect styling to support@dhtmlx.com, because it really hard to suggest anything without seen real changes.