Hello.
Generally stuck on the layout. I can not understand everything, how to do it like on the screen. What needs to be written in CSS?
Thank you in advance.
<table> <tr> <footer> </tr> <tr> <td> <selection1> </td> <td> <selection2> </td> <td> <selection3> </td> </tr> <tr> </tr> </table>
but you can not do using tables ???
So, it only became interesting how this could be implemented without tables.
<html> <head> <style type="text/css"> #footer { background: gray; width: 600px; margin: 20px auto; font-family: "Verdana"; text-align: center; font-size: 15px; color: #FFF; padding: 10px; font-weight: bold; } #footer div { float: left; } .section { text-align: left; width: 180px; margin: 10px 0px 10px 0px; padding: 10px; } .red { background: red; } .green { background: green; } .blue { background: blue; } </style> </head> <body> <div id="footer"> <footer> <div class="section red"> <section> <br /> • <h1> <br /> • <ul> </div> <div class="section green"> <section> <br /> • <h1> <br /> • <ul> </div> <div class="section blue"> <section> <br /> • <h1> <br /> • <p> </div> </div> </body> </html>
The tablet is easier right? I can not guarantee cross-browser compatibility, but I liked the opera :)
ZY almost according to the screen)
Use tables only to present tabular data. For marking it has long been a good practice to use block layout.
Source: https://ru.stackoverflow.com/questions/100676/
All Articles