Click to See Complete Forum and Search --> : Top and Bottom in IE


Daan2596
06-02-2006, 03:22 PM
Hello, i have a question.

When i specify top and bottom or left and right in IE, it only uses the top and left rule.
Is there any way to change that?

CSS Code

.text {position:absolute; top:120; bottom:0; left:140; right:0; overflow:auto;}

in the div is some text

Sorry, i forgot:
In Firefox it works fine

dthurman1432
06-02-2006, 04:12 PM
If you have top and left there is really no need for right and bottom. If you want it farther right then just add more px to left. It's that simple

WebJoel
06-02-2006, 04:15 PM
Without a "width:x;" statement where x is a percent, or de~facto pixel amount, it won't work as you expect. Try giving the DIV a width.