Solved

HTML5 margin-bottom=0 on H1

Posted on 2014-03-06
2
191 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
2 Comments
 
LVL 52

Accepted Solution

by:
Carl Tawn earned 500 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

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

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

Suggested Solutions

Use these top 10 tips to master the art of email signature design. Create an email signature design that will easily wow recipients, promote your brand and highlight your professionalism.
Finding original email is quite difficult due to their duplicates. From this article, you will come to know why multiple duplicates of same emails appear and how to delete duplicate emails from Outlook securely and instantly while vital emails remai…
In this tutorial viewers will learn how to embed videos in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: "<!DOCTYPE html>": Use the <video> tag to insert a video. Define the src as the URL of your video; this is similar to …
The viewer will receive an overview of the basics of CSS showing inline styles. In the head tags set up your style tags: (CODE) Reference the nav tag and set your properties.: (CODE) Set the reference for the UL element and styles for it to ensu…

821 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