G
Guest
Hi All,
Help please
Cross browser and W3C issues:
Having major hassles trying to get my site working and looking decent in
FFox (great in IE), MOzzie support said to try the W3C Validator
so
I submitted the following Markup to http://validator.w3.org/check and got
This page is not Valid HTML 4.0 Transitional!
listing 7 errors.
eg "There is no Attribute "MS_Positioning" on
<body " MS_POSITIONING="GridLayout">
eg "There is no Attribute "Name"
<form name="Links" .....
eg (several times)
" required attribute "TYPE" not specified.
<script language="jscript">
and (Span tag ..???? definitely all elements closed, none missing, see
markup below)
end tag for "TABLE" omitted, but its declaration does not permit this.
.... style="width:136px;">Register</span>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<title>Ads</title>
<meta content="Microsoft Visual Studio .NET 7.1" name="GENERATOR">
<meta content="Visual Basic .NET 7.1" name="CODE_LANGUAGE">
<meta content="JavaScript" name="vs_defaultClientScript">
<meta content="http://schemas.microsoft.com/intellisense/ie5"
name="vs_targetSchema">
</HEAD>
<body bgColor="whitesmoke" MS_POSITIONING="GridLayout">
<form name="Links" method="post" action="Links.aspx" id="Links"
style="BACKGROUND-COLOR: gray">
<input type="hidden" name="__VIEWSTATE"
value="dDwyMDIxNjkzOTg7dDw7bDxpPD........oiQ6pR/ZdU=" />
<script language="jscript">
function lbl1_click()
{
var x = window.open("Register.aspx","main",
"dialogHeight:300px;
dialogWidth:500px;
dialogTop:255px;
dialogLeft:210px;
center:Yes;resizable:Yes;help:No;status:Yes");
}
</script>
<script language="jscript">
function lbl2_click()
{
var x = window.open("Login.aspx","main",
"dialogHeight:300px;
dialogWidth:500px;
dialogTop:255px;
dialogLeft:210px;
center:Yes; resizable:Yes; help:No; status:Yes");
}
</script>
<table cellspacing="0" border="0" id="DataGrid1"
style="color:Navy;background-color:WhiteSmoke;
border-width:0px;font-family:Verdana;font-size:Small;
height:80px;width:216px;border-collapse:collapse;
Z-INDEX: 101; LEFT: 8px; POSITION: absolute; TOP: 0px">
<tr>
<td
style="color:SlateGray;font-family:Verdana;font-size:Smaller;font-weight:bold;">
<span id="DataGrid1__ctl3_lblDescr"
onclick="jscript:lbl1_click()"
onmouseover="this.style.cursor='hand'"
onmouseout="this.style.cursor='default'"
style="width:136px;">Register
</span>
</td>
</tr>
<tr>
<td
style="color:SlateGray;font-family:Verdana;font-size:Smaller;font-weight:bold;">
<span id="DataGrid1__ctl4_lblDescr"
onclick="jscript:lbl2_click()"
onmouseover="this.style.cursor='hand'"
onmouseout="this.style.cursor='default'"
style="width:136px;">MyAds
</span>
</td>
</tr>
</table>
</form>
</body>
</HTML>
All this because, The onclick events to execute the scripts, the "Hand" etc
onMouseOver don't work in FFox),
Funny enough if the element eg an image (not in a table), has an onclick
event and
<Script > ie not
<script language="jscript"> the onclick event works but alas, cursor: hand;
still does not.
TIA
Help please
Cross browser and W3C issues:
Having major hassles trying to get my site working and looking decent in
FFox (great in IE), MOzzie support said to try the W3C Validator
so
I submitted the following Markup to http://validator.w3.org/check and got
This page is not Valid HTML 4.0 Transitional!
listing 7 errors.
eg "There is no Attribute "MS_Positioning" on
<body " MS_POSITIONING="GridLayout">
eg "There is no Attribute "Name"
<form name="Links" .....
eg (several times)
" required attribute "TYPE" not specified.
<script language="jscript">
and (Span tag ..???? definitely all elements closed, none missing, see
markup below)
end tag for "TABLE" omitted, but its declaration does not permit this.
.... style="width:136px;">Register</span>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<title>Ads</title>
<meta content="Microsoft Visual Studio .NET 7.1" name="GENERATOR">
<meta content="Visual Basic .NET 7.1" name="CODE_LANGUAGE">
<meta content="JavaScript" name="vs_defaultClientScript">
<meta content="http://schemas.microsoft.com/intellisense/ie5"
name="vs_targetSchema">
</HEAD>
<body bgColor="whitesmoke" MS_POSITIONING="GridLayout">
<form name="Links" method="post" action="Links.aspx" id="Links"
style="BACKGROUND-COLOR: gray">
<input type="hidden" name="__VIEWSTATE"
value="dDwyMDIxNjkzOTg7dDw7bDxpPD........oiQ6pR/ZdU=" />
<script language="jscript">
function lbl1_click()
{
var x = window.open("Register.aspx","main",
"dialogHeight:300px;
dialogWidth:500px;
dialogTop:255px;
dialogLeft:210px;
center:Yes;resizable:Yes;help:No;status:Yes");
}
</script>
<script language="jscript">
function lbl2_click()
{
var x = window.open("Login.aspx","main",
"dialogHeight:300px;
dialogWidth:500px;
dialogTop:255px;
dialogLeft:210px;
center:Yes; resizable:Yes; help:No; status:Yes");
}
</script>
<table cellspacing="0" border="0" id="DataGrid1"
style="color:Navy;background-color:WhiteSmoke;
border-width:0px;font-family:Verdana;font-size:Small;
height:80px;width:216px;border-collapse:collapse;
Z-INDEX: 101; LEFT: 8px; POSITION: absolute; TOP: 0px">
<tr>
<td
style="color:SlateGray;font-family:Verdana;font-size:Smaller;font-weight:bold;">
<span id="DataGrid1__ctl3_lblDescr"
onclick="jscript:lbl1_click()"
onmouseover="this.style.cursor='hand'"
onmouseout="this.style.cursor='default'"
style="width:136px;">Register
</span>
</td>
</tr>
<tr>
<td
style="color:SlateGray;font-family:Verdana;font-size:Smaller;font-weight:bold;">
<span id="DataGrid1__ctl4_lblDescr"
onclick="jscript:lbl2_click()"
onmouseover="this.style.cursor='hand'"
onmouseout="this.style.cursor='default'"
style="width:136px;">MyAds
</span>
</td>
</tr>
</table>
</form>
</body>
</HTML>
All this because, The onclick events to execute the scripts, the "Hand" etc
onMouseOver don't work in FFox),
Funny enough if the element eg an image (not in a table), has an onclick
event and
<Script > ie not
<script language="jscript"> the onclick event works but alas, cursor: hand;
still does not.
TIA