Click here to Skip to main content
15,892,737 members
Home / Discussions / Web Development
   

Web Development

 
AnswerRe: Need some helpful sites on PHP Pin
Mohammad Dayyan6-Mar-09 11:07
Mohammad Dayyan6-Mar-09 11:07 
AnswerRe: Need some helpful sites on PHP Pin
Vasudevan Deepak Kumar6-Mar-09 21:57
Vasudevan Deepak Kumar6-Mar-09 21:57 
Questionexport data to word document Pin
Shaimmaa4-Mar-09 22:24
Shaimmaa4-Mar-09 22:24 
QuestionCross Browser HTML Problem Pin
programmervb.netc++4-Mar-09 19:54
programmervb.netc++4-Mar-09 19:54 
AnswerRe: Cross Browser HTML Problem Pin
Guffa4-Mar-09 20:20
Guffa4-Mar-09 20:20 
GeneralRe: Cross Browser HTML Problem Pin
programmervb.netc++9-Mar-09 10:23
programmervb.netc++9-Mar-09 10:23 
GeneralRe: Cross Browser HTML Problem Pin
Guffa9-Mar-09 22:48
Guffa9-Mar-09 22:48 
GeneralRe: Cross Browser HTML Problem Pin
programmervb.netc++10-Mar-09 4:55
programmervb.netc++10-Mar-09 4:55 
I am sorry for posting the ASP I was not thinking you would not really be able to use that... I am wanting everything to center to the middle regardless of the screen resolution, browser etc. This looks correct in IE as I have said but not any of the other browsers. Here is the HTML and Css.

<!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" >
<head><title>

</title>
<script type="text/javascript">
function sLostFocus(fld)
{
fld.className = 'normal';
}

function sGotFocus(fld)
{
fld.className = 'focus';
}
</script>
<link href="styles.css" rel="stylesheet" type="text/css" /></head>
<body>
<form name="frmTrouble" method="post" action="frmTroubleTicket.aspx" id="frmTrouble">
<div>
<input type="hidden" name="__VIEWSTATE" id="__VIEWSTATE" value="/wEPDwUKLTM1NjkyODgwNw9kFgICAw9kFgoCAQ8PZBYEHgdvbkZvY3VzBRBzR290Rm9jdXModGhpcyk7HgZvbkJsdXIFEXNMb3N0Rm9jdXModGhpcyk7ZAIDDw9kFgQfAAUQc0dvdEZvY3VzKHRoaXMpOx8BBRFzTG9zdEZvY3VzKHRoaXMpO2QCBQ8PZBYEHwAFEHNHb3RGb2N1cyh0aGlzKTsfAQURc0xvc3RGb2N1cyh0aGlzKTtkAgcPD2QWBB8ABRBzR290Rm9jdXModGhpcyk7HwEFEXNMb3N0Rm9jdXModGhpcyk7ZAIJDw9kFgQfAAUQc0dvdEZvY3VzKHRoaXMpOx8BBRFzTG9zdEZvY3VzKHRoaXMpO2RkWHdUoG9ul8hkqb+GaYpJXv7dDmY=" />

</div>

<div>

<input type="hidden" name="__EVENTVALIDATION" id="__EVENTVALIDATION" value="/wEWCAKHz9r/DQLEhISFCwKV6YbiAQLDhIbeBAKE8/26DALEku2wCALCi9reAwKgt7D9CtwCmlCdneJzxcAseivLc9yIQ8eR" />
</div>
<table id="table1" border = "0">
<tr>
<td>
&nbsp;</td>
<td>

<img alt="First Step Logo" src="FS%20logo.JPG" width="35%" />
</td>
<td>
&nbsp;</td>
</tr>
<tr>
<td>
&nbsp;</td>
<td>

<p style="font-size:16px;">Click <a href="//10.10.10.2/training">HERE</a> for the Training
Folder</p></td>
<td>
&nbsp;</td>
</tr>
<tr>
<td>
&nbsp;</td>

<td>
<hr /></td>
<td>
&nbsp;</td>
</tr>
<tr>
<td>
&nbsp;</td>
<td>

<p class="bText">Experiencing
PC Problems ? Let us help...</a></td>
<td>
&nbsp;</td>
</tr>
<tr>
<td>
&nbsp;</td>
<td>

&nbsp;</td>
<td>
&nbsp;</td>
</tr>
<tr>
<td>
&nbsp;</td>
<td>
Please fill out the following form detailing the problems you are experiencing.</td>

<td>
&nbsp;</td>
</tr>
<tr>
<td>
&nbsp;</td>
<td>
<table>
<tr>

<td style="width:20%" style="text-align:right;">Your Name:</td>
<td style="text-align:left;">
<input name="txtName" type="text" id="txtName" onFocus="sGotFocus(this);" onBlur="sLostFocus(this);" style="width:350px;" />
</td>
</tr>
<tr>
<td colspan="2">
&nbsp

</td>
</tr>
<tr>
<td style="width:20%" style="text-align:right;">Your Location:</td>
<td style="text-align:left;">
<input name="txtLocation" type="text" id="txtLocation" onFocus="sGotFocus(this);" onBlur="sLostFocus(this);" style="width:350px;" />
</td>
</tr>

<tr>
<td colspan="2">

</td>
</tr>
<tr>
<td colspan="2">
Nature of PC Problem(s):
</td>
</tr>

<tr>
<td colspan="2">

<textarea name="txtProblem" rows="2" cols="20" id="txtProblem" onFocus="sGotFocus(this);" onBlur="sLostFocus(this);" style="height:183px;width:475px;"></textarea>

</td>
</tr>
<tr>
<td style="width:20%" style="text-align:right;">Email:</td>
<td style="text-align:left;">

<input name="txtEmail" type="text" id="txtEmail" onFocus="sGotFocus(this);" onBlur="sLostFocus(this);" style="width:350px;" />
</td>
</tr>
<tr>
<td colspan="2">
&nbsp
</td>
</tr>
<tr>

<td style="width:20%" style="text-align:right;">Phone Number:</td>
<td style="text-align:left;">
<input name="txtPhone" type="text" id="txtPhone" onFocus="sGotFocus(this);" onBlur="sLostFocus(this);" style="width:350px;" />
</td>
</tr>
<tr>
<td colspan="2">
&nbsp
</td>

</tr>
<tr>
<td colspan="2">
<input type="submit" name="btnSubmit" value="Submit" id="btnSubmit" style="height:32px;width:120px;" />
&nbsp
<input type="submit" name="btnReset" value="Reset" id="btnReset" style="height:32px;width:120px;" />
</td>
</tr>
</table>
</td>

<td>
&nbsp;</td>
</tr>
<tr>
<td>
&nbsp;</td>
<td>
&nbsp;</td>
<td>

&nbsp;</td>
</tr>
<tr>
<td>
&nbsp;</td>
<td>
&nbsp;</td>
<td>
&nbsp;</td>

</tr>
<tr>
<td>
&nbsp;</td>
<td>
<hr /></td>
<td>
&nbsp;</td>
</tr>

<tr>
<td>
&nbsp;</td>
<td>
&nbsp;</td>
<td>
&nbsp;</td>
</tr>
<tr>

<td>
&nbsp;</td>
<td>
Copyright © 2009 First Step Inc.</td>
<td>
&nbsp;</td>
</tr>
</table>
</form>

</body>
</html>

body
{
text-align:center
}

table
{
width:60%;
}
a
{
color:#0000CC;
text-decoration:none;
}

a:hover
{
font-weight:bold;
}

p.bText
{
color:#666666;
font-family:Verdana, Arial, Helvetica, sans-serif;
}
.normal
{
background-color: #FFFFFF;
}
.focus
{
background-color: #FFFF00;
}

Humble Programmer
GeneralRe: Cross Browser HTML Problem Pin
programmervb.netc++13-Mar-09 19:10
programmervb.netc++13-Mar-09 19:10 
GeneralOne example... Pin
Naruki23-Mar-09 21:01
Naruki23-Mar-09 21:01 
QuestionGood tools for browser capability detection? Pin
MattPenner4-Mar-09 6:00
MattPenner4-Mar-09 6:00 
AnswerRe: Good tools for browser capability detection? [modified] Pin
fly9044-Mar-09 7:33
fly9044-Mar-09 7:33 
GeneralRe: Good tools for browser capability detection? Pin
MattPenner4-Mar-09 8:10
MattPenner4-Mar-09 8:10 
GeneralRe: Good tools for browser capability detection? [modified] Pin
fly9044-Mar-09 8:17
fly9044-Mar-09 8:17 
AnswerRe: Good tools for browser capability detection? Pin
Curtis Schlak.5-Mar-09 10:21
Curtis Schlak.5-Mar-09 10:21 
GeneralRe: Good tools for browser capability detection? Pin
MattPenner6-Mar-09 9:30
MattPenner6-Mar-09 9:30 
GeneralRe: Good tools for browser capability detection? Pin
Curtis Schlak.6-Mar-09 9:41
Curtis Schlak.6-Mar-09 9:41 
QuestionGridView (Edit / Cancel) Slow with 4,000 Records [modified] Pin
hifiger20043-Mar-09 20:41
hifiger20043-Mar-09 20:41 
QuestionHow can I figure out why I am losing focus. Pin
Douha3-Mar-09 12:09
Douha3-Mar-09 12:09 
Questioncollect information about visitors with BHO Pin
Maverickcool3-Mar-09 7:14
Maverickcool3-Mar-09 7:14 
Questionhelp with ajax refresh with database Pin
petvampire3-Mar-09 5:40
petvampire3-Mar-09 5:40 
AnswerRe: help with ajax refresh with database Pin
Yusuf3-Mar-09 8:44
Yusuf3-Mar-09 8:44 
AnswerRe: help with ajax refresh with database Pin
danico4912-Aug-09 14:45
danico4912-Aug-09 14:45 
QuestionSymbol rendering in Internet Explorer 7 Pin
TheIdleProgrammer3-Mar-09 1:51
TheIdleProgrammer3-Mar-09 1:51 
AnswerRe: Symbol rendering in Internet Explorer 7 Pin
Yusuf3-Mar-09 8:46
Yusuf3-Mar-09 8:46 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.