<td align not working (Full Version)

All Forums >> [Web Development] >> Microsoft FrontPage Help



Message


dangmoss -> <td align not working (9/13/2006 23:41:00)

if n = 0 then response.write("<td align=left><h2>" & "ID " & "</td><td align=right><h2>" & myArray(n,m) & "</h2></td>")

from some unknown reason the 2nd align command is failing... alight left or right nothing happens, the first one works fine.

the 2nd <h2> tag works also...

what am I missing?





dangmoss -> RE: <td align not working (9/14/2006 2:42:50)

nevermind, figured out the css was messing it up, used <font> works fine now





jaybee -> RE: <td align not working (9/14/2006 4:26:06)

quote:

<td align=left><h2>" & "ID " & "</td><td align=right><h2>" & myArray(n,m) & "</h2></td>")


You have your tags nested all wrong

For example this bit
<td align=left><h2>" & "ID " & "</td>

the closing </h2> is missing and should come before the </td> so it should be
<td align=left><h2>" & "ID " & "</h2></td>


<td align=right><h2>" & myArray(n,m) & "</h2></td>")
This is correct you have the <td></td> enclosing the <h2></h2>




Page: [1]

Valid CSS!




Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI
6.195068E-02