T-B0N3 Posted May 31, 2006 Share Posted May 31, 2006 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 interferesecho("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 thingI 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. Quote Link to comment https://forums.phpfreaks.com/topic/10884-a-few-questions/ Share on other sites More sharing options...
wildteen88 Posted May 31, 2006 Share Posted May 31, 2006 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. Quote Link to comment https://forums.phpfreaks.com/topic/10884-a-few-questions/#findComment-40649 Share on other sites More sharing options...
T-B0N3 Posted June 1, 2006 Author Share Posted June 1, 2006 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. Quote Link to comment https://forums.phpfreaks.com/topic/10884-a-few-questions/#findComment-40776 Share on other sites More sharing options...
T-B0N3 Posted June 1, 2006 Author Share Posted June 1, 2006 I've solved the scrollable content thingie ... that just leaves the gallery. Quote Link to comment https://forums.phpfreaks.com/topic/10884-a-few-questions/#findComment-40786 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.