[Solved] How do I remove the grey separator lines?

Is message board greying out your hair (at least what's left of it)? Let us help you here
Locked
jag
Posts: 2
Joined: Mon Jun 03, 2013 5:30 pm

[Solved] How do I remove the grey separator lines?

Post by jag »

Script URL: http://www.secondbake.com/messageboardtest/mboard.php
Version of script: 1.3
Hosting company: godaddy
URL of phpinfo.php:
URL of session_test.php:
What terms did you try when SEARCHING for a solution: separator

Write your message below:
I just found this script yesterday, and am in the process of setting it up. I am wondering if there is a simple way to remove (or at least change the color of) the grey separator lines? My board (and website) has a black background which makes them look a little strange.

Any help would be greatly appreciated.
-Jag
Last edited by jag on Mon Jun 03, 2013 11:44 pm, edited 1 time in total.
Henrie
Posts: 1095
Joined: Sun Aug 14, 2005 8:57 pm

Re: How do I remove the grey separator lines?

Post by Henrie »

Hello Jag,

You can change the color and width of the horizontal line by editing the style.css file that is located in your mboard folder (in your case messageboardtest)

Find:

Code: Select all

HR {
	color: #B8CFE7;
	height: 1px;
}
and change the color and height to your wish. The color defines the border color. When you make the height big enough, you get a blank between the border. You can change this color by setting background-color:
for example

Code: Select all

HR {
	color: #FF0000;
	height: 10px;
	background-color: #00FF00;
}
gives you a horizontal line with a height of ten pixels, a red border and a green fill color.

By default the border is faceted with a color change to the different sides of the border. To get a solid mono colored border, set:

Code: Select all

HR {
	border: 1px solid #FF0000;
	height: 10px;
	background-color: #00FF00;
}
To hide the horizontal rule completely set:

Code: Select all

HR {
	display: none;
}

Greetings,
Henrie
I do not monitor the Gbook forums regularly anymore since I do not use the Gbook script myself anymore for a long time. But it helped me a lot in learning to understand php.
jag
Posts: 2
Joined: Mon Jun 03, 2013 5:30 pm

Re: How do I remove the grey separator lines?

Post by jag »

Thank you so much for your help, It works perfectly now!
Locked