Witam
Mam diva "header" z logiem, gdzie chce w lewym dolnym rogu tego diva umieścić dwa buttony. Czy ktoś wie jak to zrobić poprawnie żeby się nie rozjeżdżało - obecnie zrobiłem to przez wklejenie <br/> i przy pewnych rozdzielczościach jest problem :-) Ktoś ma jakiś pomysł jak to rozwiązać ?
Obecnie w index tak to wygląda:
Mój css
Mam diva "header" z logiem, gdzie chce w lewym dolnym rogu tego diva umieścić dwa buttony. Czy ktoś wie jak to zrobić poprawnie żeby się nie rozjeżdżało - obecnie zrobiłem to przez wklejenie <br/> i przy pewnych rozdzielczościach jest problem :-) Ktoś ma jakiś pomysł jak to rozwiązać ?
Obecnie w index tak to wygląda:
Kod:
<body>
<div id="wrapper">
<div id="header">
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<span lang="pl"> </span>
<img alt="" src="images/facebook-icon%20lumber.png" width="70" height="70"/><img alt="" src="images/subscribe-to-youtube-channel-wooden-icon.png" width="70" height="70" /></div>
Kod:
html {
margin: 0;
padding: 0;
}
body {
background: #CDC2B3 url(images/bg.jpg);
text-align: center;
font: 11px verdana, sans-serif;
margin: 0px;
padding: 20px 0px 20px 0px;
}
a {
color: #5F3E2F;
font-weight: bold;
text-decoration: none;
}
a:hover {
color: #1D110B;
text-decoration: underline;
}
img {
border: 0px;
}
#wrapper {
width: 778px;
margin: auto;
text-align: left;
}
#header p {
font-size:18px;
font-style:italic;
color:#FFFFFF;
font-family:Georgia, "Times New Roman", Times, serif;
width:300px;
}
#header p.more {
padding-right: 22px;
}
#header {
height: 320px;
background: url(images/header.gif) no-repeat;
}
#header div {
padding: 183px 213px 0px 82px;
}
#header p {
margin: 0px;
padding: 0px;
}
#header a {
color:#FFFFFF;
}
#nav {
width: 778px;
height:48px;
margin: 0px 0px 0px 0px;
background-image:url(images/nav.gif);
background-repeat:no-repeat;
display:inline;
float:left;
}
#nav a:hover {
color:#862e06;
text-decoration:none;
}
.lastchild {
border-right: none 0px !important;
}
#body {
background: url(images/body_bg.gif) repeat-y;
clear: both;
width: 100%;
}
#body-top {
background: url(images/body_top.gif) no-repeat;
}
#body-bot {
background: bottom url(images/body_bot.gif) no-repeat;
padding: 21px 25px 15px 42px;
}
#about-box {
float: left;
width: 315px;
}
#about-box ul {
margin-left: 8px;
}
#express-box {
float: right;
width: 327px;
}
#foot {
width: 738px;
margin-left: 20px;
background: url(images/foot_bg.gif) repeat-y;
}
#foot-top {
background: url(images/foot_top.jpg) no-repeat;
}
#foot-bot {
background: bottom url(images/foot_bot.gif) no-repeat;
padding: 13px 21px 12px 28px;
}
#what-box {
float: left;
width: 332px;
}
#what-box img.left {
margin-left: 10px;
}
#what-box ul {
float: left;
margin-left: 2px;
width: 184px;
}
#news-box {
float: right;
width: 316px;
}
#news-box ul {
float: left;
margin-left: 2px;
width: 184px;
}
#footer {
margin: 14px;
text-align: center;
}
h2 {
margin: 0px;
padding: 0px 0px 10px 0px;
font:Arial, Helvetica, sans-serif;
font-size:20px;
font-style:italic;
color:#862e06;
}
h2 b{
color:#341c12;
}
ul {
margin: 0px;
padding: 0px;
}
li {
margin: 0px;
padding: 0px 0px 5px 20px;
list-style: none;
background: 0px 3px url(images/bullet.gif) no-repeat;
}
p {
margin-top: 0px;
margin-bottom: 10px;
}
div.narrow-text {
margin-right: 18px;
}
img.left {
float: left;
padding-right: 14px;
padding-bottom: 16px;
}
#body p.more {
padding-top: 6px;
}
#news-box p.more {
padding-top: 0px;
margin-top: 0px;
}
p.more {
text-align: right;
}
.clear {
clear: both;
}