Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. Web Development
  3. Borders when embedding flash in a page

Borders when embedding flash in a page

Scheduled Pinned Locked Moved Web Development
questionc++adobehardwarejson
3 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • C Offline
    C Offline
    Christian Graus
    wrote on last edited by
    #1

    I have a swf which I have embedded in a page. The page has two frames, with no borders between them. The flash is supposed to play in the top frame, and the rest of the site sits in the bottom frame. The thing is, they are supposed to butt up to one another, and I am finding if I don't specify a frame size that's 34 pixels higher than the size of the swf, I get scrollbars in the top frame. As it stands, I have a big gap where I'd like things to be nice and snug. how do I do that ?

    Christian Graus - Microsoft MVP - C++ "also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )

    S 1 Reply Last reply
    0
    • C Christian Graus

      I have a swf which I have embedded in a page. The page has two frames, with no borders between them. The flash is supposed to play in the top frame, and the rest of the site sits in the bottom frame. The thing is, they are supposed to butt up to one another, and I am finding if I don't specify a frame size that's 34 pixels higher than the size of the swf, I get scrollbars in the top frame. As it stands, I have a big gap where I'd like things to be nice and snug. how do I do that ?

      Christian Graus - Microsoft MVP - C++ "also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )

      S Offline
      S Offline
      SABhatti
      wrote on last edited by
      #2

      Christian here is what you have to do, I have tested in IE: in your main page do this: <FRAMESET frameborder= "0 px" framespacing="0 px" Rows="217, *" > <FRAME name="xSelection" src="frame1.htm" scrolling="no" NORESIZE> <FRAME name="xIndividualStore" src="frame2.htm" scrolling="no" NORESIZE> </FRAMESET> Rows for the first frame should be fixed. you might have to test for the flash object by increasing and decreasing the number of rows until it fits the flash object. Rows for the second frame can be automatic. And top and bottom margins (margins in body tag of both pages) for frame1.htm and frame2.htm should be 0. This way you will get your required results. Make sure your flash object does not have any blank lines at the end.

      -----

      C 1 Reply Last reply
      0
      • S SABhatti

        Christian here is what you have to do, I have tested in IE: in your main page do this: <FRAMESET frameborder= "0 px" framespacing="0 px" Rows="217, *" > <FRAME name="xSelection" src="frame1.htm" scrolling="no" NORESIZE> <FRAME name="xIndividualStore" src="frame2.htm" scrolling="no" NORESIZE> </FRAMESET> Rows for the first frame should be fixed. you might have to test for the flash object by increasing and decreasing the number of rows until it fits the flash object. Rows for the second frame can be automatic. And top and bottom margins (margins in body tag of both pages) for frame1.htm and frame2.htm should be 0. This way you will get your required results. Make sure your flash object does not have any blank lines at the end.

        -----

        C Offline
        C Offline
        Christian Graus
        wrote on last edited by
        #3

        Awesome. I had to make the top margin -2 in my lower frame, but it's all looking good now. Thank you.

        Christian Graus - Microsoft MVP - C++ "also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups