hnhh
hnhh

Reputation: 81

Force container to stay in exact positions

I am trying to make it so the container on this page http://s72956.gridserver.com/dev/toggle.html# will always stay at a certain width no matter how you resize the page is there any easy way of doing this.

Upvotes: 0

Views: 94

Answers (1)

Chetan S
Chetan S

Reputation: 23803

If you specify a width of a block element explicitly, it will stay at that width.

<div style="width:300px">
   ...
</div>

Will remain 300 pixels wide not matter what. You might however want to specify the width in css rather an inline like I did here.

Upvotes: 1

Related Questions