|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Mozilla help with divisions
I have a slight problem with having a division within a diviosion in netscape/mozilla, works fine in IE.
Bascaily, where a europe site, and for each country there is a map, and for each map they will then be dots drawn on with links to things, now this is all done using java and php, member's add there own dots etc, by selecting them, thats all done. and was working fine, but we have a problem in netscape, which we didn't relise until recently. basicaly, we have problems with the way the map and dots are outputted on the page, the code used all done though php from mysql and stuff. but the basics in html is shown below. Code:
<DIV style="MARGIN-TOP: 0px; MARGIN-LEFT: 0px; POSITION: relative">
<DIV style="MARGIN-TOP: 279px; MARGIN-LEFT: 334px; POSITION: absolute"> <A href="somepage.htm">
<IMG src="groupdot.gif" border=0> </A> </DIV>
<DIV style="MARGIN-TOP: 308px; MARGIN-LEFT: 295px; POSITION: absolute"> <A href="somepage.htm"><br>
<IMG alt="" src="groupdot.gif" border=0> </A> </DIV>
<IMG src="Uk.gif" border=0 name=theimage> </DIV>
can someone suggest, what could be going wrong. |
|
#2
|
|||
|
|||
|
RE: Mozilla help with divisions
problem is in IE, not in mozilla.
and problem is in your code. you are using wrong css properties. use top: and left: instead of margin-top: and margin-left: Code:
<DIV style="TOP: 0px; LEFT: 0px; POSITION: relative">
<DIV style="TOP: 279px; LEFT: 334px; POSITION: absolute"> <A href="somepage.htm">
<IMG src="groupdot.gif" border=0> </A> </DIV>
<DIV style="TOP: 308px; LEFT: 295px; POSITION: absolute"> <A href="somepage.htm"><br>
<IMG alt="" src="groupdot.gif" border=0> </A> </DIV>
<IMG src="Uk.gif" border=0 name=theimage> </DIV>
this works good, both in ie, and mozilla... |
|
#3
|
|||
|
|||
|
RE: Mozilla help with divisions
Thanks, we did actualy have it has that when we started developeing it, and i can't remember why we changed it.
But seems to work in both so problem solved. Thanks |
|
#4
|
||||
|
||||
|
RE: Mozilla help with divisions
if you just use top and left will it still work in old versions of IE? I still use both in my body tags because one works in one and the other works in the other if that makes sense, or at least that's how it used to be...
|
|
#5
|
|||
|
|||
|
RE: Mozilla help with divisions
yeah, thats a good idea. i'll add the old margin ones back in
|
![]() |
| Viewing: Codewalkers Forums > Other Technologies > Client Side Things > Mozilla help with divisions |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|