Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 653403
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T22:22:42+00:00 2026-05-13T22:22:42+00:00

for this site: http://yoursdproperty.com/ do you see how there some extra white space all

  • 0

for this site:

http://yoursdproperty.com/

do you see how there some extra white space all the way at the top?

how would i expand that image to get rid of that space?

The weird thing is that the flash file that runs the header images has already been changed by me to be the width of the page. Something in the CSS though makes it the old size of 940 wide.

please note that im only interested in making adjustments to the css or html, not flash or javascript

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-13T22:22:42+00:00Added an answer on May 13, 2026 at 10:22 pm

    The Question (is this correct?):

    1. How do I make the Flash movie extend to the full width of the page (instead of 940px)?
    2. How do I cause the Flash movie to reside at the top of its parent element – and thereby at the head of the page?

    The above should be done without modifying Javascript or Flash.


    The Answer:

    Part 1:
    It seems that you are using FlashObject in order to embed the flash.
    FlashObject accepts several arguments, the 3rd and 4th of which represent the width and height attributes of the element.

    As long as those attributes are set they will override ANY other CSS classes you apply.
    To change the width to 100%, you must change that 940 to 1040, or possibly to ‘100%’.

     <script type="text/javascript">
        var fo = new FlashObject("/templates/pjo_joomlaforall/images/header.swf", "topheader", '100%', 250, 7);
        fo.addParam("wmode", "transparent");
        fo.write("flashcontent");
     </script>
    

    While this may count as using Javascript, it is the only solution that could work.

    Part 2:
    The actual swf you are dealing with is 240px wide and 200px tall.
    The part of the flash file which is ‘image’ is only 50px tall, and is in the vertical center of the swf.

    There is no way to use CSS to enlarge that 50px center within the SWF.
    What you can do is use CSS enlarge the swf so that the height of the center matches your needs, and then some more CSS to crop off the top and bottom whitespace.

    Place the embed tag inside an element whose overflow is hidden, and apply a negative top margin (or negative position) to the embed equal to the whitespace you wish to crop.

    <style type="text/css"> 
    #at-flashheader{ 
        overflow:hidden
    }
    #flashcontent{
        margin-top:-40px;
    }
    </style>
    <div id="at-flashheader"><div id="flashcontent"></div></div>
    

    ‘Course, this won’t really work if the width of the swf is a percentage, as the height of the whitespace wont be constant.
    If you set the width to a constant such as 1040px, you can set the negative top margin accordingly.


    As an aside:

    You really should be doing this with Mootools or JQuery instead of Flash.
    Case in point – I have Flashblock on my browser, and had to jump through hoops just to see what you were talking about. Had I been on my iPhone, jumping through hoops wouldn’t have helped.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

on this site: http://yoursdproperty.com/index.php?option=com_jumi&fileid=8&Itemid=34 as you can see the white background a little bit
at this site: http://yoursdproperty.com/index.php?option=com_jumi&fileid=8&Itemid=34 you will see on the left there is a navigation
i have this site: http://yoursdproperty.com/index.php?option=com_jumi&fileid=8&Itemid=34 i need to increase the width of the holder
I overloaded the 6 signals listed on this site http://www.cplusplus.com/reference/clibrary/csignal/signal.html Then i ran my
This is what my browser sent, when logging into some site: POST http://www.some.site/login.php HTTP/1.0
Recently I've been seeing a lot of this: <a href='http://widget-site-example.com/example.html'> <img src='http://widget-site-example.com/ross.jpg' alt='Ross&#39;s Widget'
For this site: http://writershore.com/ltlaw/ I validated the site as XHTML 1.0 Transitional, and now
From this site: http://www.catalinzima.com/?page_id=14 I've always been confused about how the depth map is
On this site http://www.bostonteaclub.com I want the default language to be Chinese. I set
On this site: http://tinyurl.com/2allkcs The submit button for the login form doesn't seem to

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.