【发布时间】:2013-05-27 00:20:34
【问题描述】:
我最近做了一个导航栏,但是我想把侧边栏上的部分放在侧边栏标题/图片后面
网站是:http://testcheww.blogspot.com
i.imgur.com/vicR2fn.png
这是侧边栏上的部分:
<div style='height: 86px; width: 52px; border: 0px; margin-top: -172px; margin-left: 470px;'><img height='86px' src='http://files.tinkatollidunes.com/nav/quests-support.png' width='52px'/>
</div>
</center>
<center>
<div class='supportbutton' style='position:relative; left:334px; top:-86px; margin-bottom: -82px;'>
<a href='http://www.tinkatollidunes.com/p/support-us.html'> <img alt='' class='a' height='86px' src='http://files.tinkatollidunes.com/nav/support.png' width='152px'/> <img alt='' class='b' height='86px' src='http://files.tinkatollidunes.com/nav/supporthover.png' width='152px'/>
</a>
</div>
</center>
<center>
<div style='height: 86px; width: 52px; border: 0px; margin-top: -172px; margin-left: 874px;'><img height='86px' src='http://files.tinkatollidunes.com/nav/support-play.png' width='54px'/>
</div>
</center>
<center>
<div style='height: 86px; width: 142px; border: 0px; margin-top: -86px; margin-right: -1021px;'><a href='http://www.tinkatolli.com/play/'><img height='86' src='http://files.tinkatollidunes.com/nav/play.png' width='142'/></a>
</div>
【问题讨论】:
-
对你想要做什么感到困惑。您是否希望侧边栏位于导航栏的顶部?你试过什么了?你也不应该使用内联样式。
-
我希望支持和播放按钮位于指南部分的后面(您会看到文本被按钮覆盖
标签: html image positioning