probs with table not showing right space?

D

Dean Collins

Hi I have a simple 3x2 table and I want an equal amount of space on either
side of the table.

There doesn't appear as much space on the right as on the left.

I had to do fixed width table because it contained text and the text kept
being affected on smaller sized displays etc.

<div style="position: absolute; top: 30%; left: 25%; right: 25%; bottom:
35%; z-index: 1">
<div align="center">
<table border="0" id="table1" width="680">

is there anything I'm missing to have 25% space on the right?

TIA,
Dean
 
S

Stefan B Rusynko

Only your table size and browser window size
- the 25% refers to the browser window
in a 800x600 screen that means a 200 px left margin (25% of 800) so you only have 600px left for your table and no room for your
right margin




| Hi I have a simple 3x2 table and I want an equal amount of space on either
| side of the table.
|
| There doesn't appear as much space on the right as on the left.
|
| I had to do fixed width table because it contained text and the text kept
| being affected on smaller sized displays etc.
|
| <div style="position: absolute; top: 30%; left: 25%; right: 25%; bottom:
| 35%; z-index: 1">
| <div align="center">
| <table border="0" id="table1" width="680">
|
| is there anything I'm missing to have 25% space on the right?
|
| TIA,
| Dean
|
|
 

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

Top