Jump to content
  • 0

Центрирование или нет сам не пойму


Master of Magic
 Share

Question

Сайтец: опа

До этого вместо flashки была просто картинка, через css background top center, нижний прокрутки не было. Вставил flashку, появилась полоса прокрутки + что-то мне подсказывает, что отцентрировал я не правильно. Как заставить flash вести себя как background? Сейчас сделал через position:absolute;z-index:5. Всем остальным элементам position: relative; z-index: 10.

Link to comment
Share on other sites

6 answers to this question

Recommended Posts

  • 0

Ну, у background-а тоже width:1680px был, он центрировался, нижний прокрутки не было...То есть с двух сторон изображение отсекалось, как например здесь: http://games.1c.ru/

Edited by Master of Magic
Link to comment
Share on other sites

  • 0

Попробовал, прописал в body, получилось, спасибо. Только все равно мне кажется, что картинка не по центру, то есть, flash шапка при публикации 1680px, прописал left:50%;margin: 0 0 0 -840px; но все равно почему-то мне кажется, что правая сторона больше чем левая, просто на глаз. Хотя при уменьшении масштаба вроде все по центру. Подскажите в чем дело или развейте сомнения.

P.S. Левая больше, чем правая, сорри.

Edited by Master of Magic
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