在网页中设置页脚菜单 [英] set the footer menu in web page

查看:111
本文介绍了在网页中设置页脚菜单的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何在网页底部设置页脚菜单,它支持所有浏览器看起来正确的位置,条件是检查所有分辨率以及客户端的高度和宽度. class ="h2_lin">解决方案

您可能想使用CSS 媒体查询 .您可以根据以下情况使用CSS来检测屏幕尺寸和样式元素:

  @ media  屏幕 并且 (最大宽度: 600px){
  .  {
    背景 :  #ccc; 
  }
}  



在上面的示例中,最大宽度为600px的元素将背景颜色设置为#ccc.


how to set footer menu in bottom of the web page it support the all browser looks position correctly the condition is it check the all resolution and client height and width.if i extended the content means it also apper the correct position

解决方案

You probably want to use css media queries. You can use CSS to detect the screen size and style elements depending on that:

@media screen and (max-width: 600px) {
  .class {
    background: #ccc;
  }
}



In the above example an element with the maximum width of 600px will get the background color set to #ccc.


这篇关于在网页中设置页脚菜单的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆