• 31-05-2024, 14:04:30
    #1
    Arkadaşlar şu şekilde bir form paylaşıyorum.



    <iframe src="https://www.domain.com/?form=333" style="width:100%; [B]height:630px[/B]; overflow: hidden; border: none;" scrolling="no"></iframe>
    Yapılması istediğim iş yükseklik değer girmeden karşı site kodu eklediğinde hem masaüstü hem mobil otomatik ayarlayacak.







    <iframe src="https://www.domain.com/?form=333" style="width:100%; [B]height:630px[/B]; overflow: hidden; border: none;" scrolling="no"></iframe><script>ÖZEL GELİŞTİRME</script>


    Bu şekilde bu işi yapacak arkadaş arıyorum.
  • 31-05-2024, 14:15:38
    #2
    Hocma iframe kullanmanızı tavsiye etmem. Çok eski bir teknokoji.
  • 31-05-2024, 14:32:01
    #3
    <style>
        .responsive-iframe {
            position: relative;
            width: 100%;
            padding-top: 56.25%; /* 16:9 or 4:3 aspect ratio */
        }
    
        .responsive-iframe iframe {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
        }
    </style>
    
    <div class="responsive-iframe">
        <iframe src="https://www.domain.com/?form=333" style="border: none;" scrolling="no"></iframe>
    </div>
  • 31-05-2024, 14:36:39
    #4
    mebularts adlı üyeden alıntı: mesajı görüntüle
    <style>
        .responsive-iframe {
            position: relative;
            width: 100%;
            padding-top: 56.25%; /* 16:9 or 4:3 aspect ratio */
        }
    
        .responsive-iframe iframe {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
        }
    </style>
    
    <div class="responsive-iframe">
        <iframe src="https://www.domain.com/?form=333" style="border: none;" scrolling="no"></iframe>
    </div>
    Maalesef olmadı hocam
  • 31-05-2024, 15:33:51
    #5
    <iframe id="myIframe" src="https://www.domain.com/?form=333" style="width:100%; overflow: hidden; border: none;" scrolling="no" onload="this.style.height=this.contentWindow.document.body.scrollHeight + 'px'"></iframe>