Jump to content
  • 0

Как реализовать 3 колонки?


Zuma
 Share

Question

5 answers to this question

Recommended Posts

  • 0

можно чтото подумать на основе такого:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>

<style type="text/css">

* {margin:0; padding:0;}
body {min-width:1008px;}

div.case {position:relative}
div.left {position:absolute; width:50%; left:0; top:0; background:#fefefe;}
div.left div.data {padding-right:256px;}
div.right {position:absolute; width:50%; top:0; right:0; background:#fcfcfc;}
div.right div.data {padding-left:256px;}
div.center {width:512px; margin:0 auto; border:1px solid blue; position:relative;}

</style>

</head>

<body>

<!-- case -->
<div class="case">

<!-- left colum -->
<div class="left"><div class="data">
<p>Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged.</p>
</div></div>

<!-- right colum -->
<div class="right"><div class="data">
<p>Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged.</p>
</div></div>

<!-- center -->
<div class="center">
<p>It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout. The point of using Lorem Ipsum is that it has a more-or-less normal distribution of letters, as opposed to using 'Content here, content here', making it look like readable English. Many desktop publishing packages and web page editors now use Lorem Ipsum as their default model text, and a search for 'lorem ipsum' will uncover many web sites still in their infancy. Various versions have evolved over the years, sometimes by accident, sometimes on purpose (injected humour and the like).</p>
</div>

</div>

</body>
</html>

Link to comment
Share on other sites

  • 0

klierik, спасибо за хитрый код, но в эксплорере не работает, если подскажете как еще и с ие справиться, буду бесконечно благодарен :lol:. И, наверное, задачу чуть не верно сформулировал:

Делаю итальянский флаг, по центру - фиксированная область в которой будет контент.

Никак осилить не могу help me, plz! ))

Edited by Zuma
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. See more about our Guidelines and Privacy Policy