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
image alignment
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 for example.
Ruth
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: Select all
url(image.name) top left repeat-x
Ruth