Register for your free account! | Forgot your password?

Go Back   elitepvpers > Coders Den > Web Development
You last visited: Today at 20:28

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



Responsive Bild

Discussion on Responsive Bild within the Web Development forum part of the Coders Den category.

Reply
 
Old   #1
 
Seraphius's Avatar
 
elite*gold: 0
Join Date: Jun 2010
Posts: 340
Received Thanks: 44
Exclamation Responsive Bild

Guten Tag miteinander

Ich benötige eure fachkräftige Unterstützung.
Über Google habe ich keine passende Lösung erhalten :/

Die Situation sieht so aus:
  • Bild mit 100% Breite
  • Automatische Höhe
  • Content soll sich der Höhe des Bildes anpassen (also wenn die Höhe des Bildes kleiner wird, soll der Content nach oben "rutchen"

Die Strukturierung bis jetzt:
HTML Code:
<div id="cycle-wrapper">
    <div id="cycle">
        <img></img>
    </div>
</div>
Der CSS-Code:
#cycle-wrapper {
position: relative;
max-width: 100%;
}

#cycle {
width: 100%;
height: inherit;
}

#cycle img,
#cycle div {
max-width: 100%;
height: auto;
}


Die Website:

Wie Ihr seht, skaliert, das Bild in der Breite, da dies aber nicht proportional geschieht (höhe skaliert nicht mit), wird das Bild zusammengedrückt.

Ich hoffe, jemand von euch kann mir dabei helfen, dies zu beheben
Seraphius is offline  
Old 04/09/2014, 16:53   #2
 
kissein's Avatar
 
elite*gold: 0
Join Date: Sep 2005
Posts: 426
Received Thanks: 87
Code:
#cycle{
position: relative;
width: 1382px;
height: auto !important;
padding-bottom: 50px;
}

<div id="cycle-wrapper">
    <div id="cycle">
        <div  style="display:block"><img></div> //erste bild
        <div  style="display:none"><img></div> //folge bilder

    </div>
</div>
kissein is offline  
Reply

Tags
bild, proportional, responsive, skalieren, webdesign


Similar Threads Similar Threads
Help Neuz Not Responsive On Win 7 :(
07/27/2013 - Flyff Private Server - 6 Replies
How can i fix this problem Neuz.exe Is having some trouble on windows 7 64 and 32 bit :( Here Is A Screen Shot Screenshot by Lightshot Is there a way to fix it on source code??
GTA 4 | First Responsive Mod Problem,
04/02/2012 - Grand Theft Auto - 1 Replies
Topic. Ich hab den Mod installiert, jetzt startet mein GTA nicht mehr. Es kommen Fehlermeldungen http://img32.imageshack.us/img32/9669/121212m.th. png http://img263.imageshack.us/img263/516/12121b.th. png Kann man den Mod wieder deinstallieren, oder muss ich GTA neuinstallieren >.<
[Help] Non-Responsive Client
05/25/2011 - Shaiya Private Server - 3 Replies
I was honestly trying to avoid bothering anyone, however Im at a loss. Im running into an error when running my client. I can connect just fine, but after I select my character and hit game start the client refuses to load. Ive pulled my latest ps_game log file and found the error: error exp over usern=reality,charn=Nero-L, level=70,exp=330854049,exppn=330854049 this error causes the disconnect however, that seems a bit impractical. From what i see here, its stating that the DB exp for...
[MiniRelease] Responsive Register page
09/17/2010 - CO2 PServer Guides & Releases - 8 Replies
Hey guys, this is pretty much my first small-ish release ever. I have noticed on many private server websites that there are links that say "Click HERE to register" and it is just a link to a reg page hosted off of their host. But when you click it, it usually sits there unresponsive because their computer is off. So. <?php $ip = "Your IP Here. No http://"; $port = "80"; if (! $sock = @fsockopen($ip, $port, $num, $error, 2)) echo "<font color='red'>The host computer is off. Please try...
Responsive Action Trainer (CoF+AB)
02/09/2010 - Planetside - 1 Replies
Check out this trainer will be kept up to date for a long while to come. Visit the site for more information and to download. Website under review



All times are GMT +2. The time now is 20:28.


Powered by vBulletin®
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2024 elitepvpers All Rights Reserved.