Forum Moderators: not2easy

Message Too Old, No Replies

tables in divs adding <br>'s to the source....?

has anyone else experienced this?:

         

ggforce

2:48 am on Aug 26, 2005 (gmt 0)

10+ Year Member



has anyone experienced tables inside div's rendering <br>'s and fudging the display?

looks find in the editor (dw2004) but renders about 100px below where it should in the browser and inserts <br>'s.

code snippet of what the browswer renders (the <br>'s shouldn't be there at all):
-------------------------------
<div align="center">
<img src="003/images/header_left_main.jpg" class="photo-ctr" border="1">
</div>
<br>
<br>
<br>
<br>
<br>
<br>
<table border="0">

<tbody><tr>
<td><b>Table Test
---------------------------------------------
does anyone know what may cause this?

thanks,

~g

ggforce

6:20 pm on Aug 26, 2005 (gmt 0)

10+ Year Member



update: after closer review i was successful at diagnosing and resolving the table positioning problem; the markup of table had errors.

the problem was placement of <br>'s in-between table elements. in standard table based page layouts this will not likely pose any obvious layout problems, but with a css based layout it will, so just be mindful to insert properly coded data and everything lines up as it should.

after correcting the table code there are no positioning errors.

1) correct
...any text here<br></p>
</td>
</tr>

2) incorrect

...any text here</p>
</td><br>
</tr>
<tr>
<td><p>...any text here</p>
Edit/Delete Message