开发者

CSS navigation problem

开发者 https://www.devze.com 2022-12-15 19:12 出处:网络
I have been trying to add another button to my navigation bar at http://hawaiiislandpreservationsociety.org/ ,but the layout 开发者_运维技巧messes up.What do I need to tweak to get it inline with the

I have been trying to add another button to my navigation bar at http://hawaiiislandpreservationsociety.org/ ,but the layout 开发者_运维技巧messes up. What do I need to tweak to get it inline with the rest of the buttons?

Much Appreciated, Azeem


#header ul 

change the width to 802px;

(then download Firebug)


adding 2px (making it 802px) to the #header ul makes it display correctly for me in firefox.


You mean the problem that "Blog" ends up on its own line? It seems like #go_learn has a padding defined which, combined with the width definition of 200px, ends up making the element actually 202px wide.

0

精彩评论

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