Solved

Pull H2 border up

Posted on 2009-06-29
3
301 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
[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
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

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

Suggested Solutions

Title # Comments Views Activity
URGENT - Wordpress site missing  theme 9 70
Using Specialized Fonts in CSS 1 44
Media Queries  not Firing 6 26
Incorrect css styling in footer 3 9
Styling your websites can become very complex. Here I'll show how SASS can help you better organize, maintain and reuse your CSS code.
This article demonstrates how to create a simple responsive confirmation dialog with Ok and Cancel buttons using HTML, CSS, jQuery and Promises
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…
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…

730 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