Imagem "cortada"
Olá pessoal,
Eu estou modificando uma template, mas só que a imagem do Logo fica "cortada", veja na imagem abaixo:
Parte do Index.html:
<body>
<div id="header">
<div id="logo">
<h1><a href="#">Teste</a></h1>
<h2><a href="[http://www.teste.com.br/">Tetses](http://www.teste.com.br/)
</div>
<div id="topmenu">
<ul>
<li class="first"><a href="#">Página Inicial</a></li>
<li><a href="#">Contato</a></li>
<li><a href="#">Mapa do Site</a></li>
</ul>
</div>
</div>
Arquivo .CSS:
body {
margin: 0;
padding: 0;
background: #FFFFFF url(images/img01.gif) repeat-x;
font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
font-size: 13px;
color: #666666;
}
h1, h2, h3 {
margin: 0;
font-weight: normal;
color: #e42600;
}
h1 {
font-size: 197%;
}
h2 {
font-size: 167%;
}
h3 {
font-size: 100%;
font-weight: bold;
}
p, ol, ul {
line-height: 180%;
}
p {
}
ol {
}
ul {
}
blockquote {
margin: 0;
padding-left: 20px;
border-left: 10px solid #E6E6E6;
font-style: italic;
color: #999999;
}
blockquote * {
line-height: normal;
}
a {
color: #E06529;
}
a:hover {
text-decoration: none;
}
img {
border: none;
}
img.left {
float: left;
margin: 0 15px 0 0;
}
img.right {
float: right;
margin: 0 0 0 15px;
}
hr {
display: none;
}
/ Header /
#header {
width: 760px;
height: 90px;
margin: 0 auto;
}
/ Logo /
#logo {
float: left;
margin-top: 30px;
background: url(images/img1.gif) no-repeat left bottom;
}
#logo h1, #logo h2 {
margin: 0;
padding-left: 100px;
font-weight: normal;
color: #E06529;
}
#logo h1 {
font-weight: bold;
}
#logo h2 {
font-size: 92%;
}
#logo a {
text-decoration: none;
}
/ Top Menu /
#topmenu {
float: right;
}
#topmenu ul {
margin: 0;
padding: 32px 0 0 0;
list-style: none;
line-height: normal;
}
#topmenu li {
display: inline;
}
#topmenu a {
padding: 0 20px;
border-left: 1px solid #E06529;
text-decoration: none;
font-size: 92%;
}
#topmenu a:hover {
text-decoration: underline;
}
#topmenu .first a {
border: none;
}
/ Header 2 /
#header2 {
width: 760px;
height: 200px;
margin: 0 auto;
}
/ Menu /
#menu {
float: left;
width: 200px;
height: 220px;
background: url(images/img3.jpg);
margin-top: 9px;
}
#menu ul {
margin: 0;
padding: 20px 20px 0 20px;
list-style: none;
line-height: normal;
}
#menu li {
display: inline;
}
#menu a {
display: block;
padding: 6px 10px;
background: url(images/img05.gif) repeat-x;
text-decoration: none;
font-size: 100%;
font-weight: bold;
color: #FFFFFF;
}
#menu a:hover {
text-decoration: underline;
}
#menu .first a {
background: none;
}
/ Splash /
#splash {
float: right;
width: 560px;
height: 220px;
margin-top: 9px;
}
/ Page /
#page {
width: 760px;
margin: 0 auto;
padding: 30px 0;
}
/ Content /
#content {
float: left;
width: 480px;
padding-left: 20px;
}
#content ul {
margin-left: 0;
padding-left: 0;
list-style: none;
}
#content ul li {
padding-left: 15px;
background: url(images/img08.gif) no-repeat 0 8px;
}
#content ol {
margin-left: 0;
padding-left: 0;
list-style: lower-alpha inside;
}
.title {
padding-top: 3px;
}
.content {
padding: 20px;
background: url(images/img10.gif) no-repeat;
}
.twocols {
}
.twocols .col1 {
float: left;
width: 220px;
}
.twocols .col2 {
float: right;
width: 220px;
}
/ Sidebar /
#sidebar {
float: right;
width: 220px;
}
#sidebar ul {
margin: 0;
padding: 0;
list-style: none;
}
#sidebar li {
margin-bottom: 20px;
background: #E6E6E6 url(images/img07.gif) no-repeat right bottom;
}
#sidebar li ul {
padding: 10px 20px;
font-size: 92%;
}
#sidebar li li {
margin: 0;
padding: 5px 0;
background: none;
border-top: 1px dotted #CDCDCD;
}
#sidebar h2 {
height: 30px;
margin: 0;
padding: 6px 0 0 10px;
background: url(images/img06.gif) no-repeat;
font-size: 100%;
font-weight: bold;
color: #145997;
}
#sidebar h3 {
margin: 0;
}
#sidebar p {
margin: 0;
line-height: normal;
}
#sidebar a {
text-decoration: none;
}
#sidebar a:hover {
text-decoration: underline;
}
#sidebar .first {
border: none;
}
/ Footer /
#footer-wrapper {
height: 10px;
padding: 20px 0;
background: #E6E6E6;
border-top: 10px solid #CDCDCD;
}
#footer {
width: 760px;
margin: 0 auto;
}
#footer p {
margin: 0;
line-height: normal;
}
#footer a {
color: #666666;
}
#legal {
float: left;
padding: 5px 0 1px 60px;
}
#links {
float: right;
padding: 10px 0 0 0;
}Alguém poderia me ajudar?
Obrigado novamente! http://forum.imasters.com.br/public/style_emoticons/default/thumbsup.gif
Discussão (4)
Carregando comentários...