I want to diplay an image so that it takes up a minmum width of the screen and should scale in its aspect ratio (the image width might be smaller or larger than the minimun width) I also want to have a fixed size border around this image. This is my xml section for it:
This however does not produce what I want...the problem is that it does not scale the image horizontally far enough (ie. the 10px padding that I have seems a lot more on the right and left) How would I produce the result that I want? | |||
to set minimum width and heidht use the attributes to set the Border check my post. | |||
Try this (I emphasized the important part):
| |||
lang-xml
.
stackoverflow.comm
No comments:
Post a Comment