add to img tag

Posted on 2011-03-01
Last Modified: 2012-05-11
in img tag


must be in img tag
no additional css
Question by:rgb192
  • 2
  • 2
LVL 29

Expert Comment

by:Paul Jackson
ID: 35011575
Is this what you want?
<img id="myImage" src="imagelocation"  style="border-color:grey;border-width:30px />

Author Comment

ID: 35011718
 <img id="myImage" src="imagelocation"  style="border-color:grey;border-width:300px;" />

and I still could not see a grey border
LVL 29

Accepted Solution

Paul Jackson earned 255 total points
ID: 35011781
try :
<img id="myImage" src="imagelocation"  style="border:30px solid grey;" />

Author Closing Comment

ID: 35012114

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
HTML and CSS for a complex page 20 62
increase words that display in widget 6 59
CSS Position not returning 2 48
How to change pointer icon to hand icon on mouseover 2 19
Unordered lists (HTML ul tags) are very handy to create menus of all types, shapes and sizes.  All it takes is a little knowledge of CSS and the possibilities are endless. First off, you should know the general format for menus created using the …
This article describes how to create custom column layout styles for Bootstrap. The article uses 5 columns to illustrate the concept, but the principle can be extended to any number of columns.
In this tutorial viewers will learn how to position items using CSS's three positioning types Create a new HTML document with an internal stylesheet.: Create another div in CSS and name it Absolute : Type "position:absolute;" and "top:10px; left:50p…
In this tutorial viewers will learn how to position overlapping items using z-index in CSS. They will also learn the restrictions on the z-index property.  Create a new HTML document with an internal stylesheet.: Create a div in CSS and name it Red.…

867 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now