Closed (fixed)
Project:
MediaFront
Version:
6.x-1.0-beta4
Component:
User interface
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
20 Sep 2010 at 21:18 UTC
Updated:
10 Apr 2012 at 00:58 UTC
I'm trying to horizontally center the OSM player that is playing a CCK filefield upload.
I've tried
div#mediafront_openstandardmedia {text-align:center; }
which is not working.
What am I missing?
Comments
Comment #1
travist commentedYeah, it is HTML so you will need to use good-ol-fashion CSS to do this. What you did above only works for Flash widgets. I would just use margin-left until it looks center.
Comment #2
greygoo commentedHmm... I'm trying margin-left but I can't get anything to change.
Is
the correct css class to apply margin-left to?
Comment #3
greygoo commentedOk. So I got a little bit further this time by using padding-left instead of margin-left, in my theme's style.css:
which moves the player but not the background for some reason, like this:
http://img.skitch.com/20100921-kinas4672rs89fchu7jkr2a5bs.jpg
How do I also move the background (the one with this background image: ui-bg_loop_25_000000_21x21.png) along with the player?
Still, I can't believe that it's not possible to horizontally center the OSM Player. Padding-left is a less than ideal workaround and will make it harder to display consistently across different resolutions if you have a horizontally centered layout.
Comment #4
travist commentedWrap it in a DIV, and move the parent DIV.
Comment #5
enjoylife commented