Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

amtjb

macrumors member
Original poster
Jan 5, 2011
46
0
Can someone tell me how to place YouTubes videos on the same line in a Wordpress blog?
 

960design

macrumors 68040
Apr 17, 2012
3,796
1,677
Destin, FL
That is a pretty vague statement and difficult to answer correctly, although we will certainly guess for you.
To "inline" something just change or add CSS properties within the WP editor. Most videos that are 'embedded' are added into an iFrame which is a block element. That means it takes up the whole width, even if it only takes up 100px actually, so everything added afterwards will drop below it. Like <h1> tags.

What you need to do is define a new css class and add that to the videos to inline them. But without knowing exactly how you are adding things, it is a complete guess for us.
 

amtjb

macrumors member
Original poster
Jan 5, 2011
46
0
That is a pretty vague statement and difficult to answer correctly, although we will certainly guess for you.
To "inline" something just change or add CSS properties within the WP editor. Most videos that are 'embedded' are added into an iFrame which is a block element. That means it takes up the whole width, even if it only takes up 100px actually, so everything added afterwards will drop below it. Like <h1> tags.

What you need to do is define a new css class and add that to the videos to inline them. But without knowing exactly how you are adding things, it is a complete guess for us.
Thanks for the info.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.