This is Interesting: Free Magazines for Graphics designers and webmasters  


Home > Archive > Stylesheets > January 2007 > Highlighting image button





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Highlighting image button
russiandevil@gmail.com

2007-01-27, 11:02 pm

hi,

Does anyone have an idea on how I'd go about highlighting (with a
border, or something equally effective) a input button of type 'image'
(i.e. <input type=image alt=Login src=http://<etc, path to image file>
Login)

For most of the other element, applying a style such as
"background-color: red; border-color: red; border-width: thick" seems
to be sufficient, however for image buttons (especially those that have
"border=0" as a part of their HTML definition) this seems to be rather
ineffective.

I'm writing an application that parses the HTML page, produces a table
of the discovered HTML elements, and when end-user selects a row in the
table, I want to visually highlight the chosen element... and ran into
the issue with image buttons.

Any suggestions would be welcome,

regards,
Greg

(I previously posted this under authoring.HTML but have been told that
its not the most appropriate place for it so I figured I'd post it here
too)

Alex

2007-01-27, 11:02 pm

You have to specify border-style

Sponsored Links


Copyright 2003 - 2008 forum4designers.com  Software forum  Computer Hardware reviews