开发者

CSS issues - Navigation menu

See the blue background where the navigation menu is. On firefox, the news is pushed down to left side. I wanted to make every item to fit in on horizontal line. So I searched and remove padding from this: .navigation ul li { border-left:1px solid #b3b3b3; float: left; margin: 0; position: relative; /*--Declare X and Y axis base for sub navigation--*/ }

but the padding between the navigation item is still making space between in. Either I overlook something or it is stubborn not to change everytime I refresh?

Will appreciate the help or insigh开发者_如何学编程t.


I checked it out in Firebug and .navigation ul li is still having a style of padding: 0 20px; being set to it in the all2.css file at line 804.

A padding: 0 15px; seems to make everything fit, just need to adjust the first li padding-left a little.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜