Jump to content

Recommended Posts

The thing is ... I have ...3 big problems ... which need to be sorted and I am in your hands right now.
1st... I have this guestbook [a href=\"http://www.e21114.monline.dk/guestbook/pbguestbook.php\" target=\"_blank\"]http://www.e21114.monline.dk/guestbook/pbguestbook.php[/a]
the first thing I would like is to center the form on the black background so that it will not tile/repeat again.
2nd ... when you post a message the following code interferes



echo("Your message has been added, click <a href='?option=view'>here</a> to return.");



This and some other messages appear echoed in black ... and on my black background ... well ... they just are invisible. Anyway to fix this ?
3rd. and most ugly thing
I have this gallery
[a href=\"http://www.e21114.monline.dk/two/\" target=\"_blank\"]http://www.e21114.monline.dk/two/[/a]
How can I make this gallery smaller ... like ... half size of what it is now?

Am I asking for too much ? In case anybody needs I can send you guys the actual files so you can see how they are structured.
Thank you all for taking the time to read and reply.
Link to comment
https://forums.phpfreaks.com/topic/10884-a-few-questions/
Share on other sites

How is this to do with PHP?

But any way. The reason why your text appears invisible is becuase you dont specify a font color. If no font color is stated then the browser will use a defualt color which black.

To set a defualt color for your page you use the following css:
[code]body {
    color: #FFFFFF;
}[/code]
#FFFFFF is the hex value for white.

Also you should use css to add the background image to your page with the following css in your body selector:
[code]body {
    color: #FFFFFF;
    background-color: #000000;
    background-image: url(frame_800x600.jpg);
    background-repeat: no-repeat;
    background-position: center;
}[/code]

When you apply the css above you might find that your text in your table that shows the comment may disappear. To solve this you use the following css to tell the browser to use black as the color for the text inside a table:
[code]table {
    color: #000000;
}[/code]

And you're done!!

That should solve your first question.
Link to comment
https://forums.phpfreaks.com/topic/10884-a-few-questions/#findComment-40649
Share on other sites

Thank you very much for your reply wildteen88, and sorry for the mistake in putting the thread in the wrong place. I did what you said and everything looks allright, apart from the fact that when you enter multiple messages the frame becomes too small and the table goes out from it. - could I make it with a scrollable content ?
I don't assume you have any ideea for the gallery as well ?
Thanks for the quick reply.
Link to comment
https://forums.phpfreaks.com/topic/10884-a-few-questions/#findComment-40776
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.