Guten Tag,
Kann mir jemand erklären warum trotz gesetztem "clear:both;" das Elternelement <div id="ebaytemplate"> die Child-Elemente nicht umschließt, bzw. höhe 0px hat?
Ich bin grad am verzweifeln und noch nicht so geübt in floats.
HTML:
Kann mir jemand erklären warum trotz gesetztem "clear:both;" das Elternelement <div id="ebaytemplate"> die Child-Elemente nicht umschließt, bzw. höhe 0px hat?
Ich bin grad am verzweifeln und noch nicht so geübt in floats.
![?(](https://www.vb-paradise.de/wcf/images/smilies/confused.png)
![;(](https://www.vb-paradise.de/wcf/images/smilies/crying.png)
HTML:
HTML-Quellcode
- <div id="ebaytemplate">
- <link rel="stylesheet" type="text/css" href="http://bstrading.de/skin/frontend/rwd/bstrading/css/ebay.css">
- <link rel="stylesheet" href="http://fonts.googleapis.com/css?family=Raleway:300,400,500,700,600">
- <div id="content">
- <div class="boxheader">
- <div id="logo">
- <img src="http://bstrading.de/skin/frontend/rwd/bstrading/images/Logo.png" width="380" style="float:left;">
- </div>
- <div style="clear:both;"></div>
- <div id="menue">
- <div class="input-box">
- <form class="suchen" method="GET" action="http://stores.ebay.de/bstradingde" style="display:inline;">
- <input id="search" type="search" name="_nkw" value="" class="input-text required-entry" maxlength="128" placeholder="Den gesamten Shop durchsuchen..." autocomplete="off">
- <button type="submit" title="Suche" class="button search-button"><span><span>Suche</span></span></button>
- </form>
- </div>
- <div id="headerinfo">
- <a class="link_navigation_oben" href="http://my.ebay.de/ws/eBayISAPI.dll?AcceptSavedSeller&sellerid=bstradingde&ssPageName=STRK:MEFS:ADDSTR&rt=nc">Newsletter abonnieren</a>
- <a class="link_navigation_oben" href="http://my.ebay.de/ws/eBayISAPI.dll?AcceptSavedSeller&sellerid=bstradingde&ssPageName=STRK:MEFS:ADDSTR&rt=nc">Shop speichern</a>
- </div>
- </div>
- </div>
- <div id="middle">
- <div id="info">
- <div id="picture" >
- <div width="100%">
- #media_gallery[440,,,2,row,0,"",]#
- </div>
- </div>
- <div id="shortinfo">
- <div class="product-name">
- <span class="h1">#value[title]#</span>
- </div>
- <div class="short-description">
- <div><p>#short_description#</p></div>
- </div>
- <div class="delivery">
- <div style="float: left; margin: 5px; margin-top:10px;">
- <img src="http://bstrading.de/skin/frontend/rwd/bstrading/images/logistics2.png" alt="delivery" width="64" height="64" />
- </div>
- <div style="float: left; line-height:1; margin-top: 15px; margin-left: 10px;">
- <p><span style="font-size: 18px; line-height:1.5;"><b>Lieferung als Email</b></span></p>
- <p><span style="font-size: 16px; ">Die Lieferung erfolgt i.d.R. in wenigen Minuten!</span></p>
- <p><span style="font-size: 8px;">Wir behalten uns vor einzelne Bestellungen zur Prüfung zurückzuhalten.</span></p>
- </div>
- </div>
- <div id="pricebox">
- <span>#value[buy_it_now_price]#</span>
- <a href="http://offer.ebay.de/ws/eBayISAPI.dll?BinConfirm&item=291362230418" target="_top">Sofort kaufen</a>
- </div>
- </div>
- </div>
- <div id="description">
- #description#
- </div>
- </div>
- </div> <div style="clear:both;"></div>
- </div>
- <div style="clear:both;"></div>