Jump to content
  • 0

Проблема с шириной страницы


e_skabar
 Share

Question

Это мой первый сайт. Подскажите пожалуйста, как избавится от нижней прокрутки страницы. Всю голову уже сломал. Картинка внизу.

Вот код HTML:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN""http://www.w3.org/TR/html4/loose.dtd">

<html>

<head>

<title>___________________</title>

<meta http-equiv="content-type" content="text/html; charset=windows-1251">

<meta http-equiv="content-style-type" content="text/css">

<meta name="keywords" content="кредит, кредиты, помощь в получении кредита, ипотека, автокредит, лизинг">

<meta name="description" content="_____________________">

<link href='index.css' rel='stylesheet' type='text/css'>

</head>

<body>

<div class='mainframe'>

<div class='header'>

<div class='logofintek'><a href='index.html'><img src='img/logofintek.png'></a></div>

<div class='logo1'>

<img src='img/logophone.png'>

</div>

<div class='phone' align='right'><h3>______________________

<br>________________________

</div>

</div>

<div class='menu1'>

<div align='center'>

<a class='menu' href='index.html'>ГЛАВНАЯ</a><a class='menu' href='page_2.html'>КРЕДИТЫ ФИЗИЧЕСКИМ ЛИЦАМ</a><a class='menu' href='page_3.html'>КРЕДИТЫ ЮРИДИЧЕСКИМ ЛИЦАМ</a><a class='menu' href='contacts.html'>КОНТАКТЫ</a><a class='menu' href='company.html'>О КОМПАНИИ</a>

</div>

</div>

<div class='zayavka'>

<form action='obrabotchikzayavkinakredit.php' method='post' id='form1' align='center'>

<p>ЗАЯВКА НА КРЕДИТ</p>

<label>Ф.И.О.:<br><input type='text' name='name1' size='25'></label>

<br>

<label>Ваш возраст:<br><input type='text' name='age' size='25'></label>

<br>

<label>Сумма:<br><input type='text' name='summa' size='25'></label>

<br>

<label>Адрес регистрации:<br><input type='text' name='address' size='25'></label>

<br>

<label>Номер телефона:<br><input type='text' name='phone' size='25'></label>

<br>

<input type='submit' name='submit1' value='Отправить заявку'>

</form>

</div>

<div class='index_height'>

<div class='urlica'>

<a class='urlica1' href='page_3.html'><img src='img/imageurlica.png'></a>

<br>

<a class='urlica1' href='http://ftfinance/zalogur.html'>Залоговые кредиты</a>

<br>

<a class='urlica1' href='http://ftfinance/overdraft.html'>Овердрафт</a>

<br>

<a class='urlica1' href='http://ftfinance/bizkredit.html'>Кредиты на бизнес</a>

</div>

<div class='podpis1'>Развитие...</div>

<div class='fizlica'>

<a class='fizlica1' href='page_2.html'><img src='img/imagefizlica.png'></a>

<br>

<a class='fizlica1' href='potreb.html'>Потребительские кредиты</a>

<br>

<a class='fizlica1' href='express.html'>Экспресс-кредиты</a>

<br>

<a class='fizlica1' href='auto.html'>Автокредиты</a>

</div>

<div class='podpis'>Счастье...</div>

<div class='calc'>

<div class='kreditkalktext'>

<a class='kreditkalk1' href='kreditcalc.html'>

Кредитный

<br>

калькулятор

</a>

</div>

</div>

<div class='auto'>

<a class='auto1' href='auto.html'><img src='img/imageauto.png'></a>

<br>

<a class='auto1' href='http://ftfinance/autobiz.html'>Автокредит для бизнеса</a>

<br>

<a class='auto1' href='http://ftfinance/faktoring.html'>Факторинг</a>

<br>

<a class='auto1' href='http://ftfinance/tradein.html'>Trade-In</a>

</div>

<div class='podpis3'>Комфорт...</div>

<div class='ipoteka'>

<a class='ipoteka1' href='ipoteka.html'><img src='img/imageipoteka.png'></a>

<br>

<a class='ipoteka1' href='http://ftfinance/ipotekazalog.html'>Ипотечные кредиты под залог</a>

<br>

<a class='ipoteka1' href='http://ftfinance/kommipoteka.html'>Коммерческая ипотека</a>

<br>

<a class='ipoteka1' href='http://ftfinance/kreditned.html'>Кредит на недвижимость</a>

</div>

<div class='podpis2'>Стабильность...</div>

</div>

<div class='line'><img src='img/border_bottom.png'></div>

<div class='copyright'>

_____________________

<br>

______________________

<br>

© 2011 <a class='menu_bottom1' href='index.html'>___________________</a>

</div>

<div class='menu_bottom'>

<div align='left'>

<a class='menu_bottom1' href='index.html'>Главная</a><br>

<a class='menu_bottom1' href='company.html'>О компании</a><br>

<a class='menu_bottom1' href='contacts.html'>Контакты</a><br>

<a class='menu_bottom1' href='contacts.html'>Сотрудничество с нами</a><br>

<a class='menu_bottom1' href='contacts.html'>Реквизиты</a><br>

<a class='menu_bottom1' href='contacts.html'>Задать нам вопрос</a>

<a class='menu_bottom1' href='contacts.html'>Партнеры</a>

</div>

</div>

</body>

</html>

Вот код CSS:

body

{

background-color:#f8f8f8;

padding:0;

margin:0;

}

.mainframe

{

border:0px solid black;

width:970px;

margin:auto; /*сверху, слева/справа, снизу*/

height:750px;

}

.header

{

border:0px solid red;

height:150px;

/*overflow:hidden;*/

background-color:#f8f8f8;

padding:0;

margin:0;

}

.logofintek

{

border:0px solid red;

width:212px;

height:63px;

position:relative;

top:43px;

}

.logo1

{

position:relative;

top:-1px;

right:-770px;

padding:0;

margin:0;

}

.phone

{

width:206px;

border:0px solid blue;

overflow:hidden;

font-family:arial;

color:#424242;

padding:0px;

margin:0px;

position:relative;

left:762px;

top:-54px;

}

.index_height

{

height:750px;

border:0px solid blue;

padding:0;

margin:0;

}

.menu1

{

border:0px solid blue;

overflow:hidden;

height:50px;

background-image:url('img/top_menu.png');

font-size:14px;

line-height:50px;

line-width:50px;

padding:0;

margin:0;

}

.menu2

{

border:0px solid blue;

overflow:hidden;

height:50px;

background-image:url('img/bottom_menu.png');

font-size:12px;

line-height:50px;

line-width:50px;

}

.fizlica

{

border:0px solid blue;

overflow:hidden;

height:300px;

padding-top:50px;

position:relative;

top:-32px;

}

.fizlica1

{

text-decoration:none;

color:#424242;

font-family:arial;

line-height:23px;

}

.fizlica1:hover

{

color:#e31e24;

text-decoration:underline;

}

.podpis

{

border:0px solid blue;

width:130px;

font-family:arial;

font-size:24px;

position:relative;

left:17px;

top:-152px;

padding:0;

margin:0;

color:#ffffff;

font-weight:bold;

text-align:center;

background-color:#00a0e3;

}

.podpis1

{

border:0px solid blue;

width:143px;

font-family:arial;

font-size:24px;

position:relative;

left:395px;

top:231px;

padding:0;

margin:0;

color:#ffffff;

font-weight:bold;

text-align:center;

background-color:#ef7f1a;

}

.podpis2

{

border:0px solid blue;

width:203px;

font-family:arial;

font-size:24px;

position:relative;

left:17px;

top:-215px;

padding:0;

margin:0;

color:#ffffff;

font-weight:bold;

text-align:center;

background-color:#009846;

}

.podpis3

{

border:0px solid blue;

width:143px;

font-family:arial;

font-size:24px;

position:relative;

left:395px;

top:168px;

padding:0;

margin:0;

color:#ffffff;

font-weight:bold;

text-align:center;

background-color:#e31e24;

}

.urlica

{

border:0px solid blue;

float:right;

overflow:hidden;

height:300px;

padding-top:50px;

padding-left:18px;

position:relative;

top:-1px;

}

.urlica1

{

text-decoration:none;

color:#424242;

font-family:arial;

line-height:23px;

}

.urlica1:hover

{

color:#e31e24;

text-decoration:underline;

}

.zayavka

{

border:0px solid blue;

float:right;

overflow:hidden;

height:300px;

width:225px;

padding-top:50px;

padding-left:18px;

background-image:url('img/form_zayavki.png');

background-repeat:no-repeat;

background-position:right bottom;

font-family:arial;

color:#424242;

line-height:20px;

}

.ipoteka

{

border:0px solid blue;

overflow:hidden;

height:300px;

padding-top:50px;

position:relative;

top:-94px;

}

.ipoteka1

{

text-decoration:none;

color:#424242;

font-family:arial;

line-height:23px;

}

.ipoteka1:hover

{

color:#e31e24;

text-decoration:underline;

}

.auto

{

border:0px solid blue;

float:right;

overflow:hidden;

height:300px;

padding-top:50px;

padding-left:18px;

position:relative;

top:-63px;

}

.auto1

{

text-decoration:none;

color:#424242;

font-family:arial;

line-height:23px;

}

.auto1:hover

{

color:#e31e24;

text-decoration:underline;

}

.calc

{

border:0px solid blue;

float:right;

overflow:hidden;

height:50px;

width:225px;

padding-top:50px;

padding-left:18px;

background-image:url('img/kreditcalc.png');

background-repeat:no-repeat;

background-position:right bottom;

text-align:center;

position:relative;

top:-63px;

}

.kreditkalktext

{

position:relative;

top:6px;

left:33px;

}

.kreditkalk1

{

text-decoration:none;

color:#424242;

font-family:arial;

margin-width:100%;

}

.kreditkalk1:hover

{

color:#e31e24;

text-decoration:underline;

}

.menu

{

border:0px solid blue;

text-decoration:none;

color:#ffffff;

font-family:arial;

font-weight:bold;

padding:20px 24px;

}

.menu:hover

{

color:#e31e24;

text-decoration:underline;

}

.menu_2

{

border:0px solid blue;

text-decoration:none;

color:#424242;

font-family:arial;

font-weight:bold;

padding:18px;

margin-width:100%;

vertical-align:top;

}

.menu_2:hover

{

color:#e31e24;

text-decoration:underline;

}

#logophone

{

position:relative;

top:43px;

right:0px;

}

.line

{

position:relative;

top:0px;

}

.copyright

{

border:0px solid blue;

width:900px;

color:#424242;

font-size:12px;

font-family:arial;

padding:0px 0px;

padding:0;

margin:0;

line-height:20px;

position:relative;

top:20px;

}

.menu_bottom

{

border:0px solid blue;

color:#424242;

font-size:12px;

font-family:arial;

position:relative;

width:150px;

left:725px;

top:-42px;

line-height:20px;

}

.menu_bottom1

{

text-decoration:none;

color:#424242;

font-family:arial;

}

.menu_bottom1:hover

{

color:#e31e24;

text-decoration:underline;

}

.potreb

{

width:710px;

height:1200px;

}

#abzac

{

text-indent:15px;

font-family:arial;

font-size:14px;

color:#424242

}

#abzac1

{

text-indent:15px;

font-family:arial;

font-size:14px;

color:#424242

}

#zagolovki

{

text-indent:15px;

font-family:arial;

font-size:14px;

color:#424242;

}

#zagolovki2

{

font-family:arial;

color:#424242;

}

#opr

{

text-indent:15px;

font-family:arial;

font-size:16px;

color:#e31e24;

}

#opr1

{

text-indent:15px;

font-family:arial;

font-size:16px;

color:#e31e24;

}

.telefony

{

font-family:arial;

font-size:18px;

color:#e31e24;

font-weight:bold;

text-align:center;

}

#rekvizity

{

font-family:arial;

font-size:14px;

color:#424242

}151102.jpg

Edited by e_skabar
Link to comment
Share on other sites

1 answer 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