I need html help, with getting things to be on the same line.?

Heathergirl

New member
Okay I want the "select auto and marine" and the "25 year experience" to look like its on the same line on the web page. How would I do that?

here is my html code:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0

Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-

strict.dtd">

<html>

<head>

<link href="dads.css" rel="stylesheet"

type="text/css" />

<title> ... </title>

</head>

<body>

<h1> Select Auto and Marine <div id="right"> 25

Years Experience </div> </h1>


<p> Complete Auto and Marine Detailing <br> by

Professional and Experienced Detailers <p>



</body>
</html>

and this is my css code:

body {background-color: #FF0000;}

#right {text-align: right;
font-size:50%;}

p {color: white;
text-align: center;
text-indent:50px;
font-size:175%;}
Okay using the span tag I got it on the same line however now I can't seem the get it on the right side of the page.
I got it now. Thanks everyone.
 
Back
Top