Annoying
Hi there.
I'm having this code:
<html>
<head></head>
<body>
<div style=" float: right; z-index: 2; padding-right: 75px; position: relative;>
<a href=http://www.webdeveloper.com/forum/archive/index.php/"#">link1</a>
<a href=http://www.webdeveloper.com/forum/archive/index.php/"#">link2</a>
<a href=http://www.webdeveloper.com/forum/archive/index.php/"#">link3</a>
<a href=http://www.webdeveloper.com/forum/archive/index.php/"#">link4</a>
<a href=http://www.webdeveloper.com/forum/archive/index.php/"#">link5</a>
</div>
<table width="920" border="1" cellspacing="0" cellpadding="0">
<tr>
<td valign="top">table with text in it</td>
</tr>
</table>
</body>
</html>
The problem is when I'm resizing the window, all of the links are moving to the right and I want'em to stay at the same place. I have to do it with another layer but how can I order the layer to be "stuck" in the same place?
Thanks a lot guys!Wrap everything in the body with a div style="width:925px;".I can put the width think to work only for the links and not for the whole page?
Thank youTry changing the style of your link div to something like "width:850px;text-align:right;".
Hi there.
I'm having this code:
<html>
<head></head>
<body>
<div style=" float: right; z-index: 2; padding-right: 75px; position: relative;>
<a href=http://www.webdeveloper.com/forum/archive/index.php/"#">link1</a>
<a href=http://www.webdeveloper.com/forum/archive/index.php/"#">link2</a>
<a href=http://www.webdeveloper.com/forum/archive/index.php/"#">link3</a>
<a href=http://www.webdeveloper.com/forum/archive/index.php/"#">link4</a>
<a href=http://www.webdeveloper.com/forum/archive/index.php/"#">link5</a>
</div>
<table width="920" border="1" cellspacing="0" cellpadding="0">
<tr>
<td valign="top">table with text in it</td>
</tr>
</table>
</body>
</html>
The problem is when I'm resizing the window, all of the links are moving to the right and I want'em to stay at the same place. I have to do it with another layer but how can I order the layer to be "stuck" in the same place?
Thanks a lot guys!Wrap everything in the body with a div style="width:925px;".I can put the width think to work only for the links and not for the whole page?
Thank youTry changing the style of your link div to something like "width:850px;text-align:right;".