Tables doing it wrong....

  • Thread starter Thread starter JT
  • Start date Start date
J

JT

hi try this code and write in it and preveiw it..

<table border="0" cellpadding="0" cellspacing="0"
width="100%" id="table1" style="position: absolute; left:
152px; top: 255px; width: 235px">
<tr>
<td>&nbsp;</td>
</tr>
</table>

i can move the table n e where...but the problem is that
when i postition it to where i want.....in the preview
section it tend to be a little up.......

eg. in the "design" mode i have the table and the writing
in a circle......everything is looking good in
the "design mode" but when i preview it the writing in
the middle tends to be higher than the one in the "design
tab mode" can n e 1 know the solution??
 
Do you have page margins set?
Preview in browser (including different browsers because they all don't handle absolute position the same
IMHO
If you really need to use absolute positioning always use DIV tags for the objects

--




| hi try this code and write in it and preveiw it..
|
| <table border="0" cellpadding="0" cellspacing="0"
| width="100%" id="table1" style="position: absolute; left:
| 152px; top: 255px; width: 235px">
| <tr>
| <td>&nbsp;</td>
| </tr>
| </table>
|
| i can move the table n e where...but the problem is that
| when i postition it to where i want.....in the preview
| section it tend to be a little up.......
|
| eg. in the "design" mode i have the table and the writing
| in a circle......everything is looking good in
| the "design mode" but when i preview it the writing in
| the middle tends to be higher than the one in the "design
| tab mode" can n e 1 know the solution??
 
Hi,
you need to put the table in a div. Also a % width table in a div will fail
in NN4 - the table will be 100% of the window not the div. So I'd set the
width of the table the same as the div
<div id="yourDiv" style="position: absolute; left:152px; top: 255px; width:
235px">
<table width=235......
</div>

You can't rely on design view giving you a good idea of where positioned
objects will appear - at best it's a rough guide. Check in your target
browsers and preview mode.

Jon
Microsoft MVP - FP
 
Your best bet is to publish the page and preview it in
various IE and N tscape browsers. Don't try to reconcile
FP views.

Steve H
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top