1. 论坛系统升级为Xenforo,欢迎大家测试!
    Dismiss Notice

一个CSS问题,帮我解决送200CH币!"_"

Discussion in '前端开发' started by shangjay, Mar 11, 2006.

  1. shangjay

    shangjay New Member

    Joined:
    Jan 13, 2006
    Messages:
    3,530
    Likes Received:
    15
    定义了li 可以了!

    另外问一下。firefox里
    <div style="line-height:8px;height:8px;"></div><!--间隙 -->

    这句是不是行不通?

    而且在 IE 中的margin 和在 FIREFOX中的margin 效果有明显的区别!

    不知道目前要不要考虑firefox。

    再问怎么转CHB?
     
  2. shangjay

    shangjay New Member

    Joined:
    Jan 13, 2006
    Messages:
    3,530
    Likes Received:
    15
    定义了li 似乎在firefox有问题。
    空白的<ul></ul>还是会留一小块空白出来!
     
  3. 禾火木风

    禾火木风 New Member

    Joined:
    Mar 15, 2006
    Messages:
    2,212
    Likes Received:
    8
    FF和IE对于模盒的解释不同
    可以用!important定义

    ul默认是有边距的,设置
    ul {
    margin: 0px;
    padding: 0px;
    }

    我也不懂怎么转CHB呢。。刚来的
     
  4. 西子宜

    西子宜 Well-Known Member

    Joined:
    Sep 5, 2005
    Messages:
    15,739
    Likes Received:
    62
    .....................