Web Hosting Talk







View Full Version : CSS text position problem


mouldy_punk
09-16-2006, 11:06 AM
This has stumped a few people, hopefully someone here will be able to help :)


Basically, on this (http://gtaisland.gtagaming.com/temp/site.html) webpage I've made, the "Posted by Me..." line is too high up. It should sit further down it's DIV, a bit closer to the bottom border. I can't get it to budge though. here's (http://gtaisland.gtagaming.com/temp/style2.css) the CSS. I've tried adjusting the top and bottom margins and top and bottom padding of div.main-bottom, the bottom margin of div.main-body. I've also tried tinkering with the line-height. Still can't get it to be in the right place though.


Any ideas?

maiahost
09-16-2006, 11:55 AM
I made it work by removing these : MARGIN-BOTTOM: 10px; and HEIGHT: 23px; from DIV.main-bottom - now it's at the bottom :) Hope this helps.

mouldy_punk
09-16-2006, 12:04 PM
Thanks alot, I managed to tweak it a bit with line-height :)