MyBB Community Forums

Full Version: Make a line on a template
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello,

I tryed now a long time to make a white line in a template.
I have made a own Usergroup legend and I want to split a section with a white line, but the codes I found not working.

The line is showing up but if I set a color the line stays black, I tryed many codes but the line stil black and I want to have it white.

Someone can help me?
Try this:
<hr style="color:white" />
Though the dragonexpert's solution is quite right, but as global.css has already defined a hr class so I think the above solution might not work. You may do like this;
<hr style="color: #FFFFFF !important; background: #FFFFFF; width: 80%; height: 1px;">
I had tryed the code from dragonexpert already and not working so thats why I ask it on the forum here.
But the code from you Yaldaram works great!!! I had almost the same code but I had something forgotten to put in the code.

Thanks you code works great, for both I hit the reputation points Big Grin

Thanks!!