Doug Stumberger wrote:
> I'm trying to replicate something just like what Wikipedia does with their
> header/[edit] combinations, see for example: 
>
> http://en.wikipedia.org/wiki/James_Monroe
>
> Thanks!
>
> Doug
>
>   
As in any discipline, there are a number of ways to do anything. This is 
one of them (and regardless of what method is used, it must be adjusted 
for the particular situation at hand):
CSS
html, body { margin: 0; padding: 0; background-color: #fff; color: #000; }
body { font: 100% arial, sans-serif; }
#secondary p { float: right; font-size: 90%; margin: 0; padding: 3px 0 0 
0;  }
h1{ font-size: 120%; margin: 0 0 1px  0; padding: 0; }
#contain{ border-bottom: 1px solid silver; width:100%; padding-top: 20px;}
#rap{ float: left; width:50%; }
#secondary {float:right;width:49.9%}
br.both {clear:both;width:100%}
HTML
<div id="contain">
<div id="rap">
<div id="primary">
<h1>Early Years</h1>
</div>
</div>
<div id="secondary">
<p>[edit]</p>
</div>
<br class="both" />
</div>

HTH,
~dL

http://chelseacreekstudio.com/

______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7 information -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to