ÇëÎÊΪʲô»ðºüºÜ¶àʱºò¶¼»á±äÐÎÄØ
±È·½Õâ¸ö.proc { width:680px; height:auto; float:left; clear:both;}
ÔÚIEÀïÃæÈç¹ûÓеÄͼƬÊÇ 700pxµÄ¿í,ÄÇô»á×Ô¶¯µÄËõС
¿ÉÊÇÔÚ»ðºüÀïÃæ ¾Í×Ô¶¯·Å´óÁË,widthµÄÔ¼Êø¸ù±¾²»¹ÜÓÃ,Ôõô°ìÄØ?ÎÞÄÎÁË
×îºÃÊǸù¾Ý»ðºüµÄ±ê׼д£¬»ðºü¶ÔCSSµÄ¼æÈÝÐÔ±ÈIEÒªºÃ£¡
Ò²ÊÇѽ£¬ÎÒº ......
IE8,»ðºüºÍ¹È¸è¶¼¿ÉÒÔ,µ«ÊÇIE6ºÍIE7²»ÐÐ,´úÂëÈçÏÂ:
CSS²¿·Ö:
HTML code:
*
{
}
/* =Basic HTML, Non-essential
----------------------------------------------------------------------*/
a
{
text-decoration: none;
}
body
{
}
h1
{
background: inherit;
color: #93 ......
ÓÖ³ö´íÁË£¡
ÎÒÏëÈÃËüÏÔʾ³ÉÉÏϸß5ÏñËصij¤Ìõ¡£ÎªÊ²Ã´ËüÈ´ÏÔʾµÃÄÇô¿í£¿£¡
ÌìÄÄ£¡ÉñÄÄ£¡¾È¾ÈÎÒ°É£¡
demo.html
<html>
<head>
<meta http-equiv="content-type" content="text/html charset=utf-8" />
<title>Hello! </title> ......
CSS code:
#headLogo{height:84px; background:url(../images/logoBanner.png) no-repeat right;}
#headLogo div{background:url(../images/logo.png) no-repeat left; height:84px;}
32 #headLogo ÎÞЧÊý×Ö : background Óï·¨´íÎó [empty string]
33 #headLogo div ÎÞЧÊý×Ö ......
ÇëÎÊÈçºÎÇëÒ»¸ödiv»òÕßtableÓÀÔ¶ÔÚÍøÒ³µÄ×¶Ë£¨Ö÷Òª×ö²Ëµ¥À¸£©£¬²»Êܹö¶¯ÌõµÄÓ°Ïì~
Ó¦ÓÃframeset¡£
Óÿò¼Ü£¬°ÑËü×ö³ÉÒ»¸ö¾²Ì¬ÍøÒ³£¬È»ºóÔÚÐèÒªµÄÒ³ÃæǶÌס£»òÕß×ö³ÉÓû§¿Ø¼þ£¡
ÉèÖÃcssÑùʽµÄposition:fixed;
CSS code:
position:fixed;
ÒýÓÃ
Ó¦ÓÃframeset¡£
²»ÄÜÓÿò¼Ü£¬ÒòΪÎÒ±ØÐë±¾Ò³ÃæÏìÓ¦²Ë ......
IE8,»ðºüºÍ¹È¸è¶¼¿ÉÒÔ,µ«ÊÇIE6ºÍIE7²»ÐÐ,´úÂëÈçÏÂ:
CSS²¿·Ö:
HTML code:
*
{
}
/* =Basic HTML, Non-essential
----------------------------------------------------------------------*/
a
{
text-decoration: none;
}
body
{
}
h1
{
background: inherit;
color: #93 ......