Image Borders - Post ID 234151
Hey guys, i'm having a problem with .img borders conflicting.. I tried to ID and class differently than ".img", but it's still boxing out the images I don't want it to.
http://www.offthewallattic.com
http://www.offthewallattic.com
What exactly are you trying to do Matt. Your being to vague.

I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.
This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
It's easy to overlook something you're not looking for.
This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
Matt, are you trying to put a border on just one or a few things, but not on everything? If so....
(If you use a re-set file, it probably specifies no borders)
Start with some CSS for your images over-all:
img {
styles: here;
border: none;
}
Then create a class (use a class instead of an ID in case you need it on more than one item) for images and/or DIVs with borders:
.withborders
styles: here;
border: 2px #000 solid;
}
<img class="withborders" src="your-image.jpg" >
You can also set rounded corners and/or shadows in your CSS under the border rule.
(If you use a re-set file, it probably specifies no borders)
Start with some CSS for your images over-all:
img {
styles: here;
border: none;
}
Then create a class (use a class instead of an ID in case you need it on more than one item) for images and/or DIVs with borders:
.withborders
styles: here;
border: 2px #000 solid;
}
<img class="withborders" src="your-image.jpg" >
You can also set rounded corners and/or shadows in your CSS under the border rule.
I love deadlines. I like the whooshing sound they make as they fly by. (Douglas Adams)
https://www.callendales.com
https://www.callendales.com
Ok i'll try it out using an ID, I think i've been missing some of the key points in my code
I'm going to check it out now and do some testing
I'm going to check it out now and do some testing
Try using a class first 
If you get it working the way you want, you can use it on any image or DIV, if you use an ID, it's only good for one element per page.
Let us know how it goes.

If you get it working the way you want, you can use it on any image or DIV, if you use an ID, it's only good for one element per page.
Let us know how it goes.
I love deadlines. I like the whooshing sound they make as they fly by. (Douglas Adams)
https://www.callendales.com
https://www.callendales.com
It's going good.. I got the borders fixed up, just need to work on some of my things I have for sale now.
Off-topic:
The large text box needs some padding-left.
The large text box needs some padding-left.
Ha en riktig god dag!
Inger, Norway
My work in progress:
Components for Site Designer and the HTML Editor: https://mock-up.coffeecup.com
Inger, Norway
My work in progress:
Components for Site Designer and the HTML Editor: https://mock-up.coffeecup.com
Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.