YAFLogo

SaiDon
  • SaiDon
  • 71% (Friendly)
  • YAF Lover Topic Starter
2013-07-26T03:05:22Z
Dear all,

I would my banner resize automatic when changing resolution of screen

Please help me

Thanks

SaiDon

Sponsor
Zero2Cool
2013-07-26T03:13:09Z
Change the Width parameter (or add it if not present already) to a percentage instead of a static value.

width="75%"

SaiDon
  • SaiDon
  • 71% (Friendly)
  • YAF Lover Topic Starter
2013-07-26T03:32:15Z
Originally Posted by: Zero2Cool 

Change the Width parameter (or add it if not present already) to a percentage instead of a static value.

width="75%"

Here is code in source:

Banner

Please help me modify for banner resize automatic

Zero2Cool
2013-07-26T03:36:56Z
Originally Posted by: SaiDon 

Originally Posted by: Zero2Cool 

Change the Width parameter (or add it if not present already) to a percentage instead of a static value.

width="75%"

Here is code in source:

Banner

Please help me modify for banner resize automatic

Here, but I think it might be better to do this via the CSS instead.

<img src="~/images/banner/Banner_001.png" runat="server" width="75%" alt="Banner" style="border: 0;" id="imgBanner"/> 
SaiDon
  • SaiDon
  • 71% (Friendly)
  • YAF Lover Topic Starter
2013-07-26T03:42:26Z
Forum is error when adding width="75%" :

Banner

any idea?

squirrel
2013-07-26T06:16:50Z
Try:
<img src="~/images/banner/Banner_001.png" runat="server" alt="Banner" style="border: 0; width: 75% !important;" id="imgBanner"/>
Maybe it will work...


If you can't find it using the forum search, try my signature link -- searches this site using Google: Google is my Friend 
SaiDon
  • SaiDon
  • 71% (Friendly)
  • YAF Lover Topic Starter
2013-07-26T07:12:33Z
Originally Posted by: squirrel 

Try:

<img src="~/images/banner/Banner_001.png" runat="server" alt="Banner" style="border: 0; width: 75% !important;" id="imgBanner"/>
Maybe it will work...

It is ok! Thanks