Improve company productivity with a Business Account.Sign Up

x
?
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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Introduction A frequently asked question goes something like this:  "I am running a long process in the background and I want to alert my client when the process finishes.  How can I send a message to the browser?"  Unfortunately, the short answer…
Building a website can seem like a daunting task to the uninitiated but it really only requires knowledge of two basic languages: HTML and CSS.
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…
The viewer will learn the benefit of using external CSS files and the relationship between class and ID selectors. Create your external css file by saving it as style.css then set up your style tags: (CODE) Reference the nav tag and set your prop…

580 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