?
Solved

add to img tag

Posted on 2011-03-01
4
Medium Priority
?
298 Views
Last Modified: 2012-05-11
in img tag
<img>

add
border-color:grey
border-width:30px

must be in img tag
no additional css
0
Comment
Question by:rgb192
  • 2
  • 2
4 Comments
 
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 />
0
 
LVL 1

Author Comment

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


and I still could not see a grey border
0
 
LVL 29

Accepted Solution

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

Author Closing Comment

by:rgb192
ID: 35012114
thanks
0

Featured Post

Learn to develop an Android App

Want to increase your earning potential in 2018? Pad your resume with app building experience. Learn how with this hands-on course.

Question has a verified solution.

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

CSS3 Custom checkboxes This article shows how to style the checkbox form element using only CSS. Works in: Chrome, FF, Safari, Opera, IE9+ Uses modernizr.js to check for :checked pseudo class, falling back to plain old checkboxes (IE8 and bel…
Creating a CSS block that only applies to printing By default, all of your CSS applies to every possible view of your page - whether on screen, printed, landscape, touch-screen, or whatever.  You can, however, add CSS that only applies under certai…
In this tutorial viewers will learn how add a full-size background image to a webpage using CSS3. Create a new HTML document with an internal stylesheet.: In CSS, define the html element to have a background image. Use a high resolution image.: In t…
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.
Suggested Courses
Course of the Month7 days, 6 hours left to enroll

593 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