Solved

Pull H2 border up

Posted on 2009-06-29
3
299 Views
Last Modified: 2012-05-07
Is there a way to pull the bottom borer on the example code to the absolute bottom of the Header text?
<html>
 

<head>

<title>Header 2</title>

<style>

<!--

.head       { border-bottom:1px solid #FF0000;

                padding:0px; 

                margin:0px; }

.top        { float: right;

                 }               

-->

</style>

</head>
 

<body>

<div class="head">

    <div class="top">[<a href="#top">top</a>]</div>

	<h2>Header 2</h2>

</div>
 

</body>

</html>

Open in new window

header2.jpg
0
Comment
Question by:rdivilbiss
  • 2
3 Comments
 
LVL 8

Accepted Solution

by:
lharrispv earned 500 total points
ID: 24740010
See if this works.

h2 {padding:0px;  margin:0px;}
0
 
LVL 29

Author Closing Comment

by:rdivilbiss
ID: 31598103
Thanks
0
 
LVL 8

Expert Comment

by:lharrispv
ID: 24740113
np
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

As a result of several questions about how to use Bootstrap I thought it would be a good idea to write down the development aspect of creating a Bootstrapped website in as little time as possible. Part 1 of this article will only concentrate on g…
Why do we like using grid based layouts in website design? Let's look at the live examples of websites and compare them to grid based WordPress themes.
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…
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…

920 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

14 Experts available now in Live!

Get 1:1 Help Now