Hello friends, i have a website and i will like to create border around every image in the site, am aware i can use CSS but i dont know how to go about it. kindly tell me how to code it and apply it.
regards
i want all the images in my webpages to have border
Moderator: General Moderators
- John Cartwright
- Site Admin
- Posts: 11470
- Joined: Tue Dec 23, 2003 2:10 am
- Location: Toronto
- Contact:
Re: i want all the images in my webpages to have border
Yes, using CSS this can be accomplished easily. Place this in the <head></head> of your html document.
Code: Select all
<style>
img {
border: 1px solid #000;
}
</style>