[TYPO3-german] Re: Grid-Elements formatieren

Roland Hentschel roland.hentschel at t-online.de
Sun Mar 16 19:00:47 CET 2014


Hab's vielleicht doch selber hingekriegt :

<script type="text/javascript">
$(document).ready(function() {
  $(".INNER").each(function() { 
    $(this).css({
//      "height"  : $(this).height() - 20 + "px",
      "width"   : $(this).width()  - 20 + "px",
      "border"  : "10px solid transparent" 
    });
  });
})
</script>

Verstehe aber nicht, warum die Breite korrigiert werden muß, die Höhe aber nicht ?
Allerdings : der (Container-)Breite habe ich in meinem Layout einen fixen Wert zu gewiesen ?!?


More information about the TYPO3-german mailing list