如何让整个页面保持原状?

时间:2013-02-03 18:56:03

标签: html css

当我的页面遇到它的断点并且元素开始逃脱它们的div时,我想得到一个水平滚动条。我将我的标题设置为内联背景图像,但是......你知道,它保持在它当然的位置并移出div。当窗口太小时没有响应。救命啊!

#logo { 
    background-repeat:no-repeat; 
    background-position: top center; 
    background-size: 100%; 
} 

#mainnavi { 
    border-top:inset gold 3px; 
    background-color:#000033; 
    border-bottom:inset gold 3px; 
    height:45px; text-align:center; 
    font-size:13px; 
    width:100%; 
    text-shadow:20%; 
}   

a:link,a:visited { 
    font-weight:bold; 
    display:inline-block; 
    color:#FFFFFF; 
    background-color:#000033; 
    text-align:center; 
    height:30px; 
    width:120px; 
    text-decoration:blink; 
    overflow:hidden; 
} 
a:hover,a:active { 
    background-color:#000099;
} 

这就是我的导航和我的标志。

0 个答案:

没有答案
相关问题