Border "moves" after inserting Java Script Code

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

OK - after 2 days of troubleshooting this, I am stumped. I have a TABLE
LAYOUT that contains a bunch of other tables - all formatted in a way that
the page displays perfectly until I add a BORDER to it. I have a Cell that I
format in a left-most Table that contains Java Script for a Menu of choices.
The moment I insert the Java Script CODE to display the Menu, the BORDER at
the top oif the screen SHIFTS upwards --- resulting in about 10 pixels of the
background color - which happens to be different than the Table Layout Color
.... so the border appears HIGHER than the actual Table Layout. For the life
of me I can't figure out how to "anchor" or resize things so this doesn't
occur. When I REMOVE the Java code from the Cell, the Border lines up
perfectly ...

Any suggestions???

Thanks in advance....
 
Try removing this;

<td valign="top" colspan="9" bordercolor="#000000">
<p align="center">&nbsp;</td>
<td height="16"></td>



| PS - here's the example ... http://showroom500.com/testmain.htm
|
| You can see that the border is about 20 pixels higher than the WHITE
table.
|
| Thanks.
|
| "Cody21" wrote:
|
| > OK - after 2 days of troubleshooting this, I am stumped. I have a TABLE
| > LAYOUT that contains a bunch of other tables - all formatted in a way
that
| > the page displays perfectly until I add a BORDER to it. I have a Cell
that I
| > format in a left-most Table that contains Java Script for a Menu of
choices.
| > The moment I insert the Java Script CODE to display the Menu, the BORDER
at
| > the top oif the screen SHIFTS upwards --- resulting in about 10 pixels
of the
| > background color - which happens to be different than the Table Layout
Color
| > ... so the border appears HIGHER than the actual Table Layout. For the
life
| > of me I can't figure out how to "anchor" or resize things so this
doesn't
| > occur. When I REMOVE the Java code from the Cell, the Border lines up
| > perfectly ...
| >
| > Any suggestions???
| >
| > Thanks in advance....
| >
 
Thanks -- actually I had an epiphany last night. My real problem was using a
/DIV instead of a /TD for the insertion of the JS.

Thanks.
 
whew...did it hurt much?

:-)

| Thanks -- actually I had an epiphany last night. My real problem was using
a
| /DIV instead of a /TD for the insertion of the JS.
|
| Thanks.
|
| "Rob Giordano (Crash)" wrote:
|
| > Try removing this;
| >
| > <td valign="top" colspan="9" bordercolor="#000000">
| > <p align="center"> </td>
| > <td height="16"></td>
| >
| >
| >
| > | > | PS - here's the example ... http://showroom500.com/testmain.htm
| > |
| > | You can see that the border is about 20 pixels higher than the WHITE
| > table.
| > |
| > | Thanks.
| > |
| > | "Cody21" wrote:
| > |
| > | > OK - after 2 days of troubleshooting this, I am stumped. I have a
TABLE
| > | > LAYOUT that contains a bunch of other tables - all formatted in a
way
| > that
| > | > the page displays perfectly until I add a BORDER to it. I have a
Cell
| > that I
| > | > format in a left-most Table that contains Java Script for a Menu of
| > choices.
| > | > The moment I insert the Java Script CODE to display the Menu, the
BORDER
| > at
| > | > the top oif the screen SHIFTS upwards --- resulting in about 10
pixels
| > of the
| > | > background color - which happens to be different than the Table
Layout
| > Color
| > | > ... so the border appears HIGHER than the actual Table Layout. For
the
| > life
| > | > of me I can't figure out how to "anchor" or resize things so this
| > doesn't
| > | > occur. When I REMOVE the Java code from the Cell, the Border lines
up
| > | > perfectly ...
| > | >
| > | > Any suggestions???
| > | >
| > | > Thanks in advance....
| > | >
| >
| >
| >
 
Back
Top