After compiling and running my web app in the browser, the textboxes appear perfectly fine. However, once I publish it, the textboxes become invisible. I suspect it's a CSS error since the textboxes still exist, but their background blends into the overall background color. What am I doing incorrectly? Here is the code snippet:
<%@ Page EnableEventValidation="true" Language="C#" AutoEventWireup="true" CodeBehind="WebForm1.aspx.cs" Inherits="EnterData.DataEntry.WebForm1" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
... (Code continues)
To view how I published the application, check this link out:
Here is the included CSS file for reference:
/*CSS styling here*/
body {
font:12px/17px Arial, Helvetica, sans-serif;
color:#333;
background:#ccc;
padding:40px 20px 20px 20px;
}
fieldset {/*Styling rules continue*/}
....(CSS continues)