[OpenLayers-Users] Description next to (not below) map

Keith Wiley kwiley at keithwiley.com
Fri May 4 12:34:45 EDT 2012


I don't want to make the map smaller vertically, since screens are shorter than they are wide.  I want to make the map smaller horizontally.  The obvious approach seemed to be to embed everything in a table, but then the map doesn't appear at all.  What's wrong with this approach?

	<table>
	<tr>
		<td>
			<div id="map" class="smallmap">
				<div style="position:absolute;top:10px;left:50px;z-index:1000;">
				<img src="legend.png" width=200>
				</div>
			</div>
		</td>
		<td>
			<p>
			Description
			</p>
		</td>
	</tr>
	</table>

________________________________________________________________________________
Keith Wiley     kwiley at keithwiley.com     keithwiley.com    music.keithwiley.com

"You can scratch an itch, but you can't itch a scratch. Furthermore, an itch can
itch but a scratch can't scratch. Finally, a scratch can itch, but an itch can't
scratch. All together this implies: He scratched the itch from the scratch that
itched but would never itch the scratch from the itch that scratched."
                                           --  Keith Wiley
________________________________________________________________________________



More information about the Users mailing list