a1jit Posted November 13, 2005 Posted November 13, 2005 Hi Guys, Im just not sure how to do this..Dont know its simple or tough.. I want to place an image (banner) at top of the login page, and the length should be equal to the page size..I cant seem to get it done.. So i place using the <asp:image> tag. and i specify a certain height and width.. I want the width to cover the whole page length actually, but not sure how.. Currently if i put with 1800px, and view the page using smaller resolution, i see scrollbar.. So, how do i make the image fit on the page exactly as the resolution user is using so that i dont need any scrollbar and can cover the full width of the page? Thank You Quote
bri189a Posted November 13, 2005 Posted November 13, 2005 You could use a table or a div tag and set the width dynamically using javascript and the availWidth function of the DOM. Then set the height to whatever you want. And using the background-image style attribute to set the image itself. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.