Jump to content
  • 0

Как выровнять баннер по центру ?


persey01
 Share

Question

Как выравнить баннер по ценру, : http://kvshu39.ru/forum/viewforum.php?f=7&...619d234b150e10c

<!-- INCLUDE overall_header.html -->
<script type="text/javascript"><!--
google_ad_client = "pub-5796305367349667";
/* киу_форум_без прокрутки_700x140 */
google_ad_slot = "8800195845";
google_ad_width = 728;
google_ad_height = 90;
//-->
</script>"

Пасиб :)

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • 0
Как выравнить баннер по ценру, : http://kvshu39.ru/forum/viewforum.php?f=7&...619d234b150e10c

<!-- INCLUDE overall_header.html -->
<script type="text/javascript"><!--
google_ad_client = "pub-5796305367349667";
/* киу_форум_без прокрутки_700x140 */
google_ad_slot = "8800195845";
google_ad_width = 728;
google_ad_height = 90;
//-->
</script>"

Пасиб :)

Вставьте скрипт в абзац в котором задайте align="center"

Link to comment
Share on other sites

  • 0

Не стоит, задавать элайн.

Лучше в стилях задайте банеру ширину, и примените свойство margin: 0 auto;

Так же вам скорее всего потребуется применить абсолютное или относительное позиционирование.

Вот вам более развёрнутый материал:

http://htmlbook.ru/css/position.html

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. See more about our Guidelines and Privacy Policy