Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

add to img tag

Posted on 2011-03-01
4
Medium Priority
?
296 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
 

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
 

Author Closing Comment

by:rgb192
ID: 35012114
thanks
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

This is a how to build your own CSS3 slideshow and when I say CSS3 I mean just CSS with no javascript in sight! There a few examples online of how to do this but most just show you an example without any explanation, others make it more complicat…
SASS allows you to treat your CSS code in a more OOP way. Let's have a look on how you can structure your code in order for it to be easily maintained and reused.
In this tutorial viewers will learn how to customize the background color and font color of highlighted text using the ::selection element in CSS Begin by defining the selected text as an element in CSS by typing "::selection": Style the ::selection…
In this tutorial viewers will learn how to style a corner ribbon overlay for an image using CSS Create a new class by typing ".Ribbon":  Define the class' "display:" as "inline-block": Define its "position:" as "relative": Define its "overflow:" as …
Suggested Courses

877 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