Line Seperator?

  • 1
  • Question
  • Updated 9 years ago
  • Answered
How do I manage to get a light grey line to seperate my text within a text box and also have it centred?
Photo of Craig

Craig

  • 449 Posts
  • 11 Reply Likes

Posted 9 years ago

  • 1
Photo of UK Duke

UK Duke, Champion

  • 3321 Posts
  • 213 Reply Likes
Hi Craig, how are you?

You could use a div styled something like this.
<!--

<div style="width: 100px; height: 1px; background-color: #CCCCCC;"></div>

-->

You could find the perfect grey color you want to use and change the width accordingly.

Or you could find an image and use that as a break.

Lee.
Photo of UK Duke

UK Duke, Champion

  • 3321 Posts
  • 213 Reply Likes
<!--

to center it use this code:

<center>
<div style="width: 100px; height: 1px; background-color: #CCCCCC;"></div>
</center>

-->
Photo of Craig

Craig

  • 449 Posts
  • 11 Reply Likes
Hey Duke nice to hear from you not seen you on here in a while!

Thanks I will give that a go just trying to make my site a bit more pro looking!!