I need code for a thin (html) line

Thoughts, Help, Feature Requests, Bug Reports, Developing code for...

Moderators: dorpond, trevor, Azhrei

Forum rules
PLEASE don't post images of your entire desktop, attach entire campaign files when only a single file is needed, or generally act in some other anti-social behavior. :)
Post Reply
nirkedar
Cave Troll
Posts: 52
Joined: Tue Sep 21, 2010 3:13 pm

I need code for a thin (html) line

Post 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?

User avatar
Full Bleed
Demigod
Posts: 4736
Joined: Sun Feb 25, 2007 11:53 am
Location: FL

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

Post 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: ¯
Maptool is the Millennium Falcon of VTT's -- "She may not look like much, but she's got it where it counts."

User avatar
aliasmask
RPTools Team
Posts: 9029
Joined: Tue Nov 10, 2009 6:11 pm
Location: Bay Area

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

Post 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.

nirkedar
Cave Troll
Posts: 52
Joined: Tue Sep 21, 2010 3:13 pm

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

Post 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).

User avatar
aliasmask
RPTools Team
Posts: 9029
Joined: Tue Nov 10, 2009 6:11 pm
Location: Bay Area

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

Post 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>

nirkedar
Cave Troll
Posts: 52
Joined: Tue Sep 21, 2010 3:13 pm

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

Post 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 785 times

Post Reply

Return to “MapTool”