V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
FlyChina
V2EX  ›  V2EX

css里的绝对地址

  •  
  •   FlyChina · Sep 13, 2010 · 5797 views
    This topic created in 5716 days ago, the information mentioned may be changed or developed.
    style.css <L:164>

    #Wrapper {
    background-color: #e2e2e2;
    border-top: 1px solid #777;
    background-image: url("http://v2ex.com/static/img/bg.png");
    }

    stype.css <L:381>

    .super.button { background-image: url("http://v2ex.com/static/img/bg_blended.png");

    member_home.html <L:45>
    <span style="line-height: 16px;"><img src="http://v2ex.com/static/img/twitter.png" align="absmiddle" /> &nbsp;<a href="http://twitter.com/{{ one.twitter }}">@{{ one.twitter }}</a></span>

    member_home.html <L:49>
    <span style="line-height: 16px;"><img src="http://v2ex.com/static/img/mobileme.png" align="absmiddle" /> &nbsp;<a href="{{ one.website|escape }}" target="_blank" rel="nofollow external">{{ one.website|escape }}</a></span>

    还有在bottom中的几个img,因为是universal的,所以无所谓了。
    2 replies    1970-01-01 08:00:00 +08:00
    rveo
        1
    rveo  
       Sep 13, 2010
    嗯,理应使用本地的路径。
    valdanito
        2
    valdanito  
       Sep 13, 2010
    另外还有 内联的style
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   5643 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 46ms · UTC 06:04 · PVG 14:04 · LAX 23:04 · JFK 02:04
    ♥ Do have faith in what you're doing.