Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Need help with margins of Weebly site Reply To: Need help with margins of Weebly site

#195418
Paulie_D
Member

Get rid of the white space at the very top.

Not sure if any of this is even possible in Weebly but here goes.

The white space has two parts.

Firstly.

#page-wrap {
  background: url(theme/body-bg.jpg?1423522112) repeat;
  border-top: none;
  border-bottom: none;
  padding: 27px 0px 20px 0px;
}

The 27px to top padding should be removed.

Secondly,

There’s a table…an empty one.

<table id="header">
                <tbody><tr>
                    <td class="phone-number"></td>
                    <td id="header-right">
                        <table>
                            <tbody><tr>
                                <td class="social"></td>
                                <td class="search"></td>
                            </tr>
                        </tbody></table>
                    </td>
                </tr>
            </tbody></table>

in your .container div.

If it’s empty, remove it and the remaining space disappears.