Solved

Google Chrome lets a my layout column collapse

Posted on 2011-03-15
4
534 Views
Last Modified: 2012-05-11
Take a look at the three screen shots.  The first two are Firefox and IE, respectively,  the width of the column containing the "Name," "Activity," and "Start and End Dates" is 150 px as it should be.  Now look at the third screen shot.  This is Chrome (v5).  The column of 150 px has collapsed completely.  Should I switch over to CSS for the column width?  Or, does the problem live elsewhere?

Here's the source code.  

<tr>
   <td style="width: 150px;">
      Name<asp:Label ID="lblLaborID" CssClass="asterisk" runat="server" Text="Label" Visible="False">*</asp:Label>
   </td>
   <td style="width: 310px;">
      <asp:DropDownList ID="ddlLaborID" runat="server" CssClass="ddl300" Enabled="False">
      </asp:DropDownList>
   </td>
</tr>

Open in new window


The last images shows the code rendered by Chrome.  (I've hidden the <option> tags that are child to <select>.




Firefox.png
IE.png
Chrome.png
Chrome-HTML.png
0
Comment
Question by:jdana
  • 2
4 Comments
 
LVL 51

Expert Comment

by:HainKurt
Comment Utility
post the definition for table too...
0
 

Author Comment

by:jdana
Comment Utility
Full table:
<table id="reportFilters" border="0" cellspacing="0" cellpadding="0">
   <tr>
      <td style="width: 150px;">
         Name<asp:Label ID="lblLaborID" CssClass="asterisk" runat="server" Text="Label" Visible="False">*</asp:Label>
      </td>
      <td style="width: 310px;">
         <asp:DropDownList ID="ddlLaborID" runat="server" CssClass="ddl300" Enabled="False">
         </asp:DropDownList>
      </td>
   </tr>
   <tr>
      <td>
         Activity<asp:Label ID="lblActivityID" CssClass="asterisk" runat="server" Text="Label"
            Visible="False">*</asp:Label>
      </td>
      <td>
         <asp:DropDownList ID="ddlActivityID" runat="server" CssClass="ddl300" Enabled="False">
         </asp:DropDownList>
      </td>
   </tr>
   <tr>
      <td>
         Start and End Dates<asp:Label ID="lblStartDate" CssClass="asterisk" runat="server"
            Text="Label" Visible="False">*</asp:Label>
      </td>
      <td>
         <asp:TextBox ID="txtStartDate" runat="server" CssClass="txt100" Style="vertical-align: bottom;"
            Enabled="false"></asp:TextBox>
         <asp:Image ID="imgStartDatePicker" runat="server" ImageUrl="~/_images/icon_datePicker.png" />
         <asp:CalendarExtender ID="extStartDatePicker" runat="server" TargetControlID="txtStartDate"
            PopupButtonID="imgStartDatePicker">
         </asp:CalendarExtender>
         <asp:TextBox ID="txtStopDate" runat="server" CssClass="txt100" Style="vertical-align: bottom;
            margin-left: 15px" Enabled="false"></asp:TextBox>
         <asp:Image ID="imgStopDatePicker" runat="server" ImageUrl="~/_images/icon_datePicker.png" />
         <asp:CalendarExtender ID="extStopDatePicker" runat="server" TargetControlID="txtStopDate"
            PopupButtonID="imgStopDatePicker">
         </asp:CalendarExtender>
      </td>
   </tr>
   <tr>
      <td>
         Park (Location)<asp:Label ID="lblParkID" CssClass="asterisk" runat="server" Text="Label"
            Visible="False">*</asp:Label>
      </td>
      <td>
         <asp:DropDownList ID="ddlParkID" runat="server" CssClass="ddl300" Enabled="False">
         </asp:DropDownList>
      </td>
   </tr>
   <tr>
      <td>
         Material<asp:Label ID="lblMaterialID" CssClass="asterisk" runat="server" Text="Label"
            Visible="False">*</asp:Label>
      </td>
      <td>
         <asp:DropDownList ID="ddlMaterialID" runat="server" CssClass="ddl300" Enabled="False">
         </asp:DropDownList>
      </td>
   </tr>
   <tr>
      <td>
         Equipment<asp:Label ID="lblEquipmentID" CssClass="asterisk" runat="server" Text="Label"
            Visible="False">*</asp:Label>
      </td>
      <td>
         <asp:DropDownList ID="ddlEquipmentID" runat="server" CssClass="ddl300" Enabled="False">
         </asp:DropDownList>
      </td>
   </tr>
</table>

Open in new window

0
 
LVL 52

Accepted Solution

by:
Carl Tawn earned 250 total points
Comment Utility
The table in isolation displays ok in chrome. Could you post the styles that go along with the table so we can recreate it? Or, if you have a test page we could access that would be even better.
0
 

Author Closing Comment

by:jdana
Comment Utility
Sorry I let this one slide.
0

Featured Post

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

When I'm searching for answers on Experts Exchange, I often use Google because it's built into my browser.  To search only on Experts Exchange, I use the "site:" search operator, which can be cumbersome to type out each time I want to run a search. …
So you have coded your own WordPress plugin and now you want to allow users to upload images to a folder in the plugin folder rather than the default media location? Follow along and this article will show you how to do just that!
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
This Micro Tutorial will demonstrate how MozBar finds back links of any website you visit, as well as page, social shares to the page, and domain level metrics. There will me practical applications for this data.

771 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now