Oh no! Where's the JavaScript?
Your Web browser does not have JavaScript enabled or does not support JavaScript. Please enable JavaScript on your Web browser to properly view this Web site, or upgrade to a Web browser that does support JavaScript.
Not a member yet? Click here to register.
Forgot Password?

How to setup max panel dimensions?

Asked Modified Viewed 2,154 times
S
Skulz
S
Skulz 10
  • Member, joined since
  • Contributed 76 posts on the community forums.
  • Started 20 threads in the forums
  • Started this discussions
asked
Member

Hey. I'm trying the adsense responsive ads and I would like to know how to setup a panel in order to give it a "max" of space that can be used.
0 replies

3 posts

P
Piotrroger
P
  • Junior Member, joined since
  • Contributed 20 posts on the community forums.
  • Started 2 threads in the forums
answered
Junior Member

http://www.w3schools.com/cssref/pr_dim_max-width.asp
0 replies
C
Craig
C
Craig 14
  • Fusioneer, joined since
  • Contributed 4,462 posts on the community forums.
  • Started 212 threads in the forums
answered
Fusioneer

Hi,

Just put a divider around the ad set a full width in % and it will respond with the ad and screen.

Example:
echo"<div  style='width: 100%;  text-align: center;'>
<script type='text/javascript'><!--
google_ad_client = 'ca-pub-xxxxxxxxxxxxxxxxx';
/* ME AD */
google_ad_slot = 'xoxoxoxoxo';
google_ad_width = 468;
google_ad_height = 15;
//-->
</script>
<script type='text/javascript'
src='http://pagead2.googlesyndication.com/pagead/show_ads.js'>
</script>
</div>";


Regards
0 replies
C
Chan
C
Chan 0
Lead Developer of PHP-Fusion
  • Super Admin, joined since
  • Contributed 3,842 posts on the community forums.
  • Started 232 threads in the forums
  • Answered 6 questions
answered
Super Admin

My method for responsive image class is ..


<div style='max-width:100px; overflow:hidden;'><img style='max-width:100px' class='img-responsive' src=''></div>\n
0 replies

Category Forum

Panels and Infusions

Labels

None yet

Statistics

  • Views 0 views
  • Posts 3 posts
  • Votes 0 votes
  • Topic users 4 members

4 participants

C
C
Craig 14
  • Fusioneer, joined since
  • Contributed 4,462 posts on the community forums.
  • Started 212 threads in the forums
C
C
Chan 0
Lead Developer of PHP-Fusion
  • Super Admin, joined since
  • Contributed 3,842 posts on the community forums.
  • Started 232 threads in the forums
  • Answered 6 questions
P
P
  • Junior Member, joined since
  • Contributed 20 posts on the community forums.
  • Started 2 threads in the forums
S
S
Skulz 10
  • Member, joined since
  • Contributed 76 posts on the community forums.
  • Started 20 threads in the forums
  • Started this discussions

Notifications

Track thread

You are not receiving notifications from this thread.

Related Questions

Not yet