sigmasl

Image instead of webmaptitle in template

Discussion created by sigmasl on May 3, 2012
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!

Outcomes