Jump to content

Recommended Posts

Is there an easy way to set the width of a website down to 800px without cutting the images out? I have a website at: http://www.a1qualitycorp.com/mockup and on smaller resolution screens, there is the need to scroll, and i want to eliminate that, but when I tried adding a wrapper, it cut of of the main image out. Can anyone help me with this?

Link to comment
https://forums.phpfreaks.com/topic/221678-resizing-wrapper-help/
Share on other sites

You need to have your background set to be a repeating image. From the looks of it, you've got one image that takes up the space, and therefore won't shrink down..

 

You basically need one wrapper around your main content (your main content being an imaginary box from the top left of A1 Quality Corp logo, to the bottom right of mach distribution), this will automatically resize itself to the right height, but you need to make it's width me 100%.

You then need to apply a repeating image as a background to that wrapper. This will ensure that when the browser window resizes, the wrapper div will get smaller, and therefore the number of background repeats required will be less. The main content will keep it's form (providing you've given it a set width).

 

It's hard to explain without literally sitting there with you and pointing to the different features.. but I hope you understand somewhat..

 

Denno

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.