Thread: padding problem

Results 1 to 4 of 4
  1. #1
    Join Date
    Jul 2005
    Posts
    115
    Plugin Contributions
    0

    Default padding problem

    hey fellow zenners...

    i've got a padding - or margin [spacing] - problem. at the top of my center or main column, there's about 3-5 px of space that i can't' get to disappear.

    here's the rendered html between the end of the left column and the start of a flash file wrapper that should start the center/main column with only 1 px space between it and the header

    ########################################___


    <td valign="top">
    <!-- bof breadcrumb -->
    <!-- eof breadcrumb -->


    <div class="centerColumn" id="indexDefault">
    <h1 id="indexDefaultHeading"></h1>


    <!-- deprecated - to use uncomment this section
    -->

    <!-- deprecated - to use uncomment this section
    -->

    <div id="indexDefaultMainContent" class="content"><object classid="clsid27CDB6E-AE6D-11cf-96B8-444553540000" codebase="https://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="602" height="160">
    <param name="movie" value="includes/templates/nnpt/flash/main_page.swf">
    <param name="quality" value="high">
    <param name="wmode" value="transparent">
    <embed src="DIR_WS_FLASHmain_page.swf" quality="high" pluginspage="https://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="602" height="160"></embed></object></div>
    ########################################___

    none of the css ids or classes above the flash wrapper are in my .css file and tpl_main_page.php doesnt have any tag attributes for spacing.

    i'm not an html or stylesheet expert so i ask for help here (after using developer's toolkit and searching for possible culprits).

  2. #2
    Join Date
    Jul 2005
    Posts
    115
    Plugin Contributions
    0

    Default Re: padding problem

    from me to me: thanks for the help - problem solved.

  3. #3
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: padding problem

    You have an h1 header above your content div, and even though it is blank, it may be taking up some space. Try commenting that out and see if the space disappears.

  4. #4
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

 

 

Similar Threads

  1. padding on sideboxes
    By grasmat in forum Templates, Stylesheets, Page Layout
    Replies: 7
    Last Post: 10 Dec 2010, 02:23 AM
  2. margin and padding problem
    By CoolCarPartsOnline in forum General Questions
    Replies: 3
    Last Post: 19 Oct 2008, 11:41 PM
  3. Body Padding Problem
    By bgroup99 in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 5 Dec 2006, 06:47 PM
  4. padding problem in IE
    By magicpants in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 25 Jun 2006, 09:30 PM
  5. Central box padding problem?
    By skyxliner in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 14 May 2006, 12:06 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