Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Displaying CSS from response.write

Status
Not open for further replies.
Feb 8, 2002
43
US
I have a simple problem. I think I just overlooked something. I am using response.write to send HTML to a page. While doing this I set the class attribute of my main table to a class found in my css file.

Example: Response.write(&quot;<table align = center class = tableset><tr><td>blahblahblah</td></tr></table>&quot;)

On postback It writes out the table correctly but does not format it according to the css class MOST of the time. Exception: It works if the table I write back consists of a lot of data. In oder to get the formatting of the class to show I have to manually reset the page.

Question: How can I do the above response write with the css class and have the output be formated according to that class on postback.

Note: The css file works properly.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top