Jump to content

Archived

This topic is now archived and is closed to further replies.

T-B0N3

A few questions

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.

Share this post


Link to post
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.

Share this post


Link to post
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.

Share this post


Link to post
Share on other sites
I've solved the scrollable content thingie ... that just leaves the gallery.

Share this post


Link to post
Share on other sites

×

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.