Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 207
  • Last Modified:

HTML5 margin-bottom=0 on H1

I am trying to remove the space between <h1> and <nav>

        <h1 class=title; margin-bottom=0>
            Be The Star Of The Show
        </h1>
        <nav>
            <h2>
            <a href="mMagic.htm"><b>Home</b></a> &nbsp;
            <a href="mServices.htm"><b>Services</b></a> &nbsp;
            <a href="mVideo.htm"><b>Video</b></a> &nbsp;
            <a href="mAbout.htm"><b>About</b></a>
            </h2>
        </nav>

Open in new window


.title { background-color:#630C0C; color:white; }
#valigntop { display: table-cell; vertical-align: top;  }
#content { background-color: #F6F6FD; }

Open in new window

0
CipherIS
Asked:
CipherIS
1 Solution
 
Carl TawnSystems and Integration DeveloperCommented:
This:
<h1 class=title; margin-bottom=0>

Open in new window

Should say:
<h1 class="title" style="margin-bottom:0;">

Open in new window

0
 
CipherISAuthor Commented:
That did it.
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now