Image instead of webmaptitle in template

518
0
05-03-2012 02:04 AM
Jose_FranciscoSánchez_Díaz
New Contributor II
Hi:
I'm modifing basic viewer template.
I want to insert a image in top of my viewer instead of webmap title. I did it adding this code to layout.js
//add a title
dojo.create("p", {
        id: 'webmapTitle',
        innerHTML: "<img src='http://dl.dropbox.com/u/7489309/visor_villaviciosa/images/logos/encabezado_izq.jpg' align='top' /> "
  }, "header");
      dojo.style(dojo.byId("header"), "height", "52px");

The image show in left top area, but it isn't aling to left / top border of page. I have change layout.css to delete border and padding from body and main window.
Can any one gelp me?
Thank you!
0 Kudos
0 Replies