Имам проблем с 1 линия намираща се в лявата част на сайта. Сива е и е трудно забележима може ли някой да погледне кода и да ми каже как се маха това нещо защото аз просто не намирам начин да го направя.
Style.css
index.html
Style.css
Код:
body {
background: #E9F2F6;
margin: 0;
}
#container {
width: 780px;
margin: 0 auto;
}
#header {
padding: 25px 30px 20px 240px;
background: #3b7687;
}
#header a {
color: #FFFFFF;
text-decoration: none;
font-size: 25px;
font-family: "Myriad Pro";
}
#menu {
background-color: #3b7687;
padding: 6px 30px 6px 0;
text-align:center;
}
#menu a {
color: #c5d6db;
text-decoration: none;
font-size: 14px;
font-family: "Myriad Pro";
text-transform: uppercase;
}
#menu a:hover {
color: #ecf2f3;
}
h1 {
margin: 0px;
color: #869843;
font-size:24px;
font-family: "Arial Narrow";
font-weight: normal;
}
h2 {
color: #3b7687;
font-size: 15px;
margin: 20px 0 5px 0;
}
#main {
background-image:url(images/bg.gif);
}
#text {
margin: 0 0 0 10px;
padding: 25px 30px 30px 30px;
color: #444444;
font-family: "Georgia";
font-size: 13px;
line-height: 18px;
text-align: justify;
}
#text a {
color: #3b7687;
text-decoration: none;
}
#text a:hover {
color: #444444;
}
#footer {
padding: 6px 30px 6px 30px;
background: #d6d6d6;
font-family: "Lucida Sans Unicode";
color: #444444;
font-size: 11px;
text-align: right;
}
#footer a {
text-decoration: none;
color: #262626;
}
#footer a:hover {
color: #666666;
}
.clear {
clear:both;
}
index.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>Small Actions Big Change</title>
<link rel="stylesheet" type="text/css" href="design/style.css"/>
</head>
<body>
<div id="container">
<div id="header">
<a href="#">Svetlozar Stanev's Portfolio</a>
</div>
<div id="menu">
<a href="HomePage.html">Home</a> <a href="Products.html">Products</a> <a href="Design.html">Design</a> <a href="ProjectManagement.html">Project Management</a>
</div>
<div id="main">
<div id="text">
<p align="center">
<h3><center>Please select which document you want to open..</center></h3>
<center>
<select id="mySelect" onchange="if(this.options[this.selectedIndex].value != ''){window.top.location.href=this.options[this.selectedIndex].value}">
<option value="#">Please select a file..</option>
<option value="files/Proposal.pdf">Proposal</option>
<option value="pages/logo.html">Logo</option>
<option value="pages/sdp.html">Storyboard for digital poster</option>
<option value="http://www.audi.net">Timeline storyboard and script for movie</option>
<option value="http://www.audi.net">Storyboard for information point</option>
<option value="http://www.audi.net">Storyboard for web page</option>
<option value="http://www.audi.net">Assets table</option>
</select>
</center>
</p>
<p align="center">
<table>
<tr>
<td>
<img src="ridge.gif" style="width:60px; border:2px solid black;" onmouseover="this.style.width='200px'" onmouseout="this.style.width='60px'" alt="" title="" />
</td>
<td>
<img src="ridge.gif" style="width:60px; border:2px solid black;" onmouseover="this.style.width='200px'" onmouseout="this.style.width='60px'" alt="" title="" />
</td>
<td>
<img src="ridge.gif" style="width:60px; border:2px solid black;" onmouseover="this.style.width='200px'" onmouseout="this.style.width='60px'" alt="" title="" />
</td>
<td>
<img src="ridge.gif" style="width:60px; border:2px solid black;" onmouseover="this.style.width='200px'" onmouseout="this.style.width='60px'" alt="" title="" />
</td>
<td>
<img src="ridge.gif" style="width:60px; border:2px solid black;" onmouseover="this.style.width='200px'" onmouseout="this.style.width='60px'" alt="" title="" />
</td>
<td>
<img src="ridge.gif" style="width:60px; border:2px solid black;" onmouseover="this.style.width='200px'" onmouseout="this.style.width='60px'" alt="" title="" />
</td>
<td>
<img src="ridge.gif" style="width:60px; border:2px solid black;" onmouseover="this.style.width='200px'" onmouseout="this.style.width='60px'" alt="" title="" />
</td>
</tr>
</table>
</p>
</div>
<div class="clear"></div>
</div>
<div id="footer">
<center>©2010 <a href="mailto:owner@stanev.co.uk">Svetlozar Stanev</a> </center>
</div>
</div>
</body>
</html>