Solved

HTML5 margin-bottom=0 on H1

Posted on 2014-03-06
2
169 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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Introduction If you're like most people, you have occasionally made a typographical error when you're entering information into an online form.  And to your consternation, the browser remembers the error, and offers to autocomplete your future entr…
This article discusses how to create an extensible mechanism for linked drop downs.
In this Micro Tutorial viewers will learn how to create a CSS image sprite (In a later tutorial, viewers will learn how to use CSS and HTML to create a navigation menu using this sprite) Open a new Photoshop document with a width of (Icon width)x(N…
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

747 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now