<span id="mktg5"></span>

<i id="mktg5"><meter id="mktg5"></meter></i>

        <label id="mktg5"><meter id="mktg5"></meter></label>
        最新文章專題視頻專題問答1問答10問答100問答1000問答2000關鍵字專題1關鍵字專題50關鍵字專題500關鍵字專題1500TAG最新視頻文章推薦1 推薦3 推薦5 推薦7 推薦9 推薦11 推薦13 推薦15 推薦17 推薦19 推薦21 推薦23 推薦25 推薦27 推薦29 推薦31 推薦33 推薦35 推薦37視頻文章20視頻文章30視頻文章40視頻文章50視頻文章60 視頻文章70視頻文章80視頻文章90視頻文章100視頻文章120視頻文章140 視頻2關鍵字專題關鍵字專題tag2tag3文章專題文章專題2文章索引1文章索引2文章索引3文章索引4文章索引5123456789101112131415文章專題3
        問答文章1 問答文章501 問答文章1001 問答文章1501 問答文章2001 問答文章2501 問答文章3001 問答文章3501 問答文章4001 問答文章4501 問答文章5001 問答文章5501 問答文章6001 問答文章6501 問答文章7001 問答文章7501 問答文章8001 問答文章8501 問答文章9001 問答文章9501
        當前位置: 首頁 - 科技 - 知識百科 - 正文

        css雙欄布局遇到了一個問題_html/css

        來源:懂視網 責編:小采 時間:2020-11-27 16:03:49
        文檔

        css雙欄布局遇到了一個問題_html/css

        css雙欄布局遇到了一個問題_html/css_WEB-ITnose: Pacific Trainls Resort Pacific Trails Resort Home Yurts Activities Reservations Enjoy Nature in Luxury Pacific Trails Resort offers a special lodging experience on the California North Coast,Relax in serenity
        推薦度:
        導讀css雙欄布局遇到了一個問題_html/css_WEB-ITnose: Pacific Trainls Resort Pacific Trails Resort Home Yurts Activities Reservations Enjoy Nature in Luxury Pacific Trails Resort offers a special lodging experience on the California North Coast,Relax in serenity



        Pacific Trainls Resort




        Pacific Trails Resort




      1. Home

      2. Yurts

      3. Activities

      4. Reservations




      5. Enjoy Nature in Luxury



        Pacific Trails Resort offers a special lodging experience on the California North Coast,Relax in serenity with panoramic views of the pacificOcean.



      6. Private yurts with decks overlooking the ocean

      7. Activities lodge with fireplace and gift shop

      8. Nightly fine dining at the Overlook Cafe

      9. Heated outdoor pool and whirpool

      10. Guided hiking tours of the redwoods



      11. Pacific Trails Resort

        12010 pacific Trails Road
        Zephyr,CA 95555
        888-555-5555









        Copyright©2011 Pacific Trails Resort
        logchou@sina.com





        css文件:
        body{
        background-color: #ffffff;
        color: #666666;
        background-image: url(bg.jpg);
        background-repeat: no-repeat;
        font-family: Arial,Helvetica,sans-serif;
        background-attachment: fixed;
        }
        #wrapper{
        margin: auto;
        width: 80%;
        min-width: 960px;
        background-color: #ffffff;
        box-shadow: 5px 5px 5px #000033;
        min-height: 500px;
        }
        h1{
        background-color: #90c7e3;
        color: #ffffff;

        background-position: right;
        background-repeat: no-repeat;
        height: 60px;
        padding-top: 20px;
        font-family: Georgia,"Times New Roman",serif;
        margin-bottom: 0;
        }
        #nav{
        background-color: #90c7e3;

        font-weight: bold;
        float: left;
        width: 140px;

        display: block;
        margin: auto;


        }
        #nav ul{
        list-style-type: none;
        padding:0;
        margin: 0;
        font-size: 1.2em;

        #nav a{
        text-decoration: none;
        border-bottom: #000000 solid .1em;
        display: block;
        padding: 0;
        }
        #nav a:link{
        color: #ff0000;
        }
        #nav a:visited{
        color:#ff1100;
        }
        #nav a:hover{
        color: #0000ff;
        }
        h2 {
        font-family: Georgia,"Times New Roman",serif;
        color: #3399cc;
        text-shadow:1px 1px 1px #ccc;
        }
        #content{
        color: #000000;
        padding: 1px 20px 20px 30px;
        background-color: #ffffff;
        margin-left: 150px;
        overflow: auto;

        }
        #content img{
        float: left;padding-right: 20px;
        }
        #content ul{
        list-style-position:inside;
        }
        .resort{
        font-weight: bold;
        color: #000033;
        }
        h3{
        color: #000033;
        font-family: Georgia,"Times New Roman",serif;
        };
        #contact{
        font-size: 90%;

        }
        #footer{
        font-size: 75%;
        font-style: italic;
        font-family: Georgia,"Times New Roman",serif;
        text-align: center;
        clear: both;



        }

        這樣弄出來的界面,左側導航欄只有一小塊,背景不能完全覆蓋,這該怎么做呢,要是設置一個固定的高度。一旦網頁內容改變了肯定又不行了,我前面做過差不多的這種網頁,但是導航欄float之后能自動調節高度。這個不行了,不知道該怎么解決。求高手解答。


        回復討論(解決方案)

        #wrapper{overflow:hidden;}
        #nav{padding-bottom:10000px;margin-bottom:-10000px;}


        把上面樣式加到對應地方。

        這個真的可以誒。不過為什么呢。我原來也弄過一個類似的,可是不用加這些,也不用設置高度什么的。就會自動填上了。

        #content {background-color: #fff;overflow: hidden;}
        #wrapper 加上 {background-color: #90c7e3;}
        h1和#nav 去掉 {background-color: #90c7e3;}

        這樣修改就行了

        聲明:本網頁內容旨在傳播知識,若有侵權等問題請及時與本網聯系,我們將在第一時間刪除處理。TEL:177 7030 7066 E-MAIL:11247931@qq.com

        文檔

        css雙欄布局遇到了一個問題_html/css

        css雙欄布局遇到了一個問題_html/css_WEB-ITnose: Pacific Trainls Resort Pacific Trails Resort Home Yurts Activities Reservations Enjoy Nature in Luxury Pacific Trails Resort offers a special lodging experience on the California North Coast,Relax in serenity
        推薦度:
        標簽: 有一 問題 html
        • 熱門焦點

        最新推薦

        猜你喜歡

        熱門推薦

        專題
        Top
        主站蜘蛛池模板: 中字幕视频在线永久在线观看免费| 光棍天堂免费手机观看在线观看 | 毛片免费观看网站| 国产免费av片在线播放| 亚洲人成网站观看在线播放| 亚洲日产韩国一二三四区| 亚洲欧洲日韩国产| 国产精品无码亚洲精品2021| 免费日本一区二区| 免费一级毛片在线观看| 日韩亚洲AV无码一区二区不卡| 亚洲啪AV永久无码精品放毛片| 免费无码一区二区三区蜜桃| 亚洲三级电影网址| 污污污视频在线免费观看| 无码人妻一区二区三区免费手机| 亚洲色少妇熟女11p| 色www永久免费| 亚洲?v女人的天堂在线观看| 亚洲美女在线观看播放| 色爽黄1000部免费软件下载| 中文字幕人成人乱码亚洲电影 | 亚洲国产精品线观看不卡| 无码中文在线二区免费| 美女被艹免费视频| 成人网站免费观看| 亚洲AV无码专区国产乱码4SE| 国产在亚洲线视频观看| 免费看又爽又黄禁片视频1000| 久久夜色精品国产亚洲AV动态图 | 亚洲精品乱码久久久久久V | 99久久国产精品免费一区二区| 亚洲综合一区二区精品久久| 久99久精品免费视频热77| 亚洲日韩在线观看| 人妻无码中文字幕免费视频蜜桃 | 国产精品亚洲精品日韩已方| 久久精品中文字幕免费| 久久精品国产亚洲一区二区| 国产精品永久免费视频| 中文字幕视频免费|