Navigation

Search

Categories

On this page

Archive

Blogroll

Disclaimer
The opinions expressed herein are my own personal opinions and do not represent my employer's view in any way.

RSS 2.0 | Atom 1.0 | CDF

Send mail to the author(s) E-mail

Total Posts: 13
This Year: 0
This Month: 0
This Week: 0
Comments: 0

Sign In
Pick a theme:

# Monday, January 15, 2007
Monday, January 15, 2007 4:25:30 PM UTC ( CSS - ASP.Net )

We were recently handed some mock up ASPX pages to use in a facelift of an existing ASP.Net 2.0 application.  The pages used CSS extensively and unfortunately used no server controls as used in the existing applicaton.  The conversion has been painful and time consuming. 

Apparently label controls that have no text play havoc with the format, large blank areas will appear when you narrow the browser window.  I had to change them to be not visible and add code to switch the visible attribute on and off.  This rendered useless my long time use of an informational label with view state disabled, which never needed clearing or making not visible.

Also some controls such as the checkbox are rendered with a SPAN around them that causes unwanted wrapping problems.  I tried to have the created SPAN's inherit a style, but this would not fix wrap problems no matter how wide I made the span width.

It is interesting to note that checkbox controls that are dynamically added to a panel do not have this problem.  Of course then you have to maintain the view state of the control yourself which adds a lot of complexity.

Fred

Comments [0] | | # 
Related posts:
OpenID
Please login with either your OpenID above, or your details below.
Name
E-mail
Home page

Comment (Some html is allowed: a@href@title, blockquote@cite, strike, strong) where the @ means "attribute." For example, you can use <a href="" title=""> or <blockquote cite="Scott">.  

Enter the code shown (prevents robots):

Live Comment Preview