-
yenidenturkiye
Acemi Üye
|
07.12.2010, 14:00 (UTC) Mesaj konusu: İçerik Sayfanın Yan Tarafında |
|
|
Arkadaşlar sorunum:
Sitemde yeni bir CSS tasarım deniyordum, fakat nasıl olduysa, bedava-sitem'den eklediğim içerikler tasarımın ortasında olması gereken yerde, yan tarafında.
Resim için: http://img.webme.com/pic/y/yenidenturkiye/sorun1111.jpg
Css Kodu:
Kod:
table {margin-left: auto;margin-right: auto}
li.nav_element{display: none;}
body {
margin: 0;
padding: 0;
background: #000000;
font-family: Arial, Helvetica, sans-serif;
font-size: 12px;
color: #A19D9A;
}
h1, h2, h3 {
margin: 0;
padding: 0;
font-weight: normal;
color: #3E3530;
}
h1 {
font-size: 2em;
}
h2 {
font-size: 2.8em;
}
h3 {
font-size: 1.6em;
}
p, ul, ol {
margin-top: 0;
line-height: 180%;
}
ul, ol {
}
a {
text-decoration: none;
color: #339CCB;
}
a:hover {
}
#wrapper {
margin: 0 auto;
padding: 0;
}
/* Header */
#header-wrapper {
}
#header {
width: 1000px;
height: 150px;
margin: 0 auto;
}
/* Logo */
#logo {
width: 900px;
height: 90px;
margin: 0;
padding: 10px 50px 0px 50px;
color: #228CBE;
background: #228CBE url(http://img.webme.com/pic/y/yenidenturkiye/imgb.jpg) no-repeat left top;
}
#logo h1, #logo p {
margin: 0px;
padding: 0px;
text-transform: uppercase;
}
#logo h1 {
font-family: Impact, Arial, Helvetica, sans-serif;
font-size: 40px;
}
#logo p {
font-size: 12px;
font-weight: bold;
color: #FFFFFF;
}
#logo a {
border: none;
background: none;
text-decoration: none;
color: #FFFFFF;
}
/* Search */
#search {
width: 280px;
height: 60px;
padding: 20px 0px 0px 0px;
}
#search form {
height: 41px;
margin: 0;
padding: 10px 0 0 0px;
}
#search fieldset {
margin: 0;
padding: 0;
border: none;
}
#search-text {
width: 170px;
padding: 6px 5px 2px 5px;
border: 1px solid #DEDEDE;
background: #FFFFFF;
text-transform: lowercase;
font: normal 11px Arial, Helvetica, sans-serif;
color: #5D781D;
}
#search-submit {
width: 50px;
height: 22px;
border: none;
background: #B9B9B9;
color: #000000;
}
/* Menu */
#menu {
width: 920px;
height: 50px;
margin: 0 auto;
padding: 0px 40px;
background: url(http://img.webme.com/pic/y/yenidenturkiye/imga.jpg) no-repeat left top;
}
#menu ul {
margin: 0;
padding: 0px 0px 0px 0px;
list-style: none;
line-height: normal;
}
#menu li {
float: left;
}
#menu a {
height: 35px;
display: block;
float: left;
margin: 0px 20px 0px 10px;
padding: 15px 25px 0px 10px;
text-decoration: none;
text-align: center;
font-family: Arial, Helvetica, sans-serif;
font-size: 13px;
font-weight: normal;
color: #FFFFFF;
border: none;
}
#menu a:hover, #menu .current_page_item a {
text-decoration: none;
}
#menu .current_page_item a {
font-weight: bold;
}
#menu .first a {
padding-left: 0px;
}
#banner {
width: 1000px;
height: 0px;
margin: 0px auto;
background: url(http://img.webme.com/pic/y/yenidenturkiye/imgc.jpg) no-repeat left top;
}
/* Page */
#page {
width: 1000px;
margin: 0 auto;
padding: 0px 0px 0px 0px;
background: url(http://img.webme.com/pic/y/yenidenturkiye/imgd.jpg) repeat-y left top;
}
#page-bgbtm {
padding: 0px 50px 0px 50px;
}
/* Content */
#content {
float: left;
width: 590px;
padding: 0px 0px 0px 0px;
}
.post {
margin-bottom: 40px;
}
.post .title {
text-transform: uppercase;
font-family: Impact, Arial, Helvetica, sans-serif;
font-size: 28px;
font-weight: normal;
color: #606060;
}
.post .title a {
border: none;
color: #606060;
}
.post .meta {
padding-left: 2px;
text-align: left;
text-transform: uppercase;
font-family: Arial, Helvetica, sans-serif;
font-size: 11px;
font-weight: bold;
}
.post .meta .date {
float: left;
}
.post .meta .posted {
float: right;
}
.post .meta a {
}
.post .entry {
padding: 20px 25px;
border: 1px solid #E4E4E4;
text-align: justify;
}
.links {
padding-top: 20px;
text-transform: uppercase;
font-size: 11px;
font-weight: bold;
}
/* Sidebar */
#sidebar {
float: right;
width: 280px;
margin: 0px;
color: #787878;
}
#sidebar ul {
margin: 0;
padding: 0;
list-style: none;
}
#sidebar li {
margin: 0;
padding: 0;
}
#sidebar li ul {
margin: 0px 0px;
padding-bottom: 30px;
}
#sidebar li li {
background: url(http://img.webme.com/pic/y/yenidenturkiye/imge.gif) no-repeat left 15px;
margin: 0px;
padding: 0px 0px 0px 20px;
line-height: 35px;
border-bottom: 1px dotted #E7E2DC;
}
#sidebar li li span {
display: block;
margin-top: -20px;
padding: 0;
font-size: 11px;
font-style: italic;
}
#sidebar li li a {
padding: 0px 0px 0px 0px;
}
#sidebar h2 {
height: 38px;
text-transform: uppercase;
font-family: Impact, Arial, Helvetica, sans-serif;
font-size: 1.8em;
font-weight: normal;
color: #606060;
}
#sidebar p {
margin: 0 0px;
padding: 0px 0px 20px 0px;
text-align: justify;
}
#sidebar a {
border: none;
color: #339CCB;
}
#sidebar a:hover {
text-decoration: underline;
color: #8A8A8A;
}
/* Calendar */
#calendar {
}
#calendar_wrap {
padding: 20px;
}
#calendar table {
width: 100%;
}
#calendar tbody td {
text-align: center;
}
#calendar #next {
text-align: right;
}
/* Footer */
#footer {
height: 50px;
margin: 0 auto;
padding: 0px 0 15px 0;
font-family: Arial, Helvetica, sans-serif;
}
#footer p {
margin: 0;
padding-top: 20px;
line-height: normal;
font-size: 10px;
text-transform: uppercase;
text-align: center;
color: #A19D9A;
}
#footer a {
color: #A19D9A;
}
Tasarımın Üstündeki Yazı:
Kod: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<!--
Design by Free CSS Templates
http://www.freecsstemplates.org
Released for free under a Creative Commons Attribution 2.5 License
Name : Flower Mum
Description: A two-column, fixed-width design with dark color scheme.
Version : 1.0
Released : 20101122
-->
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta name="keywords" content="" />
<meta name="description" content="" />
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>Flower Mum by Free CSS Templates</title>
<link href="style.css" rel="stylesheet" type="text/css" media="screen" />
</head>
<body>
<div id="wrapper">
<div id="header">
<div id="menu">
<ul>
<li class="first current_page_item"><a href="#">Anasayfa</a></li>
<li><a href="#">Blog</a></li>
<li><a href="#">Destek</a></li>
<li><a href="#">Hakkımızda</a></li>
<li><a href="#">Intro</a></li>
<li><a href="#">37u.net</a></li>
</ul>
</div>
<div id="logo">
<h1><a href="http://yenidenturkiye.tr.gg">Yenidenturkiye </a></h1>
<p> Özgürlük adına herşey... </p>
</div>
</div>
<div id="banner"> </div>
<!-- end #header -->
<div id="page">
<div id="page-bgtop">
<div id="page-bgbtm">
<div id="content">
<div class="post">
<h2 class="title"><a href="http://yenidenturkiye.tr.gg">Tasarımımız Yenilenmiştir... </a></h2>
<p class="meta">Site Güncellenme Tarihi: <a href="#"> 07.12.2010</a>
• <a href="#" class="comments">Son Yorumlar (0)</a> • <a href="#" class="permalink">Site Günlüğü</a></p>
<div class="entry">
<p class="links"><a href="#">Devamı...</a> | <a href="#" title="b0x w">Yorumlar</a></p>
</div>
</div>
<div style="clear: both;"> </div>
</div>
<!-- end #content -->
<div id="sidebar">
<ul>
<li>
<div id="search" >
<form method="get" action="#">
<div>
<input type="text" name="s" id="search-text" value="" />
<input type="submit" id="search-submit" value="ARA" />
</div>
</form>
</div>
<div style="clear: both;"> </div>
</li>
Tasarımın Altındaki Yazı: Kod: <li>
<h2>En Çok Okunanlar</h2>
<ul>
<li><a href="#">Webmaster Araçları</a></li>
<li><a href="#">İddia ve Canlı Maç Sonuçları</a></li>
<li><a href="#">Site Şablonları</a></li>
<li><a href="#">Program Eğitim - Tutorials</a></li>
<li><a href="#">Reklam Bölümü</a></li>
<li><a href="#">Toplist</a></li>
</ul>
</li>
<li>
<h2>Site Info</h2>
<ul>
<li><a href="#">Aliquam libero</a></li>
<li><a href="#">Consectetuer adipiscing elit</a></li>
<li><a href="#">Metus aliquam pellentesque</a></li>
<li><a href="#">Suspendisse iaculis mauris</a></li>
<li><a href="#">Urnanet non molestie semper</a></li>
<li><a href="#">Proin gravida orci porttitor</a></li>
</ul>
</li>
</ul>
</div>
<!-- end #sidebar -->
<div style="clear: both;"> </div>
</div>
</div>
</div>
<!-- end #page -->
</div>
<div id="footer">
<p>Copyright (c) 2011 Yenidenturkiye. All rights reserved. Design by <a href="http://www.yenidenturkiye.tr.gg/">Umut Arkan.</a>.</p>
</div>
<!-- end #footer -->
</body>
</html> [/code] |
|