I have limited knowledge of .NET as I work primarily as an ERP Implementation Consultant. My experience with C# .NET is minimal, but I encounter a strange CSS issue in my C# projects.
While the CSS functions correctly in Internet Explorer when running the project through Visual Studio Express 2013 for Web, it fails to display properly in IE once published. The CSS seems to work only on Firefox after publishing. I have provided all relevant details and would be happy to give more if needed.
The main goal of my project is to display production data in a 24-hour clock format. To achieve this, I have built a table with text boxes that retrieve data from a SQL table. Despite functionality being intact, there are some visual discrepancies.
A) Testing through VS 2013 Web (IE 10) & Website Published on IIS8, viewed in Firefox (34.0.5)
B) Viewing the same website in IE 10
D) Actual CSS Code:
<style type="text/css">
.ActTxtBoxInTable
{
text-align:right;
border:none;
background-color:white;
width:60px;
font-size:x-large;
font-weight:800;
color:black;
}
.ActTxtBoxInTableLR
{
text-align:right;
border:none;
background-color:white;
width:60px;
font-size:x-large;
font-weight:800;
color:black;
}
.HrsTxtBoxInTable
{
text-align:center;
border:none;
background-color:navy;
width:60px;
font-size:x-large;
font-weight:800;
color:yellow;
border-radius:6px;
}
.HrsTxtBoxInTableLR
{
text-align:center;
border:none;
background-color:navy;
width:60px;
font-size:x-large;
font-weight:800;
color:yellow;
border-radius:6px;
}
</style>
Thank you in advance for any assistance provided.
Sincerely, Uday