Unable to center object within thickbox with embedded media field
mach5_kel - September 22, 2009 - 07:39
| Project: | Thickbox |
| Version: | 6.x-1.5 |
| Component: | Code |
| Category: | support request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Jump to:
Description
I am having trouble center the object (video/ image) within thickbox. As it appears now, it sit to the left hand side.
Looking at the CSS called by thickbox via firebug, im sure the solution must be here, however I have failed to figure it out.
My site is currently here: http://www.infertilityvancouver.com/drupal/
Thickbox is used for the thumbnails (in the footer region) to load an embedded media field (CCK) video via views. All the modules are up to date.
Any suggestions? Is this a unique issue to my site, or is this the standard for thickbox?
Thank you.

#1
The Thickbox window has a minimum width of 350 pixels but otherwise the window should be the same size as the content plus margins.
I see on you page that the Thickbox window gets set to 600 px, I assume that is done by the emfield module at some stage.
You can try to add this code to your themes CSS file.
#TB_ajaxContent {text-align: center;
}