Parašė Jointass· 2010 Vas. 25 16:02:22
#1
Sveiki, taigi darausi dizain a ir iškilo bėda, nesigauna išlyginti panelės pavadinimo:
Styles
css;
/* Generic Styling */
body {
background:url(images/bg-body.png) repeat top center #E8F7F9;
font-family:"Trebuchet MS" Arial, Helvetica, sans-serif;
font-size:62.5%; /* Sets default font size to 10px */
color:#222222;
}
* {
margin:0;
padding:0;
}
img {
border:0;
}
p {
margin-bottom:1.75em;
}
textarea, submit, button,input{
color:#666;
border:1px solid #6CC7DC;
}
a {
text-decoration:none;
color:#B4C835;
}
a:hover {
text-decoration:none;
color:#6CC7DC;
}
/* Structure */
#wrapper {
margin:0 auto;
width:910px;
background:#F8F8FF;
font-size:1.20em;
}
#header {
height:161px;
background:url(images/pspzona_12.png) no-repeat;
}
#menu {
height:35px;
line-height:35px;
padding:0 10px;
}
#sidebar {
float:left;
width:251px;
background:url(images/pspzona_26.jpg) repeat;
margin-right:10px;
}
#content {
float:left;
width:500px;
min-height:450px;
}
#footer {
clear:both;
height:35px;
background:url(images/pspzona_29.png) no-repeat;
}
/* Entries */
.block{
padding-left:5px;
padding-right:5px;
}
.entry {
padding:5px 10px;
text-align:justify;
width:617px;
background:url(images/pspzona_16.png) no-repeat;
line-height:1.75em;
}
.entry-title {
font-size:1em;
font-weight:normal;
letter-spacing:-1px;
margin-bottom:3px;
}
.date {
font-size:0.9em;
color:#bbb;
cursor:default;
letter-spacing:1px;
}
.comments {
margin-top:-1em;
}
.comments a {
color:#6CC7DC;
background:url(images/icon-comment.png) no-repeat 0px 2px;
padding-left:20px;
padding-right:2px;
}
.comments a:hover {
color:#B4C835;
}
.tooltip{
padding: 3px;
border: 1px solid #666;
display: none;
background: #6CC4D8;
color: #FFF;
font: bold 9px Verdana, Arial, Helvetica, sans-serif;
text-align: left;
position: absolute;
z-index: 1000;
-moz-border-radius:5px;
}
.block_title, .th{
color:#3B9C9C;
text-align:center;
margin-bottom:4px;
margin-top:6px;
margin-left:-5px;
margin-right:-5px;
background:url(images/pspzona_19.png) no-repeat;
height:34px;
}
.table {
border-bottom: 1px solid black;
border-right: 1px solid black;
}
.tr {
background-color: #E8F7F9;
}
.tr2 {
background-color: #FBFBFB;
}
.td {
padding-left:5px;
border-left:1px solid gray
}
.td2 {
padding-left: 5px;
border-left: 1px solid gray;
}
/* Sidebar */
#sidebar ul {
margin-left:-5px;
margin-right:-5px;
list-style-type:none;
margin-top:10px;
}
#sidebar li {
}
#sidebar li a {
display:block;
height:20px;
line-height:20px;
color:#222222;
padding-left:5px;
border-bottom:1px solid #dddddd;
}
#sidebar li a:hover {
background:#edebed;
color:#6CC4D8;
}
/* Footer */
#footer-valid {
float:left;
padding-top:55px;
padding-left:20px;
cursor:default;
color:#ffffff;
}
#footer-valid a {
color:#ffffff;
text-decoration:none;
}
#footer-valid a:hover {
color:#ffffff;
text-decoration:underline;
}
/* Heading's */
h1 {
font-size:2.5em;
font-weight:normal;
cursor:default;
position:relative; top:50px; left:30px;
letter-spacing:1px;
color:#aaaaaa;
font-style:italic;
}