Jump to content
  • 0

div не хочет влезать в родительский div


Winni
 Share

Question

По коду в тег div входит ещё несколько div-ов, проблема в том что в браузере это не отображается, все это слои ставятся отдельно от родительского div-а .

На сайте главный div выделен белой рамкой, а div в котором должны находится меню, главная колонка выделен красным. помогите найти ошибку в сайте вот ссылка на народ, если мой комп опять демоны выключат

  Reveal hidden contents

/*stylesheet*/
body {background:url(img/ev_bg.jpg) repeat-x black ;margin:0; padding:0px }
img {border:none}
#ev{
background:url(img/col_bg.gif) ;
width:1024px; margin:0 auto; padding:0px; border:5px #FFF solid
}

#top {color:white;
width:1024px;
height:52px;
background:#000;
margin:0px;

}
#zag { padding:15px; float:left}
#search {background:url(img/serch.jpg) no-repeat; width:155px; height:27px; padding:3px 50px; margin-left: 780px; position:relative; top:10px; right:70px; bottom:auto;}
#searchi { background:none ; border:none}
#header {background:url(img/header.jpg) no-repeat; height:133px; width:1024px;}
#logo{width:171px; height:88px; position:relative; left:140px; top:30px}

#col{margin:0px; border:#F00 1px solid }

#left_col{width:auto; float:left ;margin:10px; margin-right:13px; height:845px}
#rec { background:url(img/23.gif); width:160px ; height:350px; position:relative; top:100px; left:45px; border:#FFF thick}

#midlle {width:721px; float:right; border: ridge 6px; background:#dae2d0; margin-top:13px}

#bl {background: url(img/bl_bg.png) no-repeat; width:inherit; height:228px; }
#bl a img{position:relative; top:0px; left:23px}

#mid_col{padding:13px}

#news{margin:10px 0px;padding:25px; background:#d7dcb0; border:#FFF 1px; width:640px; height:auto; }
#news img {float:left}
#news h5 {position:relative; left:26px; width:100%; margin:0px}
#text {position:relative; left:26px; margin:17px; width:394px; max-width:394px; overflow:hidden}

#footer{
height:53px;
background:url(img/footer.jpg) repeat-x;

}

Edited by Winni
Link to comment
Share on other sites

5 answers to this question

Recommended Posts

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