开发者

Relative size header using CSS

开发者 https://www.devze.com 2023-02-26 16:28 出处:网络
I have designed the header with the following CSS: .Navigation { height: 84px; background: url(../images/Navigation.png) repeat-x; border-bottom: 1px solid #919191; }

I have designed the header with the following CSS:

.Navigation { height: 84px; background: url(../images/Navigation.png) repeat-x; border-bottom: 1px solid #919191; }

#NavigationInside { padding-left: 15px; width: 945px; margin: 0 auto; }

This 开发者_如何学Cis fixed height and width header whereas I want it relative to the screen size. Both end of the header should touch the left and right corner of the screen.

Please help me out to make changes in the CSS.


.Navigation { 
  width:100%; 
  margin:0; 
  padding:0; 
  ...
0

精彩评论

暂无评论...
验证码 换一张
取 消