Centering JPlayer - Post ID 233422

User 2924428 Photo


Registered User
1,718 posts

Hey guys, i've been working this all morning long and can't find a solution..


IMG.displayed {
display: block;
margin-right: auto;
margin-left: auto;
}


^^ That code should center Jplayer correctly, right? it's not working ..
User 271657 Photo


Ambassador
3,816 posts

What does the HTML look like? Do you have a link? ;)
I love deadlines. I like the whooshing sound they make as they fly by. (Douglas Adams)
https://www.callendales.com
User 187934 Photo


Senior Advisor
20,271 posts

IMG.displayed {
display: block;
margin-right: auto;
margin-left: auto;
width:300px;// give it width.
}
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
User 2924428 Photo


Registered User
1,718 posts

Ok thanks once again Eric..

I'm going to polish my website soon, and go over everything i've laid out.. I kind of like it so far..
User 2924428 Photo


Registered User
1,718 posts

Eric, I removed jplayer from the website.. it WAS what I was looking for as a music player.. however, I can't troubleshoot code too well and couldn't get it to adjust to my website.

Too many errors are popping up and it's just not an option to keep it running anymore..


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.