Page 1 of 1

I need code for a thin (html) line

Posted: Thu Jul 07, 2016 5:56 pm
by nirkedar
I would like to place thin lines as section breakpoints within my HTML frames/chat window that span the entire width of a <table>.
Does anyone know the html code to get this done?

Re: I need code for a thin (html) line

Posted: Thu Jul 07, 2016 6:47 pm
by Full Bleed
nirkedar wrote:I would like to place thin lines as section breakpoints within my HTML frames/chat window that span the entire width of a <table>.
Does anyone know the html code to get this done?
You can use underscores: _
Or overlines: ¯

Re: I need code for a thin (html) line

Posted: Thu Jul 07, 2016 7:16 pm
by aliasmask
There's a couple of ways. The easiest is to just use <HR>. You can also use tables and set the border thickness.

Re: I need code for a thin (html) line

Posted: Fri Jul 08, 2016 12:03 am
by nirkedar
Thanks. The <hr> worked but fine but is a bit to skinny for my liking.
You mentioned that table borders might do the trick. How do I display a table with just its top border? (HTML code please).

Re: I need code for a thin (html) line

Posted: Fri Jul 08, 2016 12:55 am
by aliasmask
There are many ways to do it, but this is one way:

Code: Select all

<table style="border-style:solid;border-width:10px 0px 0px 0px"><tr><td width=400 style="border-top:10px"> </td></tr></table>

Re: I need code for a thin (html) line

Posted: Fri Jul 08, 2016 1:56 am
by nirkedar
Nice. Just what the doctor ordered.

This code did the trick: <table width='100%' style='border-style:solid; color:#F5F5DC; border-width:2px 0px 0px 0px'></table>
Screen Shot 2016-07-08 at 08.52.00.png
Screen Shot 2016-07-08 at 08.52.00.png (5.17 KiB) Viewed 789 times