3
Contributors
5
Replies
6
Views
9 Years
Discussion Span
Last Post by MidiMagic
0

What?? I don't understand your reply at all.

here is the code..

<div style="width: 500px; text-align: justify;" id="content">
              <br /> text
              <br />
              <br /> text
0

please delete here <br /> tag in div tag OK
n then check in mozilla and IE

<div style="width: 500px; text-align: justify;" id="content">
               text<br>
               text
0

that doesn't make any difference. i tried it.

i had to use [if IE] quirks tags everywhere. it's ugly but ready to go.

It's worth looking into. I have no idea what caused the bug to surface...

0

His page is xhtml. It requires the self-closing form of br: <br /> The problem is the use of the br tag to insert breaks in the text. The correct way to display this is to use p tags to surround the paragraphs. This is not the intent of the br tag. The br tag is for forcing a single new line in the middle of text, without inserting a blank line.

Wrong:
<div>
  text
  <br><br>text
  <br><br>text
  <br><br>text
</div>

Right:
<p>text</p>
<p>text</p>
<p>text</p>
<p>text</p>
This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.