D A wrote:
> Is there a way to get the following visual style:
>
> *This is the header* This is the rest
> of the paragraph here. As you can
> see the header is inline visually.
>
> Visually, this works by setting the h2 to be inline.
>
>
> -DA
>   


Yes, like this...

<!DOCTYPE HTML>
<html lang="en">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<meta name="generator" content="HTML Tidy for Windows (vers 1st January 
2002), see www.w3.org" />
<title>US STEEL</title>
<style type="text/css">
body { font : 100%/normal georgia, serif; background: #fff; color: 
#000;  margin: 0; padding: 0;}
h1, p {font-size: 100%;display:inline;margin: 0; }
p {margin-left: 5px;}
</style>
</head>
<body>
<div>
<h1>US Steel</h1><p>the best steel manufactured world wide, and then 
some...</p>
</body>
</html>

______________________________________________________________________
css-discuss [cs...@lists.css-discuss.org]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to