{"id":387,"date":"2010-06-24T09:45:45","date_gmt":"2010-06-24T09:45:45","guid":{"rendered":"http:\/\/www.erbugkaya.com\/?p=387"},"modified":"2014-01-16T23:51:54","modified_gmt":"2014-01-16T23:51:54","slug":"css-ile-hazirlanan-sitede-firefox-probleminin-cozulmesi-ve-site-bakimi","status":"publish","type":"post","link":"http:\/\/erbugkaya.com\/?p=387","title":{"rendered":"CSS ile Haz\u0131rlanan Sitede Firefox Probleminin \u00c7\u00f6z\u00fclmesi ve Site Bak\u0131m\u0131."},"content":{"rendered":"<p><em>30\/4\/2007<\/em><br \/>\nTable kullanmadan, DIV ve CSS ile site haz\u0131rlamak ba\u015fl\u0131kl\u0131 makalemde haz\u0131rlad\u0131\u011f\u0131m\u0131z siteyi hi\u00e7 firefox&#8217;da kontrol ettiniz mi? Etti\u011finizde g\u00f6receksiniz ki, site tamamen da\u011f\u0131lm\u0131\u015f durumda. Bu makalede CSS ile haz\u0131rlanm\u0131\u015f bir sitede Firefox sorunlar\u0131n\u0131 d\u00fczeltmeyi ve site bak\u0131m\u0131n\u0131 anlataca\u011f\u0131m.<\/p>\n<p><!--more--><br \/>\n<a href=\"http:\/\/www.yazgelistir.com\/Makaleler\/Resimler\/1000001296_01.jpg\"><img loading=\"lazy\" decoding=\"async\" alt=\"\" src=\"http:\/\/www.yazgelistir.com\/Makaleler\/Resimler\/1000001296_01.jpg\" width=\"390\" height=\"473\" \/><\/a><\/p>\n<p>G\u00f6rd\u00fc\u011f\u00fcn\u00fcz gibi i\u00e7eri\u011fin sa\u011f taraf\u0131 sol taraf\u0131n \u00fcst\u00fcne binmi\u015f. \u015eimdi onu do\u011fru yerine \u00e7ekelim. dummy.css&#8217;i a\u00e7\u0131yoruz. Hatal\u0131 g\u00f6r\u00fcnen sa\u011f taraf\u00a0 &#8220;#rightContainer&#8221; ile ba\u011fl\u0131yd\u0131.<\/p>\n<div>#mainContainer{<br \/>\nbackground-image:url(&#8216;images\/containerBack.jpg&#8217;);<br \/>\nbackground-repeat:repeat-y;<br \/>\nwidth:968px;<br \/>\nmargin-left:auto;<br \/>\nmargin-right:auto;<br \/>\npadding-bottom:20px;<br \/>\n}<br \/>\n#leftContainer{<br \/>\nposition:relative;<br \/>\nwidth:306px;<br \/>\nmargin-left:10px;<br \/>\nleft:0px;<br \/>\ntop:10px;<br \/>\nfloat:left;<br \/>\n}<br \/>\n#rightContainer{<br \/>\nposition:relative;<br \/>\nwidth:609px;<br \/>\nleft:30px;<br \/>\ntop:10px;<br \/>\n}<\/div>\n<p>G\u00f6rece\u011finiz gibi #rightContainer&#8217;a float belirtmeyi unutmu\u015fum. Hemen ekleyelim.<\/p>\n<div>#rightContainer{<br \/>\nposition:relative;<br \/>\nwidth:609px;<br \/>\nleft:30px;<br \/>\ntop:10px;<br \/>\nfloat:left;<br \/>\n}<\/div>\n<p>Sonu\u00e7.<\/p>\n<p><a href=\"http:\/\/www.yazgelistir.com\/Makaleler\/Resimler\/1000001296_02.jpg\"><img loading=\"lazy\" decoding=\"async\" alt=\"\" src=\"http:\/\/www.yazgelistir.com\/Makaleler\/Resimler\/1000001296_02.jpg\" width=\"360\" height=\"374\" \/><\/a><\/p>\n<p>G\u00f6rd\u00fc\u011f\u00fcn\u00fcz gibi i\u00e7erik alan\u0131 yerini ald\u0131 ama hala sorunlar var. \u0130lk \u00f6nce gallery b\u00f6l\u00fcm\u00fcn\u00fc d\u00fczeltelim. Gallery CSS&#8217;lerinde g\u00f6receksiniz ki, #thumbBackRight&#8217;da yine float&#8217;\u0131 unutmu\u015fum hemen ekleyelim.<\/p>\n<div>#thumbBack{<br \/>\nbackground-image:url(&#8216;images\/thumbBack.jpg&#8217;);<br \/>\nbackground-repeat:no-repeat;<br \/>\nwidth:142px;<br \/>\nheight:109px;<br \/>\nleft:2px;<br \/>\nfloat:left;<br \/>\npadding:6px 0 0 6px;<br \/>\n}<br \/>\n#thumbBackRight{<br \/>\nbackground-image:url(&#8216;images\/thumbBack.jpg&#8217;);<br \/>\nbackground-repeat:no-repeat;<br \/>\nposition:relative;<br \/>\nwidth:142px;<br \/>\nheight:109px;<br \/>\nleft:15px;<br \/>\npadding:6px 0 0 6px;<br \/>\nfloat:left;<br \/>\n}<\/div>\n<p>Sonu\u00e7.<\/p>\n<p><a href=\"http:\/\/www.yazgelistir.com\/Makaleler\/Resimler\/1000001296_03.jpg\"><img loading=\"lazy\" decoding=\"async\" alt=\"\" src=\"http:\/\/www.yazgelistir.com\/Makaleler\/Resimler\/1000001296_03.jpg\" width=\"360\" height=\"355\" \/><\/a><\/p>\n<p>Galley b\u00f6l\u00fcm\u00fc halloldu ama hala sorunlar var. Devam edelim. \u0130\u00e7erik alan\u0131 Welcome ba\u015fl\u0131\u011f\u0131n\u0131n \u00fczerine \u00e7\u0131k\u0131yor bunu d\u00fczeltelim.K\u0131rm\u0131z\u0131 ile yaz\u0131l\u0131 olanlar yeni ekledi\u011fimiz sitiller.<\/p>\n<p><span style=\"color: #339966;\">\u0130PUCU: Firefox ve Internet Explorer aras\u0131nda sitil sorunlar\u0131 ya\u015f\u0131yorsan\u0131z. Bir sitili iki kere yazabilirsiniz. Bunlardan IE i\u00e7in olan\u0131n ba\u015f\u0131na &#8220;_&#8221; koyarsan\u0131z, bu sitili sadece IE okur. &#8220;_&#8221; olmayan ise Firefox i\u00e7indir.<\/span><\/p>\n<div>.boxTop{<br \/>\nbackground-image:url(&#8216;images\/box\/boxTop.jpg&#8217;);<br \/>\nbackground-repeat:no-repeat;<br \/>\nwidth:603px;<br \/>\nheight:4px;<br \/>\n_margin-bottom:-11px;<br \/>\nmargin-top:5px;<br \/>\n_margin-top:0px;<br \/>\n}<\/div>\n<p>Sonu\u00e7.<\/p>\n<p><a href=\"http:\/\/www.yazgelistir.com\/Makaleler\/Resimler\/1000001296_04.jpg\"><img loading=\"lazy\" decoding=\"async\" alt=\"\" src=\"http:\/\/www.yazgelistir.com\/Makaleler\/Resimler\/1000001296_04.jpg\" width=\"360\" height=\"358\" \/><\/a><\/p>\n<p>Evet iyi gidiyoruz ama hala sorunlar\u0131m\u0131z var. mainContainer DIV&#8217;i i\u00e7eri\u011fi i\u00e7inde tutacak \u015fekilde uzam\u0131\u015f g\u00f6z\u00fckm\u00fcyor.\u00a0 Bu firefox&#8217;un CSS ile verilmi\u015f backgorundlarda genel bir sorunu. Elbette bununda \u00e7\u00f6z\u00fcm\u00fc var. \u015eu \u015fekilde \u00e7\u00f6z\u00fcyoruz. \u0130lk \u00f6nce attaki CSS kural\u0131n\u0131 CSS dosyam\u0131za ekliyoruz.<\/p>\n<div>.clear {<br \/>\nclear: both;<br \/>\nheight: 1px;<br \/>\nfont-size: 1px;<br \/>\nline-height: 1px;<br \/>\nmargin-bottom: -1px;<br \/>\n}<\/div>\n<p>Ard\u0131ndan master page&#8217;imizde (dummy.master) mainContainer DIV&#8217;inin i\u00e7ine ve sonuna alttaki gibi bir DIV ekliyoruz.<\/p>\n<div>&lt;div id=&#8221;rightContainer&#8221;&gt;<br \/>\n&lt;asp:ContentPlaceHolder id=&#8221;ContentPlaceHolder1&#8243; runat=&#8221;server&#8221;&gt;&lt;\/asp:ContentPlaceHolder&gt;<br \/>\n&lt;\/div&gt;<br \/>\n&lt;div&gt;&lt;!&#8211; &#8211;&gt;&lt;\/div&gt;<br \/>\n&lt;\/div&gt;<\/p>\n<p>&lt;div id=&#8221;footerLine&#8221;&gt;&lt;\/div&gt;<\/p>\n<\/div>\n<p>Sonu\u00e7.<\/p>\n<p><a href=\"http:\/\/www.yazgelistir.com\/Makaleler\/Resimler\/1000001296_05.jpg\"><img loading=\"lazy\" decoding=\"async\" alt=\"\" src=\"http:\/\/www.yazgelistir.com\/Makaleler\/Resimler\/1000001296_05.jpg\" width=\"360\" height=\"377\" \/><\/a><\/p>\n<p>Evet bu sorunu da halletti\u011fimize g\u00f6re \u015fimdi i\u00e7erik alanlar\u0131ndaki sorunlara bakabiliriz. \u00d6nce yaz\u0131lar\u0131n soldan ta\u015fmas\u0131 sorunu.Firefox LABEL tag\u0131nda sorun \u00e7\u0131kar\u0131yor ama \u00e7\u00f6z\u00fcm\u00fcm\u00fcz yine CSS&#8217;de. Alttaki gibi bir CSS ekliyoruz.<\/p>\n<div>.label{<br \/>\ndisplay:table;<br \/>\n}<\/div>\n<p>Ve yaz\u0131lar\u0131 tuttan labellar\u0131 bu css ile ba\u011fliyoruz.<\/p>\n<div>&lt;asp:Label runat=&#8221;server&#8221; Text=&#8221;Label&#8221; id=&#8221;Label3&#8243; Width=&#8221;470px&#8221; CssClass=&#8221;label&#8221;&gt;<br \/>\nLorem ipsum &#8230;<br \/>\n&lt;\/asp:Label&gt;<\/div>\n<p>Sonu\u00e7.<\/p>\n<p><a href=\"http:\/\/www.yazgelistir.com\/Makaleler\/Resimler\/1000001296_06.jpg\"><img loading=\"lazy\" decoding=\"async\" alt=\"\" src=\"http:\/\/www.yazgelistir.com\/Makaleler\/Resimler\/1000001296_06.jpg\" width=\"360\" height=\"369\" \/><\/a><\/p>\n<p>Bu sorunu da halletti\u011fimize g\u00f6re \u015fimdi The Day kutusundaki g\u00f6r\u00fcn\u00fcmle ilgilenebiliriz. The Day kutusunda birinci imaj ile ba\u015fl\u0131k, ikinci imaj ile kutu alt\u0131 i\u00e7 i\u00e7e girmi\u015f durumda. \u0130lk \u00f6nce theDayHeader kural\u0131na ekleme yap\u0131yoruz.<\/p>\n<div>#theDayHeader{<br \/>\nbackground-image:url(&#8216;images\/headerTheDay.jpg&#8217;);<br \/>\nbackground-repeat:no-repeat;<br \/>\nwidth:60px;<br \/>\nheight:10px;<br \/>\nmargin-bottom:6px;<br \/>\n}<\/div>\n<p>Ard\u0131ndan The Day&#8217;i i\u00e7inde tutan boxMiddle DIV&#8217;ine yine clear DIV&#8217;i ekliyoruz.<\/p>\n<div>&lt;div&gt;<br \/>\n&lt;div id=&#8221;theDayHeader&#8221;&gt;&lt;\/div&gt;&lt;asp:Image runat=&#8221;server&#8221; id=&#8221;Image1&#8243; ImageUrl=&#8221;images\/theDayResimler\/1000001296_01.jpg&#8221; CssClass=&#8221;theDayImage&#8221;&gt;&lt;\/asp:Image&gt;<br \/>\n&lt;asp:Label runat=&#8221;server&#8221; Text=&#8221;Label&#8221; id=&#8221;Label2&#8243; Width=&#8221;470px&#8221; CssClass=&#8221;label&#8221;&gt;<br \/>\nLorem ipsum&#8230;<br \/>\n&lt;\/asp:Label&gt;<br \/>\n&lt;br\/&gt;<br \/>\n&lt;br\/&gt;<br \/>\n&lt;asp:Image runat=&#8221;server&#8221; id=&#8221;Image2&#8243; ImageUrl=&#8221;images\/theDayResimler\/1000001296_02.jpg&#8221; CssClass=&#8221;theDayImage&#8221;&gt;&lt;\/asp:Image&gt;<br \/>\n&lt;asp:Label runat=&#8221;server&#8221; Text=&#8221;Label&#8221; id=&#8221;Label3&#8243; Width=&#8221;470px&#8221; CssClass=&#8221;label&#8221;&gt;<br \/>\nLorem ipsum&#8230;<br \/>\n&lt;\/asp:Label&gt;<br \/>\n&lt;div&gt;&lt;!&#8211; &#8211;&gt;&lt;\/div&gt;<br \/>\n&lt;\/div&gt;<\/p>\n<\/div>\n<p>Sonu\u00e7.<\/p>\n<p><a href=\"http:\/\/www.yazgelistir.com\/Makaleler\/Resimler\/1000001296_07.jpg\"><img loading=\"lazy\" decoding=\"async\" alt=\"\" src=\"http:\/\/www.yazgelistir.com\/Makaleler\/Resimler\/1000001296_07.jpg\" width=\"360\" height=\"370\" \/><\/a><\/p>\n<p>B\u00f6ylece sitemiz art\u0131k Firefox&#8217;da da sorunsuz \u00e7al\u0131\u015f\u0131yor. G\u00f6rd\u00fc\u011f\u00fcn\u00fcz gibi CSS ile haz\u0131rlanm\u0131\u015f bir siteye m\u00fcdahale etmek \u00e7ok kolay.<\/p>\n<p>Te\u015fekk\u00fcrler<\/p>\n<p>\u0130yi \u00e7al\u0131\u015fmalar<\/p>\n","protected":false},"excerpt":{"rendered":"<p>30\/4\/2007 Table kullanmadan, DIV ve CSS ile site haz\u0131rlamak ba\u015fl\u0131kl\u0131 makalemde haz\u0131rlad\u0131\u011f\u0131m\u0131z siteyi hi\u00e7 firefox&#8217;da kontrol ettiniz mi? Etti\u011finizde g\u00f6receksiniz ki, site tamamen da\u011f\u0131lm\u0131\u015f durumda. Bu makalede CSS ile haz\u0131rlanm\u0131\u015f bir sitede Firefox sorunlar\u0131n\u0131 d\u00fczeltmeyi ve site bak\u0131m\u0131n\u0131 anlataca\u011f\u0131m.<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[11],"tags":[29],"class_list":["post-387","post","type-post","status-publish","format-standard","hentry","category-teknik-yazi","tag-expression-web"],"_links":{"self":[{"href":"http:\/\/erbugkaya.com\/index.php?rest_route=\/wp\/v2\/posts\/387","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/erbugkaya.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/erbugkaya.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/erbugkaya.com\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/erbugkaya.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=387"}],"version-history":[{"count":5,"href":"http:\/\/erbugkaya.com\/index.php?rest_route=\/wp\/v2\/posts\/387\/revisions"}],"predecessor-version":[{"id":390,"href":"http:\/\/erbugkaya.com\/index.php?rest_route=\/wp\/v2\/posts\/387\/revisions\/390"}],"wp:attachment":[{"href":"http:\/\/erbugkaya.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=387"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/erbugkaya.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=387"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/erbugkaya.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=387"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}