Results 1 to 3 of 3
  1. #1
    Join Date
    Jan 2008
    Posts
    139
    Plugin Contributions
    0

    Default Positioning Object to Top of Center Column?

    I have changed the template so that both my left and right column headers bump up directly against the horizontal NavMain bar, with no padding between them.

    I've added a flash animation to the top of the center column, and would like it to bump up and rest against the bottom of the NavMain bar, too. However, the top edge of the flash movie begins almost 1/4" below the NavMain bar.

    I've used the developer's toolkit for Firefox to change the CSS file so that I can see what my changes are doing. I have lessened the gap by decreasing the font size and by adding "#indexDefaultHeading {display:none;}", but no matter what I've tried, I can't get rid of that padding or margin, or whatever it is that's keeping my center column image from closing the gap with the Nav bar, as shown circled in red, below:



    Any suggestions?

    Thanks,
    David

  2. #2
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: Positioning Object to Top of Center Column?

    This appears to be included as part of your flash - to see this add this to your stylesheet
    Code:
    #flashcontent {
    margin-top: -2em;
    }
    Zen-Venom Get Bitten

  3. #3
    Join Date
    Jan 2008
    Posts
    139
    Plugin Contributions
    0

    Default Re: Positioning Object to Top of Center Column?

    Quote Originally Posted by kobra View Post
    This appears to be included as part of your flash - to see this add this to your stylesheet
    Code:
    #flashcontent {
    margin-top: -2em;
    }
    Wow! Thanks, kobra!

    I had set the width x height params of the javascrip SWFObject to match the size of the actual .swf file I made. There must have been enough of a difference in height to create the white space. I stepped the height param down in SWFObject until there was just a thin white line, which is as good as it's going to get apparently, but it looks MUCH better.

    Thank you!

    DBB1

 

 

Similar Threads

  1. Spacing or Padding issue top of Center Column
    By cinbou in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 6 Mar 2010, 11:02 PM
  2. Top align center column with top, left side box?
    By kirkbross in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 15 Jan 2010, 07:36 AM
  3. Top align left column? or change top header to center only.
    By byoriginaldesign in forum Templates, Stylesheets, Page Layout
    Replies: 7
    Last Post: 22 Dec 2009, 07:16 PM
  4. adding an image to the top corners of the center column
    By ilsita in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 10 Oct 2009, 11:47 PM
  5. center column space at the top
    By g_force in forum Templates, Stylesheets, Page Layout
    Replies: 11
    Last Post: 8 Mar 2009, 06:47 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg