Slang
Posts: 0
Joined: Mon Dec 10, 2012 6:53 am

How can I get a banner image displayed covering the entire header?

I tried adding some javascript on page load but the image displays in the center of the header with a lot of padding around it, i cant seem to get rid of the padding:

Tiggzi("mobileheader").html("Image style='float:left;display:inline'");
Tiggzi('mobileheader').css('margin', '0px 0px 0px 0x');
Tiggzi('mobileheader').css('padding', '0px 0px 0px 0x');

Any suggestions? I'd the image to take up all of the header and scale as the screen size/orientation changes

Slang
Posts: 0
Joined: Mon Dec 10, 2012 6:53 am

How can I get a banner image displayed covering the entire header?

The html didnt display properly, its supposed to be:

'Image

Slang
Posts: 0
Joined: Mon Dec 10, 2012 6:53 am

How can I get a banner image displayed covering the entire header?

trying without the angle brackets:

img border='0' src='" + Tiggzi.getImagePath('logo-290x60-t.png') + "'width='100%' height='60px' style='float:left;display:inline'

maxkatz
Posts: 0
Joined: Fri Aug 13, 2010 3:24 pm

How can I get a banner image displayed covering the entire header?

When you post, click on "some HTML allowed" link to see how to embed HTML code.

maxkatz
Posts: 0
Joined: Fri Aug 13, 2010 3:24 pm

How can I get a banner image displayed covering the entire header?

Try using Chrome Dev. Tools to see where the padding is coming from. It's possible there is some other CSS that's being applied.

Return to “Issues”