Angus at InfoForce Services wrote:
At http://infoforce-services.com/guidedog/index.php I am trying to
get "Section2" to display under the buttons. I am getting very
fustrated on getting this positioning. Can anyone help! Thank you.
HTML: http://infoforce-services.com/guidedog/index.php
Depends on whether you want h2 centered on the page, or floated left.
I can't know since you have declared both 'text-align: center;' and
'float: left;' on h2, without declaring a width in which to center.
Floats shrinks, so there's no space to center text in now.
1: delete 'float: left;' on h2 if you want h2 to be centered on page.
2: add a clearing-element above h2 if you want h2 to float left - like so:
CSS:
br.both {clear: both;}
XHTML:
<br class="both" />
<h2 class="The_Eye">
Section 2.
</h2>
Note that declaring 'clear: both;' on h2 itself will only work as
intended in IE/win, so that's no good.
regards
Georg
--
http://www.gunlaug.no
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
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/