Sent by Scott Hamm on 30 November 2004 11:11
CSS:
* {margin:0;padding:0;font-family:arial;}
li {margin:0 0 0 50px;padding:0 0 0 0;}
h1 {float:left;}
p.theme {text-align:right;float:right;font-size:8pt;margin:10px 10px 0 0;}
address {clear:all;}
address p {display:inline;padding:0 2px;font-size:8pt;}
h1, address {border:1px solid #000;margin:0 0 0 50px;}
HTML:
<div class="header">
<h1>Header</h1>
<p class="theme">"Where there is no vision, the people
perish"</p>
<address>
<p class="firstline">101 Brandy Lane</p>
<p class="secondline">Felton, DE</p>
<p class="thirdline">19943</p>
</address>
</div><!-- header -->
QUESTION:
Why is h1 set further to the right than address when margin specifications
are exactly the same?
______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/