Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Pull H2 border up

Posted on 2009-06-29
3
Medium Priority
?
305 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 2000 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

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

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

This is a how to build your own CSS3 slideshow and when I say CSS3 I mean just CSS with no javascript in sight! There a few examples online of how to do this but most just show you an example without any explanation, others make it more complicat…
Today, the web development industry is booming, and many people consider it to be their vocation. The question you may be asking yourself is – how do I become a web developer?
In this tutorial viewers will learn how to position items using CSS's three positioning types Create a new HTML document with an internal stylesheet.: Create another div in CSS and name it Absolute : Type "position:absolute;" and "top:10px; left:50p…
In this tutorial viewers will learn how to style a decorative dropcap for the first letter in a paragraph using CSS. In CSS, create a new paragraph class by typing "p.fancy": Then, to style only the first letter of the first sentence, include the ps…
Suggested Courses

618 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