...

View Full Version : Heading and a paragraph on the left and another heading and paragraph on the right li



KevinG
07-19-2007, 10:44 AM
Hi, I am trying to get a heading and a paragraph on the left and another heading and paragraph on the right line up side by side. Should i be using divs instead of just ids? Also, even though i am using px, the layout dimensions are different in ie6 and ff.


#headlinered1 {
margin-left: 30px;
margin-top: 20px;
}
#paragraph1 {
width: 220px;
margin-left: 30px;
text-align: justify;
}
#headlinered2 {
margin-right: 70px;
margin-top: 10px;
float: right;

}
#paragraph2 {
width: 220px;
margin-right: 30px;
text-align: justify;

_Aerospace_Eng_
07-19-2007, 10:50 AM
CSS is useless without HTML.

KevinG
07-19-2007, 10:53 AM
<h2 id="headlinered1">Our straightforward approach</h2>
<h2 id="headlinered2">How to contact us</h2>
<p id="paragraph1">text here text here</p>

_Aerospace_Eng_
07-19-2007, 10:59 AM
headlinered2 needs to come before headlinered1.

KevinG
07-19-2007, 11:02 AM
shux aero, that worked! thank you. I never would have solved that. so it was a layout ordering issue.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum