<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>
<br>Hello Greg,<br><br>Thanks for the info, regarding to the popup style, time ago I was trying to modify my table style, for example adding color to borders. I'm using a MAP file (then templates) to do the popup. Where do I have to add the style? in my HTML template or in my main HTML web (where I have the popup code)?<br><br>Cheers,<br><br>Gery<br><br><br><div><div id="SkyDrivePlaceholder"></div>> Date: Fri, 1 Jun 2012 14:32:03 -0700<br>> From: gregor@greeninfo.org<br>> To: gamejihou@hotmail.com<br>> CC: smaran.harihar@gmail.com; openlayers-users@lists.osgeo.org<br>> Subject: Re: [OpenLayers-Users] Chicken in AddPopup<br>> <br>> On 6/1/2012 2:16 PM, Gery . wrote:<br>> > Hello Smaran,<br>> > I don't really know what that means, but it is part of the code, if you<br>> > put for example "pig" or "dog", it won't work, trust me I did it and<br>> > didn't work =)<br>> > Cheers,  Gery<br>> <br>> It's the ID of the created popup element, e.g.<br>>     <div class="popup" id="chicken"> info </div><br>> <br>> It works just fine to use other IDs in there. If yours didn't work when <br>> you used "pig" or 'dog" something else must have been broken when you <br>> changed it. :)<br>> <br>> This does mean that you can use CSS to style a specific popup. Give a <br>> different popups an id of "eventinfo" or "housingstats" and then:<br>>     #eventinfo h1 { font-size:20pt; }<br>>     #housingstats h1 { font-size:15pt; }<br>> <br>> It also means you can do DOM manipulations and jQuery stuff using that <br>> ID, e.g.   $('#eventinfo table.tablesorter').tablesorter();<br>> <br>> -- <br>> Greg Allensworth, Web GIS Developer<br>> BS  A+  Network+  Security+  Linux+  Server+<br>> GreenInfo Network - Information and Mapping in the Public Interest<br>> 564 Market Street, Suite 510  San Francisco CA 94104<br>> PH: 415-979-0343 x302  FX: 415-979-0371    email: gregor@greeninfo.org<br>> Web: www.GreenInfo.org     www.MapsPortal.org<br>> <br>> Subscribe to MapLines, our e-newsletter, at www.GreenInfo.org<br></div>                                     </div></body>
</html>