Greenguy's Board

Greenguy's Board (http://www.greenguysboard.com/board/index.php)
-   Blogs and Blogging (http://www.greenguysboard.com/board/forumdisplay.php?f=8)
-   -   Wordpress default theme code question (http://www.greenguysboard.com/board/showthread.php?t=31769)

Fonz 2006-05-26 01:41 PM

Wordpress default theme code question
 
I've started messing with the default theme of wordpress. I figured most of it out but whatever I try I can't seem to get the space on top of page away, I've tried putting topmargin=0 and margintop: 0 px in the stylesheets and regular html code but it just doesn't want to go away. Does anyone know how to do this?

example: www.pornomagnet.com

Thanx

Simon 2006-05-26 01:51 PM

I think it's because in the style there's this:

#headerimg { margin: 7px 9px 0; height: 192px; width: 740px; }

Then you have this at the top of the body:


Fonz 2006-05-26 01:55 PM

I just tried setting it all to 0px but I didn't get anything closer to the top :)

Maybe when you use
there's an automatic break or so?

Simon 2006-05-26 03:51 PM

Did you set the size on both the header and headerimg?

#header { margin: 0 !important; margin: 0 0 0 1px; padding: 1px; height: 206px; width: 750px; }
#headerimg { margin: 7px 9px 0; height: 192px; width: 740px; }

Because at the top of the Body there actually are two divs...


Simon 2006-05-26 04:31 PM

Update - I wasn't paying attention. The line with the personalheader.jpg image is already commented out.

But the fix you need is to change the height and width of both the #header and #headerimg

Fonz 2006-05-27 12:47 PM

Ok ,worked that problem out with Simon, thanx :)

Now I just got to figure out how to get that footer image ligned out so it shows good in all browsers :)


All times are GMT -4. The time now is 03:34 PM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
© Greenguy Marketing Inc