Align Player to the top left - not center

Oct 20, 2013

Is there an easy way to align the player to the top left instead of centering it?

13 Replies
Paul Wolstencroft

Did anyone ever find an answer to this please?  It's driving me mad.  My customers use Moodle, Chamilo and Dokeos LMS systems and in each of these the finished Presneter/Storyline output appears in the middle of the page.  I can't mess around with their LMS systems so looking for a way to make Presenter/Storyline appear TOP LEFT in these LMSs and in iFrames.

Paul Wolstencroft

Hi Ashley/Brian,

It was a case of asking before testing.  Sorry.  I just got around to testing this in Storyline and Brian's solution worked!  Many thanks.  I'll have some happy clients at last.  Can I suggest that this would be a good feature/option for the future as some of the LMS systems that previously offered a fixed-width option are now returning to fluid layouts as they provide more responsive templates.

Klaas Groen

If I understand this problem correctly, my answer was to edit the file 'story.html' in notepad. Somewhere near the end of the file there are the following lines:

{
 document.write("<table border=0 cellpadding=0 cellspacing=0 width='100%' height='100%' align=center>");
 document.write("<tr>");
 document.write("<td align=center>");
}

Change the last section into "<td align=left valign=top>" and you're done.

James Addoms

The thread's a bit old, but I thought I'd chime in with an additional piece of the solution that worked for me. I adapted Brian's excellent suggestion above to try to make my content center-top aligned by leaving out the "left:0px!important;" piece. I ended up with a gap between absolute top and my content. 

Adding a negative value to the top alignment and removing the 1px border solved the problem: 

.framewrap
{
    background:#ccc;
    background: #fff;
    position:absolute;
    border-radius:10px;
    border:solid 0px #000;
    top:-10px!important;
                
}

See also: https://community.articulate.com/discussions/articulate-storyline/storyline-player-padding

Thanks for all the help!

-Jim

This discussion is closed. You can start a new discussion or contact Articulate Support.