Cascading Style Sheets

How to centre iframes within DIV and stop overflow

I have iframes which are appended by ajax, I want them to be centred on the screen side by side which I have got working but I also want them to start a new line centred again when they are bigger than the DIV width container.

Code below centres a number of iframes but they overflow the container. I tried overflow auto but this did not work

body{
width: 100%;
}
#viewRangerContainer{
border: solid;
position: absoulte;
display: flex;
justify-content: center;
align-items: center;

centred iframes within DIV need to make new line when beyond div width

I have iframes which are appended by ajax, I want them to be centred on the screen side by side which I have got working but I also want them to start a new line centred again when they are bigger than the DIV width container.

Code below centres a number of iframes but they overflow the container. I tried overflow auto but this did not work

<!DOCTYPE html>
<html>
  <head>
  <style>
    body{
      width: 100%;
    }
    #viewRangerContainer{
      border: solid;
      position: absoulte;
      display: flex;
      justify-content: center;
      align-items: center;

Change div position on youtube (screenshot included) (hard case)

Hi, could you please help me to move the div from one position to another? Screenshot:
https://cdn-images.imagevenue.com/5b/c8/bf/ME12U0GE_o.jpg
I can move the whole #meta but I need to move only ytd-video-meta-block

Positioning a popup

Hi, I am not a dev but I need to position a popup. I found what I need here: https://www.w3schools.com/css/css_positioning.asp I need the to position my popup as in the last link under section "position: absolute"...

div.relative {
position: relative;
width: 400px;
height: 200px;
border: 3px solid #73AD21;
}

div.absolute {
position: absolute;
top: 80px;
right: 0;
width: 200px;
height: 100px;
border: 3px solid #73AD21;
}

How could I create first websites

Wink I need some help on building websites. What is the idea of what website to build to get a job. Should I design from scratch or get to recreate a website. What else can I do to call the employers attention.

Syndicate content