?
Solved

HTML5 margin-bottom=0 on H1

Posted on 2014-03-06
2
Medium Priority
?
200 Views
Last Modified: 2014-03-07
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
Comment
Question by:CipherIS
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 52

Accepted Solution

by:
Carl Tawn earned 2000 total points
ID: 39912156
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
 
LVL 1

Author Closing Comment

by:CipherIS
ID: 39914026
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!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article discusses how to create an extensible mechanism for linked drop downs.
This article demonstrates how to create a simple responsive confirmation dialog with Ok and Cancel buttons using HTML, CSS, jQuery and Promises
In this tutorial viewers will learn how to embed custom externally-hosted Google Fonts using the Google Font API in CSS Go to the Google Fonts website at google.com/fonts: Browse or search based on font properties or name to find a suitable font for…
HTML5 has deprecated a few of the older ways of showing media as well as offering up a new way to create games and animations. Audio, video, and canvas are just a few of the adjustments made between XHTML and HTML5. As we learned in our last micr…
Suggested Courses

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question