Go Back   CodingForums.com > :: Server side development > ASP.NET

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 05-25-2011, 05:43 AM   PM User | #1
kimmi_baby
New Coder

 
Join Date: Jun 2010
Posts: 46
Thanks: 10
Thanked 0 Times in 0 Posts
kimmi_baby is an unknown quantity at this point
Styling a DetailsView in ASP.Net

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?

Thanks!
kimmi_baby is offline   Reply With Quote
Old 06-07-2011, 02:51 PM   PM User | #2
creativeedg10
New Coder

 
Join Date: Mar 2010
Posts: 17
Thanks: 0
Thanked 0 Times in 0 Posts
creativeedg10 is an unknown quantity at this point
Set a fixed pixel width for your different columns. Create a CSS class and apply it to your <td> tag.
creativeedg10 is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 09:16 AM.


Advertisement
Log in to turn off these ads.