• 15-09-2009, 18:29:20
    #1
    Merhaba arkadaşlar.
    Şöyle bir üstmenü kodu var
    <table cellpadding='0' cellspacing='0' width='954' align='center'>
    	<tr>
    		 			<td width="23" height="39" background="Temalar/<%=themename%>/images/ust_menu/sol.png">&nbsp;</td>
    					<td class='ust-menu-ap'><ul>
    						<li class='first-link ust-menu'><a href='Haberler.asp'><span>Haberler</span></a></li>
    						<li class='ust-menu'><a href='Yazilar.asp'><span>İncelemeler</span></a></li>
    						<li class='ust-menu'><a href='Koseyazi.asp' target='_blank'><span>Köşe Yazıları</span></a></li>
    						<li class='ust-menu'><a href='Sayfa_Modul.asp?nedir=modul&isim=Ilan'><span>İlanlar</span></a></li>
    						<li class='ust-menu'><a href='Sayfa_Modul.asp?nedir=modul&isim=Video'><span>Videolar</span></a></li>
    						<li class='ust-menu'><a href='Sayfa_Modul.asp?nedir=modul&isim=Z_defter'><span>Ziyaretçi Defteri</span></a></li>
    						</ul>
    					</td>
    					<td align='right' width='253' height='39' style='background: url(Temalar/<%=themename%>/images/ust_menu/arama_ap.png) top right no-repeat #f7f7f7; padding: 5px 0px 0px 0px;'><form name='kutu' method='get' action='<%=strsiteadres%>/Googlearama.asp' id="cse-search-box">
    						<input type="hidden" name="cx" value="partner-<%= google_ad_client %>:ovo5jj-utoh" />
    						<input type="hidden" name="cof" value="FORID:10" />
    						<input type="hidden" name="ie" value="ISO-8859-9" />
    						<input type="hidden" name="q" size="15" class="button" />
    						<input type='text' onChange="q.value = kutu.value;" name='kutu' minlenght='3' maxlength='21' value='Aranacak Kelime...' onBlur="if(this.value=='') this.value='Aranacak Kelime...';" onFocus="if(this.value=='Aranacak Kelime...') this.value='';" class='ara-metin'>
    						&nbsp;&nbsp;<input type='submit' name='sa' value='&nbsp;' class='ara'>&nbsp;&nbsp;&nbsp;&nbsp;
    						</form>
    					</td>
    	</tr>
    </table>
    Kod sorunsuz çalışıyor. Birde şöyle bir kod var;
    <table align='center' class='center' cellpadding='0' cellspacing='0' width='954'>
    	<tr>
    Site genel kodlar
    	</tr>
    </table>
    Buda sorunsuz çalışıyo. Benim sorunum bu iki tablo arasındaki boşluk nasıl kaldırılabilir?
    Görününen hali;

    Yeşil şema içindeki boşluk şeridini kaldırmak istiyorum.
    İlgilenen arkadaşlara şimdiden teşekkürlerimi iletirim.
  • 15-09-2009, 18:45:04
    #2
    css e aşağıdaki özellikleri eklemeyi deneyebilirsin

    *{
    margin:0; padding:0;
    }
  • 15-09-2009, 20:01:52
    #3
    verdiğin kodları .u-menu adı altında ekledim ve table tagına class="u-menu" diye ekledim olmadı.

    2 table koduna da ekledim olmadı. 2 tablo kodunun arasına <div class="u-menu"></div> diye ekledim yine olmadı.

    Yanlış mı ekledim yoksa işe yaramadı mı anlayamadım :S
  • 15-09-2009, 20:26:39
    #4
    <ul></ul> kodlarını kaldırınca belki sorun düzelir.. eger yine düzelmesse
    css kodlarınıda paylaşırsan daha verimli yardım edilebilir..
  • 15-09-2009, 20:47:00
    #5
    Z9Real adlı üyeden alıntı: mesajı görüntüle
    <ul></ul> kodlarını kaldırınca belki sorun düzelir.. eger yine düzelmesse
    css kodlarınıda paylaşırsan daha verimli yardım edilebilir..
    Hocam üst menü direk bozuldu
    CSS kodları bunlar
    .blok {
    	background: url('images/blok_ust_orta.png') center center repeat-x;
    	color: #343434;
    	font-size: 11px; font-family: "Trebuchet MS", Arial;
    	font-weight: bold; text-transform: uppercase;
    	padding: 0 0 4px 0;
    }
    .u-menu {
    margin:0; padding:0;
    }
    .uyemenu-img { background: #fff; border: 2px solid #3798DF; text-decoration : none; padding: 1px; }
    td {
    	font-family: "Trebuchet MS", Arial, Verdana, Helvetica, sans-serif;
    	font-size: 12px;
    }
    pre {
    	font-family: "Trebuchet MS", Arial, Verdana, Helvetica, sans-serif;
    	font-size: 12px;
    }
    form {
    	margin: 0px;
    }
    img  {
    border : 0;
    }
    hr {
    	height: 1px;
    	border: 1px solid #eee;
    }
    hr.side-hr {
    	height: 1px;
    	border: 1px solid #eee;
    }
    .center {
    	margin: 0 auto;
    }
    .ara-metin {
    	font-family : "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;
    	font-size : 11px; font-weight: bold;  font-style: italic;
    	color : #a7a7a7; border: 0px solid #dad1b6;
    	background : url('images/metinkutu.png') no-repeat #fff;
    	width: 151px; height: 26px; padding: 5px 0px 4px 22px;
    	margin: 0px 0px 0px 0px;
    }
    .clr {
    	clear: both;
    }
    .ara {
    	font-family : "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;
    	font-size : 11px; font-weight: bold;
    	color : #fff;
    	background : url('images/ara.png') left no-repeat #ef4f00;
    	width: 26px; height : 26px;
    	border : 0px solid #917e5c;
    }
    .giris {
    	background: url('images/uye_menu/giris_h.png') no-repeat top;
    	border: 0px; width: 51px; height: 20px;
    }
    .giris:active {
    	background: url('images/uye_menu/giris_h.png') no-repeat top;
    	border: 0px; width: 51px; height: 20px;
    }
    .giris:focus {
    	background: url('images/uye_menu/giris_h.png') no-repeat top;
    	border: 0px; width: 51px; height: 20px;
    }
    .giris:hover {
    	background: url('images/uye_menu/giris_h.png') no-repeat top;
    	border: 0px; width: 51px; height: 20px;
    }
    a.krocker {
    	color: #808080; text-decoration: none;
    }
    a:hover.krocker {
    	color: #81c0ff; text-decoration: none;
    	padding: 1px 0px 1px 0px;
    }
    .uyemenu-metin {
    	background: url('images/uye_menu/metinkutu.png') repeat-x center center;
    	color: #59ACEF; font-size: 11px; font-style: italic;
    	width: 110px; height: 21px;
    	border-top: 1px solid #fff; border-right: 1px solid #999;
    	border-bottom: 1px solid #999; border-left: 1px solid #fff;
    }
    a.ust-menu, li.ust-menu a {
    	font-family: Arial, "Trebuchet MS"; float: left;
    	font-size: 11px; color: #ee4d34; font-weight: bold;
    	text-decoration: none; text-transform: uppercase;
    	padding: 12px 7px 12px 7px;
    }
    a:hover.ust-menu, li.ust-menu a:hover {
    	background: url('images/ust_menu/menu_h.png') top center repeat-x;
    	color: #74bada;
    	text-decoration: none;
    	padding: 12px 7px 12px 7px;
    }
    .ust-menu-ap {
    	font-family: "Trebuchet MS", Arial;
    	background: url('images/ust_menu/orta.png') top center repeat-x;
    	color: #fff;
    }
    .ust-menu-ap ul{
    	margin: 0;
    	padding: 0;
    }
    .ust-menu-ap ul li{
    	display: inline;
    }
    .ust-menu-ap ul li.first-link .bullet{
    	display: none;
    }
    #toolbar {
    	background: #2e2e2e url(images/custom/toolbar-bg.png) 0 0 repeat-x;
    	height: 95px;
    }
    .resim-sistemi {
    	background: url('resim-sistemi/orta.PNG') center center repeat-x #b6e1f7;
    	color: #424242;
    	height: 89px;
    	padding: 5px;
    }
    #linksbar {
    	background: #212121 url(images/custom/linksbar-bg.png) repeat-x;
    	height: 39px;
    	padding: 4px 0 0 10px;
    }
    a.uni {
    	color: #777777;
    	text-decoration: none;
    	font-size: 12px; font-family: "Trebuchet MS", Arial;
    	font-weight: bold; text-transform: uppercase;
    	padding: 0 0 4px 0;
    }
    a:link.uni {
    	color: #777777;
    	text-decoration: none;
    	font-size: 12px; font-family: "Trebuchet MS", Arial;
    	font-weight: bold; text-transform: uppercase;
    	padding: 0 0 4px 0;
    }
    a:visited.uni {
    	color: #777777;
    	text-decoration: none;
    	font-size: 12px; font-family: "Trebuchet MS", Arial;
    	font-weight: bold; text-transform: uppercase;
    	padding: 0 0 4px 0;
    }
    a:active.uni {
    	color: #777777;
    	text-decoration: none;
    	font-size: 12px; font-family: "Trebuchet MS", Arial;
    	font-weight: bold; text-transform: uppercase;
    	padding: 0 0 4px 0;
    }
    a:hover.uni {
    	color: #ffffff;
    	text-decoration: none;
    	font-size: 12px; font-family: "Trebuchet MS", Arial;
    	font-weight: bold; text-transform: uppercase;
    	padding: 0 0 4px 0;
    }
    .clr {
    	clear: both;
    }
    #kwick {
    	width: 100%;
    }
    #kwick .kwicks {
    	background: transparent;
    	display: block;
    	height: 95px;
    	margin: 0px;
    	padding: 0;
    }
    #kwick li {
    	float: left;
    	margin: 0;
    	padding: 0;
    	list-style: none;
    }
    #kwick .kwick {
    	display: block;
    	cursor: pointer;
    	overflow: hidden;
    	height: 95px;
    	width: 120px;
    }
    #kwick .kwick span {
    	display: none;
    }
    #kwick .opt0 {
    	background: url(images/custom/ds-home.png);
    	outline: none;
    }
    #kwick .opt1 {
    	background: url(images/custom/ds-forum.png);
    	outline: none;
    }
    #kwick .opt2 {
    	background: url(images/custom/ds-gallery.png);
    	outline: none;
    }
    #kwick .opt3 {
    	background: url(images/custom/ds-chat.png);
    	outline: none;
    }
    #kwick .opt4 {
    	background: url(images/custom/ds-arcade.png);
    	outline: none;
    }
    #kwick .opt6 {
    	background: url(images/custom/ds-logout.png);
    	outline: none;
    }
    #kwick .opt7 {
    	background: url(images/custom/ds-login.png);
    	outline: none;
    }
    #kwick .opt8 {
    	background: url(images/custom/ds-register.png);
    	outline: none;
    }
    /*{ üye bloğu açılır menü başlangıcı }*/
    ul{
    	padding:5px 15px;
    	margin:0px;
    	list-style:none;
    }
    ul li
    {
    	list-style:none;
    	padding:0px;
    	margin:0px;	
    }
    ul li a
    {
    	text-decoration:none;
    	color:#000;	
    	font:normal 9px/18px Verdana, Arial, Helvetica, sans-serif;
    }
    div.accordionBaslik{
    	padding-left:9px;
    	background:;
    	font:bold 11px/2em Verdana, Arial, Helvetica, sans-serif;
    	width:130px;
    	height:18px;
    	display:block;	
    	border-bottom:solid 1px #789e0e;
    	cursor:pointer;
    }
    div.accordionDiv
    {
    	width:130px;
    	clear:left;
    }
    	float:left;
    	width:130px;
    	padding:20px;
    	display:block;
    	height:300px;
    }
    /*{ üye bloğu açılır menü bitişi }*/
    /*{ Sadece Sağ ve Sol Blokların Stilleri }*/
    .c_blok_baslik { font-family: tahoma; font-size: 70%; color: #333333; }
    .c_blok_font { font-family:tahoma; font-size:11px; color:#000000; }
    .blok_tablo_font { font-family:tahoma; font-size:11px; color:#000000; }
    .blok_tablo_cevre { border-width:1px; border-style:solid; border-collapse:collapse; border-color:#999999; }
    .blok_tablo1 { background-color:#FFFFFF; }
    .blok_tablo2 { background-color:#F5F5F5; }
    .kayan_yazi_font { font-family:tahoma; font-size:11px; color:#000000; }
    .blok_form { font-family:verdana; font-size: 11px; background:#F5F5F5; border-width:1px; border-color:#999999; 
    page-break-inside: avoid; border-style:solid; border-collapse:collapse; }
    .ublok_form { font-family:verdana; font-size: 11px; background:#F5F5F5; border-width:1px; border-color:#999999; 
    page-break-inside: avoid; border-style:solid; border-collapse:collapse; }
    .toolbox_font { font-family: tahoma; font-size: 10px; color: #FFFFFF; }
    .toolbox_baslik { font-family: tahoma; font-size: 70%; color: #333333; }
    .blok_nick { font-family:verdana; color:#000000; background:#F5F5F5; border-width:1px; border-color:#999999; 
    page-break-inside: avoid; border-style:solid; border-collapse:collapse; }
    /*{ Orta Bloklar }*/
    .orta_tablo_baslik {
    	color: #fff;
    	font-size: 12px; font-family: "Trebuchet MS", Arial;
    	font-weight: bold; text-transform: uppercase;
    	padding: 0 0 4px 0;
    }
    .orta_tablo_font { font-family:tahoma; font-size:11px; color:#000000; }
    .orta_tabloalt_font { font-family:tahoma; font-size:10px; color:#000000; }
    .orta_tablo_cevre { border-width:1px; border-style:solid; border-collapse:collapse; border-color:#999999; }
    .orta_form { font-family:verdana; font-size: 11px; background:#F5F5F5; border-width:1px; border-color:#999999; 
    page-break-inside: avoid; border-style:solid; border-collapse:collapse; }
    .ortaickisim { width:99%; padding:3px; text-align:left; font-family:tahoma; font-size:11px; color:#000000; background-color:#FFFFFF; }/*{  orta icleri}*/
    .sforumlar { float:left; display:table; padding:1px; margin:1px; border:1px solid #999999; text-align:center; font-family:tahoma; font-size:11px; color:#000000; }/*{ sonforumlar }*/
    .oust { border:1px solid #999999; width:98%; background-color:#FFFFFF; }/*{  orta cercevesi}*/
    .oust2 { text-align:center; padding-top:5px; border-bottom:1px solid #999999; width:100%; background-color:#BFBFBF; height:23px; font-family: tahoma; font-size:70%; color:#333333; }/*{  orta ust kisim basligin oldugu yer }*/
    .orta_baslik { font-family: tahoma; font-size: 70%; color: #333333; }
    /*{ Anket Stilleri }*/
    .a_tablo_font { font-family:tahoma; font-size:11px; color:#000000; }
    .anketim { width:70%; font-family:tahoma; font-size:11px; color:#000000; }
    .anket { float:left; padding:1px; width:35%; margin:0 0 0 0; border:1px solid #999999; text-align:right; font-family:tahoma; font-size:11px; color:#000000; }
    .anket2 {text-align:left; padding:1px; margin:0 0 +3px 0; border:1px solid #999999; font-family:tahoma; font-size:11px; color:#000000; }
    #anket2 { background-color:#F5F5F5; }
    .a_form { font-family:verdana; font-size: 11px; background:#F5F5F5; border-width:1px; border-color:#999999; 
    page-break-inside: avoid; border-style:solid; border-collapse:collapse; }
    /*{ Buttonlar }*/
    .button {
    	font-family: "Trebuchet MS", Arial, Verdana, Helvetica, sans-serif;
    	font-size: 11px;
    	color: #fff;
    	background-image: url('images/buton.png');
    	height: 20px;
    	border: 1px solid #266faa;
    	margin-top: 2px;
    }
    /*{ Forum Stilleri }*/
    .forum_tablo_baslik { font-family: tahoma; font-size: 70%; color: #333333; }
    .forum_tablo_font { font-family:tahoma; font-size:11px; color:#000000; }
    .orta_tabloalt_font { font-family:tahoma; font-size:10px; color:#000000; }
    .forum_tablo_cevre { border-width:1px; border-style:solid; border-collapse:collapse; border-color:#999999; }
    .forum_form { font-family:verdana; font-size: 11px; background:#F5F5F5; border-width:1px; border-color:#999999; 
    page-break-inside: avoid; border-style:solid; border-collapse:collapse; }
    .alinti { font-family:verdana; font-size: 9px; color:#000000; background:#F5F5F5; border-width:1px; border-color:#999999; 
    page-break-inside: avoid; border-style:solid; border-collapse:collapse; }
    .forum_blok_font { font-family:tahoma; font-size:11px; color:#000000; }
    /*{ Güvenlik }*/
    .guvenlik_tablo_font { font-family:tahoma; font-size:11px; color:#000000; }
    /*{  bircok div kullanildigi icin sitede kaymalari engeleme amaci ile divdeki style kodunu temizler ki yeni style kodu gecerli olsun  }*/
    .divclear { clear:both; display:block; } 
    /*{ Hatalar }*/
    .loginhata { text-align:center; border:1px solid #999999; background-color:#FFFFFF; width:500px; font-family:tahoma; font-size:11px; color:#000000; }
    /*{ Linkler }*/
    a:link { text-decoration: none; color:#000000; }
    a:visited { text-decoration: none; color:#000000; }
    a:active { text-decoration: none; color:#FF0000; }
    a:hover { text-decoration: underline; color:#000000; }
    /*{ Copy yazisi & saat }*/
    .copyRtTxt { font-family: tahoma; font-size: 10px; color: #FFFFFF; }
    .copyRtTxt2 { font-family: tahoma; font-size: 10px; color: #FFFFFF; }
    .saat_font { font-family: tahoma; font-size: 10px; color: #FFFFFF; }
    /*{ Kutu yazi }*/
    .kutu_yazi { font-family:verdana; color:#000000; background:#F5F5F5; border-width:1px; border-color:#999999; 
    page-break-inside: avoid; border-style:solid; border-collapse:collapse; }
    /*{ toolbox ustmenu sitenin ustmenu toolbox bolumu cevresi }*/
    .toolbox { border:1px solid #999999; background-color:#BFBFBF; height:23px; font-family: tahoma; font-size: 70%; color: #333333; }
    /*{ Logo banner site Logo banner konumu }*/
    .logo { float:left; }/*{ Logo resmi kismi }*/
    .logobanner { float:inherit; text-align:center; } /*{ banner kismi }*/
    .ustmenucev { border:1px solid #999999; background-color:#BFBFBF; height:45px; }
    .ustmenu { float:left; border-right:1px solid #999999; text-align:center; width:81px; height:45px; font-family:tahoma; font-size:11px; color:#000000; background-color:#BFBFBF; }/*{ Blok kapat ac resmi kismi }*/
    .ustmenucev2 { border:1px solid #999999; background-color:#BFBFBF; height:23px; }
    .ustmenu2 { float:left; padding-top:3px; text-align:center; font-family:tahoma; font-size:11px; color:#000000; }/*{ Blok kapat ac resmi kismi }*/
    /*{ Bloklar sitenin sag sol Bloklari }*/
    .ust { border:1px solid #999999; background-color:#FFFFFF; width:155px; }/*{  Blok cercevesi}*/
    .ust2 { border-bottom-width:1px; border-bottom:1px solid #999999; background-color:#BFBFBF; width:155px; height:23px; }/*{  Blok ust kisim basligin oldugu yer}*/
    .usttext { text-align:center; padding-top:5px; float:left; width:139px; font-family:tahoma; font-size: 70%; color:#333333; } /*{  Blok tanimlayan yazi kismi }*/
    .ustimg { float:right; width:16px; }/*{ Blok kapat ac resmi kismi }*/
    /*{ anket }*/
    .anketim { width:70%; font-family:tahoma; font-size:11px; color:#000000; }
    .anket { float:left; padding:1px; width:35%; margin:0 0 0 0; border:1px solid #999999; text-align:right; font-family:tahoma; font-size:11px; color:#000000; }
    .anket2 {text-align:left; padding:1px; margin:0 0 +3px 0; border:1px solid #999999; font-family:tahoma; font-size:11px; color:#000000; }
    #anket2 { background-color:#F5F5F5; }
    /*Site Kapalı*/
    .kapali_aciklama { font-family: tahoma; font-size: 18px; color: #333333; font-weight: bold; }
    .kapali_font { font-family: tahoma; font-size: 70%; color: #333333; }
    .kapali_form { font-family:verdana; font-size: 11px; background:#F5F5F5; border-width:1px; border-color:#999999; 
    .kapali_y { font-family: tahoma; font-size: 70%; color: #333333; font-weight: bold; }
    .kapali_cevre { border-width:1px; border-style:solid; border-collapse:collapse; border-color:#999999; }
    /*Forum taplolari*/
    .tablo1 { background-color:#FFFFFF; }
    .tablo2 { background-color:#F5F5F5; }
    /*Burdan asagi uyelikteki formlarin aciklamalari */
    #hintbox{ /*CSS for pop up hint box */
    position:absolute;
    background-color: lightyellow;
    width: 600px; /*Default width of hint.*/ 
    padding: 3px;
    border:1px solid black;
    font:normal 11px Verdana;
    line-height:18px;
    z-index:100;
    border-right: 3px solid black;
    border-bottom: 3px solid black;
    visibility: hidden;
    }
    .hintanchor{ 
    font-weight: bold;
    /*color: navy;*/
    font-size:11px;
    }
  • 15-09-2009, 22:51:05
    #6
    Arkadaşlar yardım bekliyorum :S
  • 15-09-2009, 22:54:04
    #7
    Üyeliği durduruldu
    Alıntı
    table,tr,td,ul,li,form { margin:0; padding:0; }
    table{border-collapse:collapse;border-spacing:0;}

    bunu css dosyana ekleyip denermisin.
  • 15-09-2009, 23:47:25
    #8
    JustGo adlı üyeden alıntı: mesajı görüntüle
    bunu css dosyana ekleyip denermisin.
    olmadı ya :S
  • 16-09-2009, 00:21:51
    #9
    Üyeliği durduruldu
    O zaman o alanın height değeri ile oynama yap.Resimden tam olarak anlaşılmıyor site adresini falan yazsanda baksak?