PDA

View Full Version : 1280 x 960 Error


Soad
07-24-2010, 09:12 AM
When I view my site at 1280 x 960 a blue line goes through the page its fine at lower resolutions but I use the 1280 x 960 any help most appreciated

http://www.clearviewdesigns.co.uk/training

gentleone
07-24-2010, 02:07 PM
It's because the background image you used for the the #content div has of course a fixed width and you have set the width of #content to 70%. So with wider screen resolutions it's gonna repeat the background image (browser default).

If you want that background image filling that 70% width, than you'll have to edit the bkgd.png a bit. Make it 1px width and keep the same height.

Soad
07-25-2010, 04:47 AM
Thank you for the information, how do I change to 1 px

Thanks again

gentleone
07-25-2010, 02:38 PM
With what program did you made that transparent png? If Photoshop then you can just re-size the PSD file to 1px.

d a v e
07-25-2010, 03:16 PM
like the attached - it's often easier to work with a 10 or 50px wide background so that you can edit it more easily and the file size is often near as damn it the same ;)

just remember to set the background to repeat

background: url(image.png) repeat;