在我的页面左侧,我有一个徽标和一个链接列表,然后在右侧我有一个博客链接。当我将浏览器缩小时,博客链接会渗入左侧的链接。如何让博客链接在某个点停止移动?
下面是我遇到的问题的代码。
html
<div id='logo'>
<img src="MAIN_IMAGES/logo.png" width="255" height="71"></div>
<div id='nav'>
<a class="ex4" href="#">FOOTWEAR</a>
<a href="projects.html">PROJECTS</a>
<a href="#dialog2" name="modal">CLIENTS</a>
<a href="#dialog5" name="modal">ABOUT</a>
<a href="#dialog3" name="modal">CONTACT</a>
</div>
<div id='blog'>
<a href="http://ernsteverything.com/blog">BLOG </a>
</div>
<div id='blogM'>
<img src="MAIN_IMAGES/date_2.png" width="60" height="19">
</div>
CSS
#logo {top:17px;
clear:both;
float:left;
position:absolute;
left:45px;}
#nav {position:absolute;
top:14px;
left: 385px;
min-width:800px;
white-space:nowrap;
color:silver;}
#blog {position:absolute;
top:14px;right:113px;
list-style:none;
font-family:"Gill Sans Light";
font-style:normal;
font-weight:400;
text-decoration:none;
#blogM {position:absolute;
top:13px;
right:43px;}