View Full Version : Styling a DetailsView in ASP.Net

05-25-2011, 06:43 AM
I have a details view which allows users to create, edit, delete and view the table.

I'm having an issue with the styling.

When the user views the table and goes from 1 entry to the other, the width of the Title, Description etc change depending on the added data.

Is there a way to give it a fixed width so that it doesn't change from entry to entry? The whole left column always changes...

It's always the left column that changes... How can I fix this?


06-07-2011, 03:51 PM
Set a fixed pixel width for your different columns. Create a CSS class and apply it to your <td> tag.