<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:pingback="http://madskills.com/public/xml/rss/module/pingback/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:dc="http://purl.org/dc/elements/1.1/" version="2.0">
  <channel>
    <title>The Moon Upstairs - CSS - ASP.Net</title>
    <link>http://fredwebs.com/blog/</link>
    <description>And other .Net Programming Issues</description>
    <language>en-us</language>
    <copyright>Fred Peters</copyright>
    <lastBuildDate>Mon, 15 Jan 2007 16:25:30 GMT</lastBuildDate>
    <generator>newtelligence dasBlog 2.2.8279.16125</generator>
    <managingEditor>Fred@FredWebs.com</managingEditor>
    <webMaster>Fred@FredWebs.com</webMaster>
    <item>
      <trackback:ping>http://fredwebs.com/blog/Trackback.aspx?guid=aacbf13a-15bc-4995-b45a-225887873518</trackback:ping>
      <pingback:server>http://fredwebs.com/blog/pingback.aspx</pingback:server>
      <pingback:target>http://fredwebs.com/blog/PermaLink,guid,aacbf13a-15bc-4995-b45a-225887873518.aspx</pingback:target>
      <dc:creator />
      <wfw:comment>http://fredwebs.com/blog/CommentView,guid,aacbf13a-15bc-4995-b45a-225887873518.aspx</wfw:comment>
      <wfw:commentRss>http://fredwebs.com/blog/SyndicationService.asmx/GetEntryCommentsRss?guid=aacbf13a-15bc-4995-b45a-225887873518</wfw:commentRss>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
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.  
</p>
        <blockquote dir="ltr" style="MARGIN-RIGHT: 0px">
          <p>
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.
</p>
          <p>
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.
</p>
          <p>
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.<br /></p>
        </blockquote>
        <p dir="ltr">
Fred
</p>
        <img width="0" height="0" src="http://fredwebs.com/blog/aggbug.ashx?id=aacbf13a-15bc-4995-b45a-225887873518" />
      </body>
      <title>CSS and ASP.Net</title>
      <guid isPermaLink="false">http://fredwebs.com/blog/PermaLink,guid,aacbf13a-15bc-4995-b45a-225887873518.aspx</guid>
      <link>http://fredwebs.com/blog/2007/01/15/CSSAndASPNet.aspx</link>
      <pubDate>Mon, 15 Jan 2007 16:25:30 GMT</pubDate>
      <description>&lt;p&gt;
We were recently handed some mock up ASPX&amp;nbsp;pages&amp;nbsp;to use in a facelift of
an existing ASP.Net 2.0 application.&amp;nbsp; The&amp;nbsp;pages used CSS extensively and
unfortunately used no server controls as used in the existing applicaton.&amp;nbsp; The
conversion has been painful and time consuming.&amp;nbsp; 
&lt;/p&gt;
&lt;blockquote dir=ltr style="MARGIN-RIGHT: 0px"&gt; 
&lt;p&gt;
Apparently label controls that have no text play havoc with the format, large blank
areas will appear when you narrow the browser window.&amp;nbsp; I had to change them to
be not visible and add code to switch the visible attribute on and off.&amp;nbsp; This
rendered useless my long time use of an informational label with view state disabled,
which never needed clearing or making not visible.
&lt;/p&gt;
&lt;p&gt;
Also some controls such as the checkbox are rendered with a SPAN around them that
causes unwanted wrapping problems.&amp;nbsp; 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.
&lt;/p&gt;
&lt;p&gt;
It is interesting to note that checkbox controls that are dynamically added to a panel
do not have this problem.&amp;nbsp; Of course then you have to maintain the view state
of the control yourself which adds a lot of complexity.&lt;br&gt;
&lt;/p&gt;
&lt;/blockquote&gt; 
&lt;p dir=ltr&gt;
Fred
&lt;/p&gt;
&lt;img width="0" height="0" src="http://fredwebs.com/blog/aggbug.ashx?id=aacbf13a-15bc-4995-b45a-225887873518" /&gt;</description>
      <comments>http://fredwebs.com/blog/CommentView,guid,aacbf13a-15bc-4995-b45a-225887873518.aspx</comments>
      <category>CSS - ASP.Net</category>
    </item>
  </channel>
</rss>