• 07-04-2013, 23:38:34
    #1
    merhabalar aşağıdakı style.css koduna background ımage ekleme kodunu eklememe ragmen resım gozukmuyor. orjinal kod;
    /* Let's default this puppy out
    -------------------------------------------------------------------------------*/
    
    html, body, body div, span, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, abbr, address, cite, code, del, dfn, em, img, ins, kbd, q, samp, small, strong, sub, sup, var, b, i, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, figure, footer, header, hgroup, menu, nav, section, time, mark, audio, video {
    	margin: 0;
    	padding: 0;
    	border: 0;
    	outline: 0;
    	font-size: 100%;
    	vertical-align: baseline;
    	background: transparent;
    }									
    
    article, aside, figure, footer, header, hgroup, nav, section {display: block;}
    
    /* Responsive images and other embedded objects
       Note: keeping IMG here will cause problems if you're using foreground images as sprites.
       If this default setting for images is causing issues, you might want to replace it with a .responsive class instead. */
    /*img,*/
    object,
    embed {max-width: 100%;}


    eklenen kod örnek;
    background: url(images/karisik.gif);
    son hali;

    * Let's default this puppy out
    -------------------------------------------------------------------------------*/
    
    html, body, body div, span, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, abbr, address, cite, code, del, dfn, em, img, ins, kbd, q, samp, small, strong, sub, sup, var, b, i, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, figure, footer, header, hgroup, menu, nav, section, time, mark, audio, video {
    	margin: 0;
    	padding: 0;
    	border: 0;
    	outline: 0;
    	font-size: 100%;
    	vertical-align: baseline;
    	background: url(images/karisik.gif);
    }									
    
    article, aside, figure, footer, header, hgroup, nav, section {display: block;}
    
    /* Responsive images and other embedded objects
       Note: keeping IMG here will cause problems if you're using foreground images as sprites.
       If this default setting for images is causing issues, you might want to replace it with a .responsive class instead. */
    /*img,*/
    object,
    embed {max-width: 100%;}
    ama ne yaparsam yapıyım resım gozukmuyor jpg gıf farketmez nedendır acaba? ama normal color kodu olarak gırdıgımde degısıor:s
  • 08-04-2013, 00:09:41
    #2
    css dosyası hangi klasörde, eğer örneğin style.css dosyası css yada herhangi bir klasörün içerisindeyse ve images klasörüde bu klasör ile aynı dizindeyse ../images/resim.jpg şeklinde deneyin. Resim yolunu doğru veremiyorsunuzdur.
  • 08-04-2013, 09:51:32
    #3
    EkolWeb adlı üyeden alıntı: mesajı görüntüle
    css dosyası hangi klasörde, eğer örneğin style.css dosyası css yada herhangi bir klasörün içerisindeyse ve images klasörüde bu klasör ile aynı dizindeyse ../images/resim.jpg şeklinde deneyin. Resim yolunu doğru veremiyorsunuzdur.
    style.css ana dizinde ancak bu kod CSS klasorunde html5-reset.css içerisinde.

    --R10.NET; Flood Engellendi -->-> Yeni yazılan mesaj 09:51:32 -->-> Daha önceki mesaj 09:45:56 --

    Css klasörü içerisindeki html5-reset.css dosyası
    https://hotfile.com/dl/202084747/745...reset.rar.html

    Ana dizindeki style.css dosyası ;
    https://hotfile.com/dl/202085036/0f699f7/style.rar.html
  • 08-04-2013, 17:48:05
    #4
    images klasörü bu css dosyasının içinde bulunduğu klasör ile aynı dizinde ise dediğim gibi;

    ../images/resim.jpg şeklinde deneyin olacaktır.