I have an image gallery that utilizes a gallery tool that the web administrator can easily add or delete photos on the site. They browse and upload photos and they appear as thumbails on the site that have a larger view when you hover over the thumbnail.
So, I wanted to put a frame/border around the picture and maybe some other styles to spice it up a bit.
I started with thisinside the img tag
style=" border-color: 1F1D5B;"
Is there a pre-existing border around that image? Because if it is not, then you just told what color that border should be. You need to specify its width and style as well, e.g. [tt]border: 1px solid #1F1D5B;[/tt]. Incidentally, you need to prepend a hash character to your colour values.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.