Jump to content
  • 0

в IE блок становится шире


winkywright
 Share

Question

ca294b77434ce0c29d2717f3df8f0e1e.jpg

83fbf5dbb9069f96fa275b166fb14450.jpg

верхнее меню сделал через JQuery, ниже 2 дива для эффекта закругления в css

это все дело у меня помещено в таблицу, т.к. правее есть еще один список с JQuery эффектом и чтобы его ровно сверстать вложил все в таблицу

во всех браузерах кроме IE все замечательно

пытался через html и в css в комментариях прописывать не получаетсо

Edited by winkywright
Link to comment
Share on other sites

7 answers to this question

Recommended Posts

  • 0

shvv понимаю так что мне надо было выложить сперва код

psywalker спасибо, сейчас не имею возможности, на новой неделе выложу - ссылки нет делаю сайт пока в программе

в css прописана одинаковая ширина в px в двух дивах, но что-то IE блоки вылезеют за меню

Link to comment
Share on other sites

  • 0

<table cellspacing=0 cellpadding=0>

<tr>

<th id="box" rowspan="2" align="left">

<ul id="topnav">

<li><a href="http://www/">кредит</a></li>

<li><a href="http://www/">наш  прайс</a></li>

<li><a href="http://www/">контакты</a></li>

<li><a href="http://www/">заправка  картриджей</a></li>

<li><a href="http://www/">ремонт</a></li>

</ul>

<br>

<div id="panel">

<div class="panel">

...

</div>

</div>

ul#topnav {

margin: 10px 0 0;

padding: 5px 0 0 0;

list-style: none;

font-size: 0.9em;

clear: both;

float: left;

width: 100%;

}

ul#topnav li{

margin: 0;

padding: 0;

overflow: hidden;

float: left;

height:40px;

}

ul#topnav a, ul#topnav span {

padding: 10px 20px;

float: left;

text-decoration: none;

color: #fff;

text-transform: uppercase;

clear: both;

height: 20px;

line-height: 20px;

background: url(menu_gif.gif);

}

ul#topnav a { color: #7bc441; }

ul#topnav span {

display: none;

}

#panel{background-color:#FFFFFF; margin-top:0; width:731px;height:700px;}

.panel{

width:731px; height:700px; margin-left:0;

background: url(panel_bottom_right.gif) bottom right no-repeat; padding:0;

}

Edited by winkywright
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