0

I have a number of divs that I'm trying to layout. The current layout is perfect, see this fiddle.

Essentially I have a video player, represented by "Video player here". Beside it I have some tips and resources. Under the video player I have a table with buttons. Click a button to see what happens.

The info message triggered through jquery .css() should be under the video player and between the video player and table.

I'm sure I'm just missing something in the .css() but can't find the right combination to lay this out. Thanks in advance.

2
  • Ahem ... you are not doing any CSS positioning ... so why do you expect the box to have a certain position on screen? What about position: absolute or clear:both or similar? Commented Sep 19, 2012 at 13:39
  • @devnull69 I was, but removed it. I tried float: left like one of the answers but that doesn't work. But clear: left does. Commented Sep 19, 2012 at 13:58

2 Answers 2

2

Just add to your css:

#quote {
 clear:left;   
}

​That will make it show up under the video message.

Sign up to request clarification or add additional context in comments.

Comments

0

Add style for #quote in css

#quote
{
float: left;
}

or in JS,

$('#quote').css('float','left');

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.