View Full Version : set max width on page
09-02-2011, 03:19 AM
I have a simple page that is going to become sourced via iFrame onto another site, the problem is that in order for it to continue to look decent as an iFrame on this site it needs to have a maximum width is 500px, so the whole page itself has to have a max width of 500px.. I am not quite sure if I would do that in the .php file or the .css file, any help would be much appreciated
Site that needs to go down to 500px: http://blinkink.info/dawnese/
09-02-2011, 06:51 AM
You have a number of places in your style sheet that sets the width to 960px; Change all of those to 500px; and see what you get.
Just do a search and replace.
09-03-2011, 06:38 PM
Thank you that helped with the body part but I am also trying to control how wide the blue and tan top border goes, is that even possible? I need to have a max width of 500px, as if you can control when that stops tiling, I know its not common but hopefully someone knows how..
09-04-2011, 04:11 AM
Before proceeding - go to http://validator.w3.org/ and check out and correct the errors in the coding. You have a number of end tags with no beginning tags. One of these is the </form> tag Now that should have a beginning somewhere.
Also You have the table tags in the doc head and no end tag. These should be fixed.
blue and tan top border - The image should be placed into a 500px; width <div>
Fix code and post back
Powered by vBulletin® Version 4.2.2 Copyright © 2016 vBulletin Solutions, Inc. All rights reserved.