PDA

View Full Version : Help With Sidebars


Abronsyth
09-17-2011, 06:20 PM
Hi guys, well, here's my problem: I'm trying to alter my site's CSS, and I'd like to move the two side bars down (from the top) about 140 pixels, so that they don't interfere with the banner (728x140 px). However, I'm not finding the bit in the CSS to change this...and I have no clue as to other wise, anyone know how?

http://strangehori.x10.mx/index.php

AlexC
09-17-2011, 08:23 PM
you'll have to manually add that - it should just be something as simple as "top: 140px;" in whatever css area it was needed.

Abronsyth
09-18-2011, 06:55 AM
Okay, I tried adding padding-top:10px, but it didn't seem to work, so I'll try working on it a bit more.

Thanks!
Iris

AlexC
09-18-2011, 07:08 AM
no, not padding! Just top. That's it. Padding is something differently entirely. Padding is INSIDE the table or div that you're trying to move - Top will move the entire div or table down from the top of the page. I'll try and find an example.

.content {
position: absolute;
top:20px;
width:400px;
left: 310px;
height: 490px;

See? Just like that.

Abronsyth
09-18-2011, 07:31 AM
Don't worry, I figured it out :) I was being an idiot and forgetting the ; at the end. It's all good now!

AlexC
09-18-2011, 07:37 AM
alright, glad to have helped!