Page 1 of 1

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

Posted: Mon Jun 03, 2013 6:03 pm
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

Re: How do I remove the grey separator lines?

Posted: Mon Jun 03, 2013 9:54 pm
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

Re: How do I remove the grey separator lines?

Posted: Mon Jun 03, 2013 11:43 pm
by jag
Thank you so much for your help, It works perfectly now!