#header {
width: auto;
height: 200px;
background: silver;
margin: 20 30 0;
}
#logo img {
height: 160px;
margin: 16 20 0 15;
border: 4px double gray;
}
#title {
margin: -195 570;
font-family: Cooper;
text-decoration: underline;
}
#Picture {
width: 340px;
}
#firstimage img {
height: 250;
width: 340;
margin: 0 20 0 30;
}
#2ndpic img {
height: 25;
float: left;
width: 342;
}
<div id="header">
<div id="logo">
<img src="img.jpg" alt="Logo">
</div>
<div id="title">
<h1> Welcome To My Site :) </h2>
</div>
</div>
<Div id="picture">
<Div id="firstimage">
<img src="2nd.jpg" alt="banner">
</div>
<div id="2ndpic">
<img src="3rd.jpg" alt="2ndimg">
</div>
</div>
</div>
I am trying to show both images same size and align them left right in Picture . Help! these aint working, on <2ndpic> the styling isnt working, its not resizing by width height and is neither margin workin. Help! . By the way i am just learner if i have made any mistakes please point them out and tell me way to correct them, so i can fix them next time. thank you :) and i am learning from Youtube so you can understand.
` is closed with a ``. You are missing the trailing slash on your image tag `
`. And in your CSS you are missing a whole lot of the `px` or `em`, etc....
– GreyRoofPigeon Nov 16 '17 at 14:02