I want to give <br /> some color. but it is not getting applied
Here is the HTML
<br style="color:#EAEFF5" />
here is the screenshot. I want the white space to be colored

UPDATE
<div style="background-color:#EAEFF5; width:100%;" style="border: 1px solid black; border-collapse:collapse;" cellpadding="5px" cellspacing="2px">
<table width="60%" cellpadding="5px" style="border: 1px solid black; border-collapse:collapse;" cellspacing="1px" align="center">
<tr>
<th class="label" style="font-size: 120%; font-family: Courier New; text-align:center">
Date
</th>
<th class="label" style="width: 7%; font-size: 120%; font-family: Courier New;text-align:center">
Flat Status
</th>
<th class="label" style="width: 7%; font-size: 120%; font-family: Courier New;text-align:center">
Comments
</th>
</tr>
<tr>
<td class="label" style="width: 7%; font-size: 120%; font-family: Courier New;text-align:center;">
<input type="text" runat="server" id="txtdate" style="width: 75px;"/>
</td>
<td class="label" style="width: 7%; font-size: 120%; font-family: Courier New;text-align:center;">
<%--<input id="txtcomments" type="text" runat="server" style="width: 75px;" />--%>
<select id="ddlflatstatus" style="width: auto" name="flatstatus" runat="server">
<option value="0">--- Select ---</option>
</select>
</td>
<td class="label" style="width: 7%; font-size: 120%; font-family: Courier New;text-align:center;">
<%--<input id="txtstatusdet" type="text" runat="server" style="width: 75px;" />--%>
<asp:TextBox ID="txtcomments" runat="server" Width="150" TextMode="MultiLine"></asp:TextBox>
</td>
</tr>
</table></div>
<br style="background-color:#EAEFF5" />
In HTML, you should never add styles to a whitespace character, which is what <br> effectively is.
Rather use a separator:
<div style="height: 10px; background-color: #EAEFF5"></div>
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With