2012-08-31 2 views
0

J'essaie d'aligner ces divs les uns à côté des autres, mais seuls les deux premiers divs sont alignés. Quelqu'un sait ce que je dois faire?divs allignment

<div id="user-tweets" style="float:left; width:25%; border:solid #FCF 1px; height:300px;"></div> 
    <div id="map_canvas" style="float:left; width:45%; border:solid #FCF 1px; height:400px"></div> 
    <div id="news-tweets" style"float:left; width:20%; border:solid #0056A3 5px; height:500px;"></div> 

Répondre

3

On dirait que vous manque un = sur le troisième point.

http://jsfiddle.net/dP9uK/

<div id="user-tweets" style="float:left; width:25%; border:solid #FCF 1px; height:300px;"></div> 
<div id="map_canvas" style="float:left; width:45%; border:solid #FCF 1px; height:400px"></div> 
<div id="news-tweets" style="float:left; width:20%; border:solid #0056A3 5px; height:500px;"></div>​ 
+0

hahaha.thanks homme :) n'ont pas remarqué que –

+0

@anjelos Non mate problème :) – Undefined

+0

Somtimes il est si facile :) +1 – HerrSerker

Questions connexes