April 10th, 2013, 03:05 AM
A bit of css help
Hey all I'm having a little trouble with 2 divs I have trying to stretch out on different resolutions
simply they're set up as a banner and a red divider the site is set around 800x600 on rvsitebuilder and I'm trying to get those 2 divs to fit as the template does when on a bigger screen so far it just remains either too short or too long
heres the code for the CSS for those images and divs
any help would be appreciated as I'm still a novice on this
April 12th, 2013, 04:16 PM
Replace all min/max width properties with simply "width" if there is no reason that these elements would change dimension.
I'm not totally sure of what you're asking. Are you trying to have to banners sit next to each other and equal the width of the page?
April 14th, 2013, 06:44 PM
Its more I want the images to fit on the page on any resolution without being too long or short for the page
April 15th, 2013, 07:47 AM
Images are going to be whatever resolution they were created at it. The bigger you make them the more the quality will diminish. If you're talking about scaling HTML/CSS styled banners, you could use width percentages instead of pixels so that they take up all available horizontal space. Although including padding and margins for different containers, you may not exactly what you were looking for. Close enough may cut it though, try it out.
Originally Posted by SSTG