• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Problem with CSS

president vankk

Web Developer & AuraOT Owner
Joined
Jul 10, 2009
Messages
5,719
Solutions
9
Reaction score
339
Hello, I'm having a problem with CSS what I don't know how to fix.

Atm this is the code that I'm using.
Code:
#side-bar  { position: relative; padding-top:0px; padding-left: 880px; }

This is what looks like
TERQV5e5G.png


I tryed use top:-1000px; and only work for the latestnews, and not to others pages. I tryed use padding-top:-1000px; but didn't work, etc. Any ideas how to fix this css? To put it up without get problems with other pages?

Thanks.
 
If it's interfering with other stuff and it's not related to anything, you could always set it to an absolute position like so:
Code:
#side-bar { position: absolute; top: 200px; left: 50px; }
 
Thanks all, I fixed using this:
Code:
position: absolute; top: 70px; margin-left: 920px;

but now I got a simple question, the position is absolute, peoples with low monitor resolution will get problems? To see all website?

Thanks.
 
I see where you're coming from, but since the object is relative, there's a big chance that the rest of the site moves with it and you're back at square one

So change it to absolute as above. xd

It should work fine, change your resolution on your pc and test it
 
Thanks all, I fixed using this:
Code:
position: absolute; top: 70px; margin-left: 920px;

but now I got a simple question, the position is absolute, peoples with low monitor resolution will get problems? To see all website?

Thanks.
Yeah probably, if i were you i would try using percentage instead of pixels if it fits with the rest of your configuration like such;
Code:
margin-left: 20%;
 
Back
Top