Note that there are some explanatory texts on larger screens.

plurals
  1. POHTML table with rounded corners and gradient background
    primarykey
    data
    text
    <p>I have a table with some CSS to style the table with rounded corners and a gradient background in the first row (for column headings) but come of the gradient is overflowing outside the rounded corner despite me specifying <code>overflow: hidden</code>;</p> <p>HTML:</p> <pre><code>&lt;table id="tblIncidentQueue" class="DataTable"&gt; &lt;tr class="TableHeaderFooter"&gt; &lt;td colspan="5"&gt; &lt;strong&gt;Show &lt;/strong&gt; &lt;asp:DropDownList ID="drpNumOfResults" runat="server"&gt; &lt;asp:ListItem Text = "10" Value="10" &gt;&lt;/asp:ListItem&gt; &lt;asp:ListItem Text = "20" Value="20" &gt;&lt;/asp:ListItem&gt; &lt;asp:ListItem Text = "50" Value="50" &gt;&lt;/asp:ListItem&gt; &lt;asp:ListItem Text = "100" Value="100" &gt;&lt;/asp:ListItem&gt; &lt;asp:ListItem Text = "All" Value="All" &gt;&lt;/asp:ListItem&gt; &lt;/asp:DropDownList&gt; &lt;strong&gt; entries&lt;/strong&gt; &lt;/td&gt; &lt;td align="right"&gt; &lt;img src="../images/Icons/Refresh.png" border="0" /&gt; &lt;img src="../images/Icons/Down.png" border="0" /&gt; &lt;/td&gt; &lt;/tr&gt; &lt;/table&gt; </code></pre> <p>CSS:</p> <pre><code> .DataTable { margin: 10px; -moz-border-radius : 10px; /* Firefox */ -webkit-border-radius : 10px; /* Safari &amp; Chrome */ -khtml-border-radius : 10px; /* Linux browsers */ border-radius : 10px; /* CSS3 compatible browsers */ border-style: solid; border-width: 1px; border-color: #cccccc; padding: 0px; border-spacing: 0px; overflow: hidden; } .TableHeaderFooter { background: #eeeeee; /* Old browsers */ background: -moz-linear-gradient(top, #eeeeee 0%, #cccccc 100%); /* FF3.6+ */ background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#eeeeee), color-stop(100%,#cccccc)); /* Chrome,Safari4+ */ background: -webkit-linear-gradient(top, #eeeeee 0%,#cccccc 100%); /* Chrome10+,Safari5.1+ */ background: -o-linear-gradient(top, #eeeeee 0%,#cccccc 100%); /* Opera 11.10+ */ background: -ms-linear-gradient(top, #eeeeee 0%,#cccccc 100%); /* IE10+ */ background: linear-gradient(to bottom, #eeeeee 0%,#cccccc 100%); /* W3C */ filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#eeeeee', endColorstr='#cccccc',GradientType=0 ); /* IE6-9 */ overflow: hidden; } </code></pre> <p>Any help greatly appreciated!</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload