• 24-08-2014, 22:20:22
    #1
    merhaba tablo hüçresine bir arkaplan resmi koyduğumda tablo resimden geniş olduğu için resim tekrar ediyor.resmin tablolo göre genişlemesini nasıl sağlayabilirim
  • 24-08-2014, 23:43:37
    #2
    Selamlar,

    Bu işinizi görür mü http://jsfiddle.net/cR3H2/1/

    <table class="tableWithBackground" width="200px" height="200px" border="1">
        <tr>
            <td>
                <img class="tableBackground" src="http://goo.gl/AKPWq">
                Hello
            </td>
            <td>
                World
            </td>
        </tr>
        <tr>
            <td>How are<br><br><br><br><br>you?</td>
            <td>I am fine</td>
        </tr>
    </td>
    .tableWithBackground { position: relative; }
    .tableBackground {
        position: absolute;
        z-index: -1;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        height: 100%;
    }
  • 25-08-2014, 00:40:58
    #3
    <img ....>
    kullanmadan yapma şansımız yok mu hocam,olmazsa mecbur img ile yapacağım