![]() |
От: |
c-smile
|
http://terrainformatica.com |
Дата: | 07.05.04 03:53 | ||
Оценка: | +1 -2 |
Lets say we have three blocks placed inline with widths 25%%, 100px and
75%%:
|<--25%%-->|<--fixed:100px-->|<------75%%------>|
Actual first and third block widths will be calculated from
ContainerContentWidth-100px weighted by their percentable values.
Other example — how to place div content in the center of browser view
horizontally and verticaly:
<body>
<div style=margin:50%%>Hey! I am in the center</div>
</body>