0
私は、タイル5x2を使用してSharePointランディングページを作成しています。どのようにどのようなアイデアが起こることができますか?浮動小数点:左のブロックが期待通りに進まない
私が知っているのは、たくさんのことから、最高のコード化されたプロジェクトではありません!それはSharePointで必要です。
<div id="topLeft">
<!--CS: Start Web Part Zone Snippet-->
<!--SPM:<%@Register Tagprefix="WebPartPages" Namespace="Microsoft.SharePoint.WebPartPages" Assembly="Microsoft.SharePoint, Version=16.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c"%>-->
<div id="topLeftWebpart" xmlns:ie="ie">
<!--MS:<WebPartPages:WebPartZone runat="server" AllowPersonalization="false" ID="xae7ae0b76116430e84918de3195e8a9f" FrameType="TitleBarOnly" Orientation="Vertical">-->
<!--MS:<ZoneTemplate>-->
<!--DC: Replace this comment with default web parts for new pages. -->
<!--ME:</ZoneTemplate>-->
<!--ME:</WebPartPages:WebPartZone>-->
</div>
<!--CE: End Web Part Zone Snippet-->
</div>
CSS: .image-エリア左上には、画像のコンテナです。
#topLeft {
position:relative!important;
width:47.46%!important;
top: 30px;
left: 5%;
margin:0px;
float: left;
padding:0px;
display:inline-block;
max-width: 485.984px;
min-width: 450px;
}
#topLeftWebpart{
width:100%!important;
}
.image-area-left-top{
position:relative;
float:left;
width:20%!important;
height:auto!important;
}
.image-area-left-top .image{
width:75%;
height:75%;
margin-top: 12.5%;
margin-left: 12.5%;
margin-bottom: 12.5%;
margin-right: 12.5%;
画像/タイルの一部が高さがわずかに異なるため、いくつかのフロートが#3(Examen Commissie)と#6(Inleverbox)の右端に配置されている)。これらの時間/画像が他のタイルよりも1ピクセル高い場合でも、浮動小数点に影響します。これをテストするには、 '.image-area-left-top .image'に固定された高さを設定し、これが問題を修正するかどうか確認してください。 –
それが問題を解決しました。 .png画像は完全に正方形ではありませんでした – Tiboon