Jump to content
  • 0

Проблема с вёрсткой


Veanissepil
 Share

Question

Здравствуйте.

Делаю свою первую вёрстку на дивах+ таблицы.. в дримвевире.

в редакторе всё смотрится как положено, а в браузере не порядок...

в лисе футер не уходит в низ, в ИЕ7 вообще нижняя прокрутка появилась и бекграунт загружается как будто картинка на 10 мегабайт частями с верху в низ. хотя картинка заливки всего 1х2 пикселя.

я понимаю что где-то накосячил, но ума не приложу где именно.

Вот код CSS

html,body{
height:100%;
margin:0px;
padding: 0px;
background:url(images/vipseo_01.gif);
}

#logo {
width:371px;
height:309px;
position:absolute;
top:0px;
left:0px;
background:url(images/logo.png) no-repeat;
}

#menu {
width:400px;
height:78px;
position:absolute;
top:0px;
right:10px;
background:url(images/line_m.png) no-repeat;
}

.menu1 {
position:absolute;
top:0px;
right:0px;
}

.menu2 {
position:absolute;
top:0px;
right:108px;
}

.menu3 {
position:absolute;
top:0px;
right:215px;
}

.menu4 {
position:absolute;
top:0px;
right:315px;
}

#lmenu {
position:absolute;
top:375px;
left:20px;
}

.sidebar {
text-align:left;
font-family:"Times New Roman", Times, serif;
font-size:18px;
letter-spacing:1px;
}
.sidebar a {
color: #FFFFFF;
text-decoration:none;
background: url(images/sharp.png) no-repeat 3px 1px;
padding: 2px 5px 2px 20px;
}
.sidebar a:hover {
color:#FEA0B6;
background: url(images/sharp.png) no-repeat 3px 1px;
padding: 2px 5px 2px 20px;
}

#vtext {
width:70%;
margin:130px 240px;
text-align:left;
font-family:"Times New Roman", Times, serif;
font-size:16px;
letter-spacing:1px;
line-height:18px;
color:#FFBFBF;
}

#content {
width:65%;
margin:-90px 240px;
}

#content1 {
text-align:left;
font-family:"Times New Roman", Times, serif;
font-size:16px;
letter-spacing:1px;
line-height:18px;
color:#FFBFBF;
}

#content1 h1 {
font-size:26px;
color:#FFFFFF;
letter-spacing:3px;
}

.content1 {
font-size:24px;
color:#FFFFFF;
font-family:Verdana, Arial, Helvetica, sans-serif;
}

#footer {
position: relative;
margin-top: -10px;
height: 50px;
bottom:0;
}

пытался на форуме найти, но даже не знаю с чего начать. Помогите пожалуйста.

Link to comment
Share on other sites

7 answers to this question

Recommended Posts

  • 0
Лучше бы еще вам приложить и сам html.

а..прошу прощения забыл совсем

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Документ без названия</title>
<link rel="stylesheet" href="style.css">
</head>

<body>
<div id="logo"></div>
<div id="menu">
<div class="menu1"><a href="/kontact.html"><img src="images/m_04.png" width="107" height="78" border="0"/></a></div>
<div class="menu2"><a href="/portfolio.html"><img src="images/m_03.png" width="107" height="78" border="0"/></a></div>
<div class="menu3"><a href="/faq.html"><img src="images/m_02.png" width="93" height="78" border="0"/></a></div>
<div class="menu4"><a href="/index.php"><img src="images/m_01.png" width="81" height="78" border="0"/></a></div>
</div>


<div id="vtext"></div>
<div id="content">
<div id="content1"><h1>3 причины раскрутить сайт...</h1>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="7%" class="content1" valign="top">01</td>
<td width="93%"></td>
</tr>
<tr>
<td> </td>
<td> </td>
</tr>
<tr>
<td class="content1" valign="top">02</td>
<td></td>
</tr>
<tr>
<td> </td>
<td> </td>
</tr>
<tr>
<td class="content1" valign="top">03</td>
<td valign="top">
</td>
</tr>
<tr>
</tr>
</table>
</div>
</div>
<div id="lmenu"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="27" class="sidebar"><a href="/#"></a></td>
</tr>
<tr>
<td height="27" class="sidebar"><a href="/#"></a></td>
</tr>
<tr>
<td height="27" class="sidebar"><a href="/#"></a></td>
</tr>
<tr>
<td height="27" class="sidebar"><a href="/#"></a></td>
</tr>
<tr>
<td height="27" class="sidebar"><a href="/#"></a></td>
</tr>
<tr>
<td height="27" class="sidebar"><a href="/#"></a></td>
</tr>
</table>
</div>
<div id="footer">
© 2008 <br/>
<a href="http://vipseo.org">Продвижение сайтов в поисковых системах ViPseo.org</a></div>
</body>
</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