Hi Ich entwickle MVC4-Anwendung. Ich habe ein Hauptteil darin, dass ich drei div Tags habe. Die ersten zwei Div-Tags werden gemäß meiner Anforderung korrekt angezeigt. Allerdings erscheint mein drittes Div-Tag in der Mitte. Ich will es in der linken unteren Seite. Ich habe alle Wege ausprobiert.Wie richtet man Div auf der rechten Seite aus?
<div id="dialog" class="doc-verification-outer">
<div id="data" style="width:70%;height:inherit;float:left" class="doc-verification"></div>
<div id="details" width="30%" style="float:right;height:50%; width:30%"></div>
<div id="dialog-form" title="Reject Reason">
<div style="height:200px;">
<input type="hidden" value="_upload_id" id="id" />
<br />
<label for="name">Select your reason</label>
<select id="comments">
<option value="1">Incorrect Document</option>
<option value="2">document is not clear</option>
<option value="3">document is not valid</option>
<option value="4">other document</option>
</select>
<input type="button" id="reject" class="btn btn-primary btn-cons blue" value="Ok" onclick="reject();" tabindex="-1" style="float:right;">
</div>
</div>
</div>
Kann mir jemand etwas dazu sagen? Vielen Dank ...
Entwarnung geben: sowohl CSS-Style-Eigenschaft auf dritte div. @Niranjan Godbole – Dhaarani
Erklären Sie klar Sie wollen links unten oder rechts unten –
Rechts unten. Clear: Beide funktionieren gut, aber es geht ganz nach links. Ich möchte es sofort unter Details div –