SPECIAL OFFER: Only $59 for access to everything in OSTraining for 1 year! You save $85!  1
Join today and get access to 1,000's of books and videos. Learn WordPress, Drupal, Magento, Joomla and more! Sign up today!

Css query

3 years 10 months ago #118010 by ahmedsiddiq
Css query was created by ahmedsiddiq
Hi

I have made two blocks using divs.

I want to move the "Hello how are you" block next to movies block.

What float command /code should I use to achieve that.

Orange arrow indicates the css of respective blocks , While blue arrow indicates , where I want to move the second block.



please guide.

regards
Ahmed

This message has an attachment image.
Please log in or register to see it.

Please Log in to join the conversation.

3 years 10 months ago #118013 by Valentin
Replied by Valentin on topic Css query
Hi Ahmed,

Use float:left for both:
#moviesid,
#trial {
	float: left;
}

Kind regards,
Valentín

Follow us on Twitter - twitter.com/OSTraining
Like us on Facebook - facebook.com/ostraining

Please Log in to join the conversation.

3 years 10 months ago #118014 by ahmedsiddiq
Replied by ahmedsiddiq on topic Css query
Thank you.

regards
Ahmed

Please Log in to join the conversation.

3 years 10 months ago #118015 by Valentin
Replied by Valentin on topic Css query
You're welcome, Ahmed!

Kind regards,
Valentín

Follow us on Twitter - twitter.com/OSTraining
Like us on Facebook - facebook.com/ostraining

Please Log in to join the conversation.

Join today and get access to 1,000's of books and videos. Learn WordPress, Drupal, Magento, Joomla and more! Sign up today!