Dynamically Creating repeating tables with ASP and CSS

Dynamically Creating repeating tables with ASP and CSS

am 23.04.2007 17:39:02 von 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

Re: Dynamically Creating repeating tables with ASP and CSS

am 23.04.2007 17:57:16 von reb01501

marijuanated@gmail.com wrote:
> 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?
>
Don't use margins for positioning? Use absolute positioning instead.

--
Microsoft MVP -- ASP/ASP.NET
Please reply to the newsgroup. The email account listed in my From
header is my spam trap, so I don't check it very often. You will get a
quicker response by posting to the newsgroup.

Re: Dynamically Creating repeating tables with ASP and CSS

am 23.04.2007 18:56:21 von Adrienne Boswell

Gazing into my crystal ball I observed "Bob Barrows [MVP]" @NOyahoo.SPAMcom> writing in news:#H8Mi#bhHHA.4132@TK2MSFTNGP05.phx.gbl:

> marijuanated@gmail.com wrote:
>> 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?
>>
> Don't use margins for positioning? Use absolute positioning instead.
>

Bad idea, unless you know what you're doing absolute positioning can get
you into trouble very, very quickly.

To the OP:

Have you validated the resultant HTML and CSS? You might want to generate
a representative page, put it up on the net somewhere, and then post to
comp.infosystems.authoring.www.stylesheets for more help.

--
Adrienne Boswell at Home
Arbpen Web Site Design Services
http://www.cavalcade-of-coding.info
Please respond to the group so others can share