[ View Thread ] [ Post Response ] [ Return to Index ] [ Read Prev Msg ] [ Read Next Msg ]

BGonline.org Forums

Cubes from my match - Horizontal lines

Posted By: storm
Date: Saturday, 21 August 2010, at 11:11 a.m.

In Response To: Cubes from my match (Paul Weaver)

The html element corresponding to a horizontal line is the 'horizontal rule' having tag <hr>. You can style eg. the color, height and width of it using the style attribute. For example

<hr style="width:85%;color:green">

produces



Note that you follow the property name with a colon and then the value of the property. Seperating different property:value pairs is done using a semicolon. If you need several horizontal lines all having the same look in a post, you can improve your html-form and save some typing/copying by creating an inline stylesheet before your first horizontal line. If you add

<style type="text/css">
hr {width: 85%; color: green}
</style>

somewhere in the text of your post (together with styling info for other html elements you might want to style), you can simply put a <hr> wherever you want a line with the look specified in the inline style sheet. If you want really funky colours, you can specify the colour using the hexadecimal color codes, or use names like "DarkSalmon" or "LawnGreen", see colours.


Messages In This Thread

 

Post Response

Your Name:
Your E-Mail Address:
Subject:
Message:

If necessary, enter your password below:

Password:

 

 

[ View Thread ] [ Post Response ] [ Return to Index ] [ Read Prev Msg ] [ Read Next Msg ]

BGonline.org Forums is maintained by Stick with WebBBS 5.12.