Est-il possible de mettre 3 div (ou span) côte à côte dans cette disposition
[5px] [100%] [5px]
chaque [] représentant un DIV/SPAN .
Voilà le code que j'ai pour l'instant:
Code :
- <html>
- <head>
- <style type="text/css">
- #1 {
- background: pink;
- width: 300px;
- height: 100px;
- }
- #2 {
- background: yellow;
- width: 50px;
- height: 20px;
- }
- #3 {
- background: green;
- width: 100%;
- height: 20px;
- }
- #4 {
- background: red;
- width: 50px;
- height: 20px;
- }
- </style>
- </head>
- <body>
- <div id="1"><span id=2></span><span id=3></span><span id=4></span></div>
- </body>
- </html>
|
Merci pour votre aide.
PlaTyPuS