Skip navigation
Currently Being Moderated

Embed YouTube into Fluid Grid Layout

Aug 5, 2012 9:46 PM

Tags: #youtube #dreamweaver #cs6 #height #width #grid #fluid

I'm new to using the new DW Fluid Grid and I've got a layout with two div's side by side. On the Desktop Grid, I'll have one div take over 7 columns and the other 5. In that div, I want to embed a YouTube video but I'm not sure what the embed settings should be so the video can expand and contract like images do. How do I set that up?


This is what I'm using for my embed code:

<iframe src="" height: 100%; width="100%" frameborder="0" allowfullscreen></iframe>


Do I need to add a width and height? Or like images, should I use no heights or widths at all? Idea is to have it fit the entire div.


More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points