Warning: file_get_contents(/data/phpspider/zhask/data//catemap/7/css/33.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Css 拉伸侧栏以适合页面_Css_Screen_Sidebar_Stretch - Fatal编程技术网

Css 拉伸侧栏以适合页面

Css 拉伸侧栏以适合页面,css,screen,sidebar,stretch,Css,Screen,Sidebar,Stretch,我的元素侧边栏有点问题。我想把它放在我的页面右侧,以显示我的社交媒体档案。我希望此栏垂直伸展以适合屏幕,而不是我的页面。所以,我不想显示任何滚动条 这是我用于此目的的CSS代码: html { position: relative; min-height: 100%; } aside { width:70px; position:absolute; right:0; bottom:0; top:151px; background-color:#5A9AA8; text-align:cente

我的元素侧边栏有点问题。我想把它放在我的页面右侧,以显示我的社交媒体档案。我希望此栏垂直伸展以适合屏幕,而不是我的页面。所以,我不想显示任何滚动条

这是我用于此目的的CSS代码:

html
{
position: relative;
min-height: 100%;
} 

aside
{
width:70px;
position:absolute;
right:0;
bottom:0;
top:151px;
background-color:#5A9AA8;
text-align:center;
display:block;
}
它做了我希望它在Chrome中做的事情,但是当我在InternetExplorer中尝试时,滚动条显示出来,侧边栏不适合屏幕。 我是否做错了什么,我是否使用了错误的方法,或者我是否需要添加一些内容?我先谢谢你

PS:如果你不知道我想做什么,请评论,我会给你提供图片


编辑:我是新到这个网站,我不能上传图片。。。没有足够的声望点数

好的,这是一张照片:

所以左边的是谷歌浏览器,右边的是IE浏览器。chrome上的侧边栏总是保持在我想要的位置,你可以看到IE中不是这样的。滚动条不应该在那里,背景色也不符合我的内容


不要注意文本有点奇怪,这是我的错,因为剪切不好

请提供图片。回答起来会更容易。显然你需要名誉点数。。我是这个网站的新手:我必须把它上传到别处并提供链接。试试photobucket