Dynamically Creating repeating tables with ASP and CSS

M

marijuanated

Hi All,

I am generating a series of tables in CSS. The tables should repeat
themselves for a number of times governed by a counter that is
calculated at runtime by the ASP code. The problem is that I have used
top margins to position the tables in the ASP page.

So the tables when repeated super-impose on the tables that are
already placed at that margin position. Can someone suggest me a
better way out to resolve this?

Thanks,
Sundar
 
M

Murray

So the tables when repeated super-impose on the tables that are
already placed at that margin position. Can someone suggest me a
better way out to resolve this?

Impossible - if all you have used it 'margin-top', which only adds margin to
the top of the element, regardless of that element's position in the normal
flow. It sounds like you are also using absolute positioning on these
tables - are you?
 
M

marijuanated

Impossible - if all you have used it 'margin-top', which only adds margin to
the top of the element, regardless of that element's position in the normal
flow. It sounds like you are also using absolute positioning on these
tables - are you?

Yes I am using absolute positioning so that I cannot layout tables
horizontally.
 
M

Murray

Why are you using absolute positioning on the tables? You are painting a
large bulls-eye on your butt by doing this....
 

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

Similar Threads

CSS help 5
CSS Problems 9
IE 7 table colapse problem 4
from tables to css - I need help 1
Stationary 0
Frontpage 2003 crashes when applying DWT 1
problem with css and picture 2
ASP and HTML 6

Top