Make DIV's stick on 1 place on your website, but move them when resizing the window.


okay that's long , weird question.

 

let me explain video.

 

https://www.youtube.com/watch?v=lugjrijyczc&feature=youtu.be

 

as can see twitter feed not in it's position, that's not point. stay in background container see on right, while still remaining in position. when center background image resizes see in video. if don't use background-position: center 0px; tag background doesn't stay in center...

 

how can fix this?

 

thank you!

 

daniël

<!doctype html>

<html>

<head>

<meta charset="utf-8">

<title>untitled document</title>

<style>

    * {

        margin:0;

        padding:0;

    }

    body {

        width: 90%;

        margin: auto;

    }

    .leftcol {

        margin-left: 25px;

        margin-right: 186px;

        min-height: 300px;

        background: #e4dede;

    }

    .rightcol {

        width: 250px;

        float: right;

        min-height: 300px;

        background: #a89a60;

    }

</style>

</head>

 

<body>

<div id="container">

    <div class="rightcol">

        contact me!

    </div>

    <div class="leftcol">

        left column

    </div>

</div>

</body>

</html>



More discussions in Dreamweaver support forum


adobe

Comments

Popular posts from this blog

Some mp4 files not displaying correctly (CS6)

Thread: Samba is not authenticating with LDAP