Thursday, January 8, 2009

Striking Out an Item on a Sidebar List - Reprise

Lately several people asked me how to do this. I posted the instructions back in October, but due to the newly asked questions I think this is worth posting again.

I've received quite a few comments asking me how to "cross out" an item in a sidebar list - the way I've done in my HSY's list. I've replied to those people whose email address is available, but often I have no way to contact the person making the comment. So, without further ado, here is how it is done. At least the way I do it - there may be other ways but I have no idea what they are.

Since I created my sidebar lists when I was still using the old version of blogger, they are all written in HTML. The strike out command is also done in HTML language. It looks like this:

49. <>PINS Churn Dash Exchange < /s ><>DONE!< /strong>

In the above example there is supposed to be a letter "s" inside the first set of brackets. I've tried to correct this several times, and every time I save it the "s" disappears.

The <> is placed directly before the first word you are crossing out, and the < /s > is placed directly after the last word you are crossing out. The second command is very important - if you forget it then everything after will be crossed out.

Important note: In my examples above and below I had to put a space before and after the command in the brackets in order for the command to remain in a form that allows you to see the HTML. When you type it there are NO spaces inside the two brackets.

You may also notice these two commands above: <> and < /strong >. This is what changes the font to BOLD. I don't know very much HTML, but have fun using the small amount I do know.

Note: the word "strong" should be between the first set of brackets in the second HTML command. Like the "s", it keeps disappearing.

If your sidebar list is created using the "List Gadget" instead of the "HTML Gadget" then I have no idea how to strike through items on the list.

5 comments:

Kim W said...

Can I tell you again how much I love that quilt! I am so glad you put it on the top of your blog.
Kim

Ila K. said...

According to my digit-head son, the list widget does not allow the code for strike-through or for bullet listing. In case someone asks.

I would agree that your quilt in the header sould be the favorite!

SusanB said...
This comment has been removed by the author.
SusanB said...

As an HTML semi-geek, I can tell you that the < and > characters have special meaning and if you want to display them in what you write, you need to type &lt; for the <. For >, type &gt;.

There are a number of special character codes that start with an ampersand (&) and end with a semicolon (;). There is a list at http://webdesign.about.com/od/localization/l/blhtmlcodes-ascii.htm.

Rachael said...

Thank you for solving my HTML problem!