Page 1 of 1
Header Margins
Posted: Sat Aug 08, 2015 6:26 am
by RebelCR
Version of script: 1.7
After scrolling throu' numerous pages & doing a search twice with two phrase variations, I can't find the answer.
And so, what I need to do is decrease the margin gap at the top of the page. Currently the gbook_header margin is at 0 auto with gbook_top_links margin-top at 335px.
The gbook_top_links margin-top at 335px are at the correct height, no matter what measurements I change, I cannot for the life me get my header image to sit
above the top links

Re: Header Margins
Posted: Sat Aug 08, 2015 9:09 am
by Klemen
Where exactly do you want the header image?
You could simply paste the header image code into header.txt which will place it at the very top of the page.
Re: Header Margins
Posted: Sat Aug 08, 2015 9:59 pm
by RebelCR
header is to go where it usuallly is and in the .css file, at the very top to the page (
http://www.rebelcr.com/gbook/gbook.php?a=sign)
Re: Header Margins
Posted: Mon Aug 10, 2015 7:21 am
by Klemen
You will need to provide a bit more details if you want us to be able to help you.
What did you try?
What was the result?
What exactly are you trying to do?
Please be as specific as possible, otherwise we can only guess how you want the end result to be.
Re: Header Margins
Posted: Sat Aug 29, 2015 9:42 am
by RebelCR
OK I have successfully edited both the style css & the overall header files to correct the top margin and now inclusive of my logo again, so therefore I have reduced the gap at the top of the page which was my original question.
I have also included in the overall header file the paragraph under my logo as links can't be added to a txt file (can they?) if I were edit the custom header txt file.
When first replying, originally when editing the overall header file, if I move my new paragraph above the top links where it would logically go, the new paragraph goes up to the very top of the screen with my logo underneath. If I increase the css top header margin, the whole of the header moves down the screen and so because I don't 'practice css/php coding regularly, I
WAS unable to move the top links down the screen to have them
sit under the new top paragraph under my logo where they originally were. (I would've attach a screenshot but I don't have that option available.)
However, the more I edit the code, the more I learn & my top links are where they should be
I had never once edited ANY of the corresponding files until now, namely because I was unable to view any of my guestbook for a time because a 'Malicious File Warning' error would block me. When I contacted the host server support, there was nothing they could do so I've changed host servers. However as a consequence of that Malicious File, my original guestbook formatting has been lost/altered, hence originally needing your help again.
Re: Header Margins
Posted: Sun Aug 30, 2015 7:42 am
by Henrie
It looks as if you have already solved your question?
Because the header looks the same as on your other pages?
If you have any more questions, feel free to ask.
Greetings,
Henrie
Re: Header Margins
Posted: Sun Aug 30, 2015 10:33 pm
by RebelCR
I have, but only temporarily, resolved my header issue Henrie.
Yes the header is the same on both the sign form and comments pages but because i only added several <br>s to the comment.php file, there are now extra spaces between each comment box. All comments left still stay on the same page because there's only five comments, but over time, there will be more comments left so ideally, i need to get rid of those spaces between the comment boxes - and leave the top links where they currently are.