Web Analytics Made Easy -
StatCounter set max width on page - CodingForum

Announcement

Collapse
No announcement yet.

set max width on page

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • set max width on page

    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/

  • #2
    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.
    Evolution - The non-random survival of random variants.
    Physics is actually atoms trying to understand themselves.

    Comment


    • #3
      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..

      Blinkink.info/dawnese

      Comment


      • #4
        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
        Evolution - The non-random survival of random variants.
        Physics is actually atoms trying to understand themselves.

        Comment

        Working...
        X
        😀
        🥰
        🤢
        😎
        😡
        👍
        👎