开发者

Page element sliding

I had开发者_如何学C to manually place a Twitter widget in my theme and I have it in the perfect place but it will slide left and right depending on the zoom level of the page.

How can I set the position of it to not move and stay in its position relative to the edge of the page and the text.

URL: http://silentcalltone.com/

Thanks

PS: The css im using for that element:" .twitter {position:relative;float:right;top: 720px;right: 100px; position: absolute; } "


try simply:

position: relative
top: -140px;
left: 600px;

There are some other padding and margin issues on that page, as well as illegal HTML that you might want to fix before doing this though. For example, this isn't allowed:

<ul>
    <li>...</li>
    <div class="twitter">...</div>
</ul>

You can't nest divs inside uls

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜