Okey
I've made it like this
#cont
{
position:absolute;
top:20px;
min-width: 700px;
width:100%;
}
#data
{
float: right;
margin-right:40px;
max-width:300px;
margin-left: 700px;
}
<div id="cont">
<div id="data">
Some usefull stuff
</div>
</div>
And it works!
On 15 окт, 18:35, fl00r <[EMAIL PROTECTED]> wrote:
> Hi!
> I've got a div
> position:absolute;
> top:20px;
> right:20px;
> max-width: 250px;
> It is alwais in top right corner. So, while I am scaling my bowser
> window it moving with right border.
> The goal is to make stop changing its position when it gets left:750
> (x=750px in coordinates).
> Okey. I've made
> left-margin: 700px;
> And what I get? Div rescales while it can, and then begin to change
> position again.
> I understand, that it is because of right:20px, but I don't know how
> to put in top right corner another way
>
> Thx
--~--~---------~--~----~------------~-------~--~----~
--
You received this because you are subscribed to the "Design the Web with CSS"
at Google groups.
To post: [email protected]
To unsubscribe: [EMAIL PROTECTED]
-~----------~----~----~----~------~----~------~--~---