Because the design page needs to have good compatibility with 1280*760 and 1440*900, so I made two pages, after some exploration, and finally solved the problem. Pediatric skills, do not watch it!
[Html]
<! 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> Untitled Page </title>
<Script language = "javascript">
If (window. screen)
{
Var m_height = screen. height;
M_768 = "login_768.html ";
M_900 = "login_900.html ";
If (m_height <900 ){
Self. location. replace (m_768 );
}
If (m_height> = 900)
{
Self. location. replace (m_900 );
}
}
</Script>
</Head>
<Body>
</Body>
</Html>
<! 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> Untitled Page </title>
<Script language = "javascript">
If (window. screen)
{
Var m_height = screen. height;
M_768 = "login_768.html ";
M_900 = "login_900.html ";
If (m_height <900 ){
Self. location. replace (m_768 );
}
If (m_height> = 900)
{
Self. location. replace (m_900 );
}
}
</Script>
</Head>
<Body>
</Body>
</Html>