Is there anyway to prevent div tags from over lapping? I have been using div tags to position items on my page but when i go down to a lower resolution they start to overlap.
Any help is greatly appreciated!
this is the entire html code. I appologize if it's difficult to read. I actually just modified the page so that everything is positioned using tables and it seems to work fine.
<div style="border:thin solid black; position:absolute; left:10px; width:95%">
<br> A topographic map is a detailed and accurate graphic representation of cultural
and natural features on the ground. They are available in two standard scales,
1:50 000 and 1:250 000. The area covered by a given map sheet is determined
by its latitude and longitude. Because of the standard NTS numbering system,
knowing the map number allows you to quickly identify adjacent maps.
<a href="topoBasics.html"><img align="absmiddle" border="0" src="../assets/clickForMore.jpg"></a><br><br>
</div>
<br>
<!--main div tag to hold page contents-->
<div style="position:absolute; left:10px; width:95%; height:20%px; top:40%">
<b><i>Roll your mouse over the map photos to see a more detailed view</i><b>
<td align="left" valign="top" width="44%">
<p><b>1:250,000 sample</b> <br>
<br>
The 1:250 000 scale maps are identified by a combination of numbers
and letters, A through P (e.g. 11D). <br>
<br>
</p>
</td>
design your page in or for 800*600 res, this is really the lowest res you should support. Once you design for this res you wont get the overlapping problem with higher res screens
The settings of width, top, height in % causes the problem
With the red changes I made in the div settings it should work fine. (as sjravee said when you desigh for 800*600 you won't get any peoblem. A lot of (professional) sites design for 800*600 and have a blank area at the right (or the center the page and have left and right blank area)
<div align="center"><font face="Arial, Helvetica, sans-serif" size="6"><b>National Topographic System of Canada</b></font></div>
---------------------------------------------------------
BTW: why not code your style in a style sheet or inline style and give the div's a classname:
<div align="center"><font face="Arial, Helvetica, sans-serif" size="6"><b>National Topographic System of Canada</b></font></div>
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.