Greenguy's Board


Go Back   Greenguy's Board > Blogs and Blogging
Register FAQ Calendar Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Search this Thread Rate Thread Display Modes
Old 2006-05-26, 01:41 PM   #1
Fonz
Former pr0n slinger.
 
Fonz's Avatar
 
Join Date: Aug 2003
Location: Antwerp, Belgium
Posts: 7,932
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
__________________
See how I abuse little trees on my Shumi no Bonsai Blog
Fonz is offline   Reply With Quote
Old 2006-05-26, 01:51 PM   #2
Simon
That which does not kill us, will try, try again.
 
Simon's Avatar
 
Join Date: Aug 2003
Location: Conch Republic
Posts: 5,150
Send a message via ICQ to Simon Send a message via AIM to Simon Send a message via Yahoo to Simon
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:

<div id="headerimg">
__________________
"If you're happy and you know it, think again." -- Guru Pitka
Simon is offline   Reply With Quote
Old 2006-05-26, 01:55 PM   #3
Fonz
Former pr0n slinger.
 
Fonz's Avatar
 
Join Date: Aug 2003
Location: Antwerp, Belgium
Posts: 7,932
I just tried setting it all to 0px but I didn't get anything closer to the top

Maybe when you use <div> there's an automatic break or so?
__________________
See how I abuse little trees on my Shumi no Bonsai Blog
Fonz is offline   Reply With Quote
Old 2006-05-26, 03:51 PM   #4
Simon
That which does not kill us, will try, try again.
 
Simon's Avatar
 
Join Date: Aug 2003
Location: Conch Republic
Posts: 5,150
Send a message via ICQ to Simon Send a message via AIM to Simon Send a message via Yahoo to Simon
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...

<div id="header">
<div id="headerimg">

Also, I think you want to comment out the line that says...

#headerimg { background: url('http://www.pornomagnet.com/wp-content/themes/magnet/images/personalheader.jpg') no-repeat top;}

Feel free to hit me on icq if you want.

Simon
__________________
"If you're happy and you know it, think again." -- Guru Pitka
Simon is offline   Reply With Quote
Old 2006-05-26, 04:31 PM   #5
Simon
That which does not kill us, will try, try again.
 
Simon's Avatar
 
Join Date: Aug 2003
Location: Conch Republic
Posts: 5,150
Send a message via ICQ to Simon Send a message via AIM to Simon Send a message via Yahoo to Simon
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
__________________
"If you're happy and you know it, think again." -- Guru Pitka
Simon is offline   Reply With Quote
Old 2006-05-27, 12:47 PM   #6
Fonz
Former pr0n slinger.
 
Fonz's Avatar
 
Join Date: Aug 2003
Location: Antwerp, Belgium
Posts: 7,932
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
__________________
See how I abuse little trees on my Shumi no Bonsai Blog
Fonz is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


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


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