Forum Moderators: open

Message Too Old, No Replies

Inserting a checkmark in HTML

         

gldweb

9:58 pm on Jul 1, 2005 (gmt 0)

10+ Year Member



I am trying to insert a checkmark in a features table to identify the features that the particular product includes. I can use an 'X' or an image of a checkmark. Using an image would seem to add significantly to the file size.

Searching the Web I found a solution that recommended using <input type="checkbox" disabled cehcked>. To me that just does not seem to be a good usage of the tag.

Any suggestions or thoughts would be greatly appreciated.

Thanks

D_Blackwell

10:51 pm on Jul 1, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Using an image would seem to add significantly to the file size.

How big and fancy a checkmark all we talking about? For a small, fairly plain checkmark, 2kb would be more than enough, and presumably you'll be recycling the same image`as needed.

Philosopher

11:00 pm on Jul 1, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Exactly. As long as reach referenced checkmark pointed to the same image, it wouldn't matter if you had 1 or 100 checkmarks, the filesize would be the same.

tedster

11:46 pm on Jul 1, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I use a rather gracefully tapered checkmark image. It's a gif with 8 colors in the color table, and weighs in at 107 bytes. Not too much overhead on that!

[edited by: tedster at 2:22 am (utc) on July 2, 2005]

kaled

12:05 am on Jul 2, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



You might avoid images by using CSS but this needs a text char for the check mark. Marlett a and b are both ticks and r is a close-box cross. However, I'm not sure what machines other than Windows boxes have this font installed.

Kaled.

gldweb

12:32 am on Jul 2, 2005 (gmt 0)

10+ Year Member



Thanks for all the input, it's really appreciated. Of course, you are all right about reuse of the same image. I realized that shortly after I submitted the question. Need to refresh my brain once in a while.

Thanks again.