Milonic provide full featured pull down web menus for some of the worlds largest companies
click here to see what it can do for you

Download Milonic DHTML Menu
Buy Milonic DHTML Menu

Back To Start Of Archive
Taken From The Forum: Help & Support for DHTML Menu Version 5+
Forum Topic: Click to view post
Last Updated: Saturday July 14 2012 - 06:07:33

image alignment


Poster: bdaltilio
Dated: Monday June 18 2007 - 21:21:47 BST

I know you can use the imagealign property for left right and center, but is there one or something similar for aligning it to to top?

Thanks,
Brian


Poster: Ruth
Dated: Tuesday June 19 2007 - 6:55:41 BST

Hi,

You wouldn't use imagealign to position it as to top bottom etc. You'd use the property imageposition, which are top middle bottom left center right. And, probably, though it doesn't say it, you can use a combination of them since usually these properties use valid css. I believe you can use things such as top right, top left, middle right and so on, but I'm not sure of the syntax, maybe left;top. Or if that isn't it, left, top, or possible left top with just a space. You'd have to test that.

But, if you're talking about a bgimage that will not work, to set those you need to code the bgimage in a css class and then call the class in the style [or if you have one item you want a bg in you can call it in that item. Then you'd set the position using css shorthand for the bgimage
Code:
url(image.name) top left repeat-x
for example.

Ruth