HTML Logo by World Wide Web Consortium (www.w3.org). Click to learn more about our commitment to accessibility and standards.

Moving forward with Composr

ocPortal has been relaunched as Composr CMS, which is now in beta. ocPortal 9 will be superseded by Composr 10.

Head over to compo.sr for our new site, and to our migration roadmap. Existing ocPortal member accounts have been mirrored.


v8 - ocPortal - Image boarders

Login / Search

 [ Join | More ]
 Add topic 
Posted
Rating:
#84702 (In Topic #17462)
Avatar

Well-settled

Have borders around images

I want to have spacing between images and a border around them (because it's a dark theme)
Try as I might I just can't seem to get borders around my images (I got the margin figured out ;))

This is what I have done:
I added to the global.css so it now looks like this:

​​.attachment_img {
    max-width: 100%;
    margin: 10px;
    border: 1px solid #5D5D5D;
}

But this does not work….what am I doing wrong?

If anybody can point me in the right direction, that would be great (or I'll just keep pluging along until I have a break through O_o)

Also I noticed with the old version of Lightbox 2 it use to show the title of the image but it doesn't do that with the new version (unless I'm missing something)

BTW: Love v8 so much has gone into this…wow!)

Thanx
Gerald

Making games is fun…having people play them is the reward!
Back to the top
 
Posted
Item has a rating of 5 (Liked by BobSLiked by Jean)  
Rating:
#84703
Avatar

Community saint

padding

Take my advice. I'm not using it!

View my working ocPortal site (version 9.x.x) at Anglo-Indian Portal
Back to the top
 
Posted
Rating:
#84705
Avatar

Well-settled

Ok,
I think I have it now  :thumbs:
Thank you very much Fletch.

Making games is fun…having people play them is the reward!
Back to the top
 
Posted
Rating:
#84727
Avatar

Community saint

:thumbs:

Take my advice. I'm not using it!

View my working ocPortal site (version 9.x.x) at Anglo-Indian Portal
Back to the top
 
1 guests and 0 members have just viewed this: None
Control functions:

Quick reply   Contract

Your name:
Your message: