- From: Greg Faron <gfaron@integretechpub.com>
- Date: Tue, 23 Apr 2002 14:34:32 -0600
- To: www-html@w3.org
Frank Tobin wrote:
> Will not using a <div> instead of <span> to contain what you
> want satisfy your needs?
My only issue with using <div> is that I recall in the past (not aware
of the current status) that <div> forced a <br> after it. <span>, being
inline, didn't have that extra visible linebreak in the browsers. I
suppose that I can live with it.
As a follow-up grumbling, I've noticed that I need to have nested <div>
tags in order to allow for justification as well as style. I cannot simply use
<div align="center" id="div_1" style="display:none;">
<!-- Static content, style.display is set dynamically -->
</div>
but instead
<div id="div_1" style="display:none;">
<div align="center">
<!-- Static content, style.display is set dynamically -->
</div>
</div>
Is this a flaw of my browser (IE 6.0), or the specification?
Greg Faron
Integre Technical Publishing Co.
Received on Tuesday, 23 April 2002 16:35:27 UTC