add spacing between div elements - html

I would like to add spacing between these div elements.
How can I do that?
<div style="clear: left;">
<p class="image"><img src="https://blog.proven.com/wp-content/uploads/zipsqaure.jpg" height="200" width="200" border="1px"></p>
<p class="rating"><strong><font size="4">Proven Rating: <font color="#0077b3">★★★★★</font></font></strong></p>
<p class="description">ZipRecruiter allows employers to post jobs within minutes and reach over 200 million active job seekers. </p>
</div>
<div style="clear: left;">
<p class="image"><img src="https://blog.proven.com/wp-content/uploads/snag-1.png" height="200" width="200" border="1px"></p>
<p class="rating"><strong><font size="4">Proven Rating: <font color="#0077b3">★★★★★</font></font></strong></p>
<p class="description">Snagajob allows employers to reach over 80 million job seekers through their job board. It was founded in 1999 and continues to be one of the top job boards today, hosting one of the largest hourly employee networks on the web.</p>
</div>

Define a margin for each element or
use Something like this to set it to all elements within a div
div *{
margin:10px;
}

Related

Why my width-100% not working before 900px

When I am working on responsive then width 100% is not working, when I shrink my website. This problem is in my main section which is available after header section
my github repo
This is my HTML code
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="style.css">
<link rel="stylesheet" href="common.css">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Bitter:wght#300;400&display=swap" rel="stylesheet">
<title>Document</title>
</head>
<body>
<header>
<nav>
<div>
<img src="images/yuewr.png" alt="" srcset="">
</div>
<div>
<ul>
<li>Home</li>
<li>About us</li>
<li>Structure</li>
<li>Impact</li>
<li>Contact us</li>
<li><button>ENROLL NOW <img src="images/arrow-right-up.svg"/> </button></li>
</ul>
</div>
</nav>
</header>
<main>
<div class="first_section">
<div class="first_section_ka_image_div">
<img src="images/Frame-1.webp" alt="" srcset="" class="rotate">
</div>
<div class="first_section_ka_upper_div">
<h5>GO FROM <span class="text_gradient_color">ZERO TO PRO</span> IN JUST 3 MONTHS</h5>
<h1>THE BEST PLACEMENT FRIENDLY VIDEO EDITING COHORT MONEY CAN BUY.</h1>
<div><button>WATCH FREE WEBINAR <img src="images/arrow-right-up.svg"/></button></div>
<p class="text_gradient_color_white">*Applications for cohort-3 are open</p>
</div>
<div class="first_section-ka_opacity_div"></div>
</div>
<div class="second_section">
<div class="second_section_ka_upper_opacity_div"></div>
<div class="second_section_ka_middel_div">
<h5><span class="text_gradient_color">SEE WHO’S HIRING VIDEO EDITORS</span></h5>
<h1 class="font_w_s_c_t">OK, BUT WHERE’S THE DEMAND?</h1>
<div class="second_section_ka_middel_div_ka_img_section">
<img src="images/Vector-4.svg" alt="" srcset="">
<img src="images/Group-7.svg" alt="" srcset="">
<img src="images/Group-8.svg" alt="" srcset="">
<img src="images/Vector-2.svg" alt="" srcset="">
<img src="images/Vector-3.svg" alt="" srcset="">
<img src="images/Fill-1.svg" alt="" srcset="">
<img src="images/Group-2.svg" alt="" srcset="">
<img src="images/Group-1.svg" alt="" srcset="">
<img src="images/Group-3.svg" alt="" srcset="">
<img src="images/Vector-1.svg" alt="" srcset="">
<img src="images/gngm.png" alt="" srcset="">
<img src="images/Layer-6.png" alt="" srcset="">
<img src="images/Layer-5.png" alt="" srcset="">
</div>
</div>
<div class="second_section_ka_lower_opacity_div">
</div>
<p class="text_gradient_color_white">& almost all the top companies around the globe are looking for visual storytellers</p>
</div>
<div class="third_section">
<div class="third_section_ka_first_div">
<p><span class="text_gradient_color">ALL YOUR FAVES NEED A VIDEO EDITOR</span></p>
<h1 class="font_w_s_c_t">WANT TO WORK WITH TOP CREATORS?</h1>
</div>
<div class="third_section_ka_second_div">
<div class="third_section_ka_second_div_ka_img">
<div>
<img src="images/sharan.jpeg" alt="" srcset="">
<h4>Finance with Sharan</h4>
<h6>1.5M<br>
FOLLOWERS</h6>
</div>
<div>
<img src="images/trja.png" alt="" srcset="">
<h4>Mo Vlogs</h4>
<h6>11.2M<br>
FOLLOWERS</h6>
</div>
<div>
<img src="images/techburner.jpeg" alt="" srcset="">
<h4>Tech Burner</h4>
<h6>10M<br>
FOLLOWERS</h6>
</div>
<div>
<img src="images/shashank.jpeg" alt="" srcset="">
<h4>Shashank Udupa</h4>
<h6>162K<br>
FOLLOWERS</h6>
</div>
<div>
<img src="images/nas.jpeg" alt="" srcset="">
<h4>Nas Daily</h4>
<h6>10.7M<br>
FOLLOWERS</h6>
</div>
<div>
<img src="images/ab.jpeg" alt="" srcset="">
<h4>Abhi and Niyu</h4>
<h6>3.6M<br>
FOLLOWERS</h6>
</div>
</div>
<div class="third_section_ka_second_div_ka_p">
<p><em><span class="text_gradient_color_white"> Students from the past cohort are already working with some of these creators and many more creators are hiring from the next cohort.</em>
</span></p>
</div>
</div>
</div>
<div class="forth_section">
<div class="forth_section_first_div">
<h5><span class="text_gradient_color">CHANGING LIVES ONE VIDEO AT A TIME</span></h5>
<h1 class="font_w_s_c_t">THE IMPACT WE'VE CREATED</h1>
</div>
<div class="forth_section_second_div">
<div class="forth_section_second_div_ka_first_div">
<h5>A 3.2 Cr Impact on GDI</h5>
<p>We are creating a huge impact on India’s GDI - Gross domestic income. Students from Cohort-1 are earning a total sum of 3.2 Crore in salaries annually.</p>
</div>
<div class="forth_section_second_div_ka_second_div">
<h5>Massive 3000% ROI</h5>
<p>Cohort has almost 30x Return on Investment. Students have been placed with CTCs up to 10L Per annum with an average salary of 50,000 Per month.</p>
</div>
<div class="forth_section_second_div_ka_third_div">
<h5>High Placement Rates</h5>
<p>71% students who opted for placements from Cohort-1 got jobs with some of the biggest Indian creators. For Cohort-2 the expected placement rate is 86%</p>
</div>
</div>
</div>
<div class="fifth_section">
<div class="fifth_section_first_div">
<h5><span class="text_gradient_color">STUDENT TRANSFORMATION STORY</span></h5>
<h1 class="font_w_s_c_t">HERE'S WHAT OUR STUDENTS HAVE TO SAY</h1>
</div>
<div class="fifth_section_second_div">
<div>
<video src="video/1.mp4" controls></video>
</div>
<div>
<video src="video/2.mp4" controls></video>
</div>
<div>
<video src="video/3.mp4" controls></video>
</div>
</div>
</div>
<div class="sixth_section">
<div class="sixth_section_first_div">
<h5><span class="text_gradient_color">STUDENT TESTIMONIALS</span></h5>
<h1 class="font_w_s_c_t">READ SOME MORE STORIES</h1>
</div>
<div class="sixth_section_second_div">
<div class="sixth_section_second_div_ka_first_content">
<div>
<h5>Sumanyu Sood - Cohort 1</h5>
<p>Hello, Ocus Before I joined the cohort, I was into UX/UI design. Many of my friends were getting good gigs doing video editing. So, I always used to wonder how I can also get some good gigs. I had some experience with video editing before, but joining the cohort actually made me to sit down and devote time to the video editing. Ask any member of the cohort, The two classes that Martin took for sound design were the best. All three mentors were really helpful, from taking lectures to clearing up doubts in zoom chats. The remedial classes were organized for the beginners to cope up with the softwares, really appreciate that. By the end of the cohort, I'm capable enough to edit different types of videos and I feel I'm applying lot of stuff I learned while designing into video editing I received several placement offers, and Ocus assisted me in sorting out all my queries regarding the placements with a quick personal call. The networks I was able to create through the community are also absolutely priceless, and I'm so happy that Aevy and the team organized this cohort to inspire this community to learn together and form wonderful relationships. I just want to thank you Ocus, Martin and Varun and everyone from the aevy team to make this cohort possible.</p>
</div>
<div>
<h5>Dileep Reddy - Cohort 2</h5>
<p>I had the privilege of joining the Cohort and I can say with certainty that it has been a game-changer for me. The network I've gained access to, which includes India's top editors, content creators, and freelancers, has been invaluable. My life took a turn for the better when I was offered an internship at Aevy, made possible through the mentorship of great leaders like Varun Mayya, Kuntur Sir papa ocus, and Martin. Their guidance continues to shape my present and future. This investment has been life-changing and I highly recommend it to anyone looking to take their career to the next level.</p>
</div>
<div>
<h5>Tushar Agarwal - Cohort 1</h5>
<p>Hey Shirsh! I just wanted to tell you that I got my first stipend as a "video editor" credited today and I really want to thank you mentors and the aevy team for giving this
opportunity to us to learn the skill. TYSM!</p>
</div>
</div>
<div class="sixth_section_second_div_ka_second_content">
<div>
<h5>Rohit Tarale - Cohort 1</h5>
<p>I joined this cohort because I just wanted to learn something new, didnt expect it to be so great. I had never edited before on premiere. Best part for me was everything was taught from scratch, I learnt a lot and the learning skyrocketed after I joined as an intern. Trust me investing in this cohort was 1000% worth</p>
</div>
<div>
<h5>Neeraj - Cohort 1</h5>
<p>Hey bro, first of all i would like to thanks you for this cohort, if you wouldn't have called me, to main cohort main part nhi leta but u told me the benefits and all and so i decided to take part. And now yesterday i got hired by a agency, which works with like 15 big FIFA Youtube creators. 2:44 PM First two months will be internship with stipend of 15k and after performing well in intership they'll offer me a full time role with base pay of 30k and with more time and experience it will be 50k and could go upto like 70k too.</p>
</div>
<div>
<h5>Sumit - Cohort 2</h5>
<p>I'm glad to inform you that, I'm hired by Swarup Rao as a Full time Video Editor at High Income Tribe. Offer letter just came in. I'm going to be moving to Bangalore and be there by Next Sundav. Grateful for all the opportunities and offers you helped me with. Because of which I was able to choose the best. A big big thanks to you, mentors & Especially all Fellow community members from cohort who helped in everything to be the best version of myself. Grateful for Everything ✨🙌</p>
</div>
<div>
<h5>Harshith Burjurkar - Cohort 2</h5>
<p>This cohort was the YouTube industry break-in for me, it not only turned me into a professional editor but also
taught me how content industry actually works. Before this cohort I struggled with editing as the tutorials on YouTube were unstructured and the Return Of Investment I got from this cohort is at least 100x. Now I am not only good at editing, but also got to know how to
curate a good video, hook the audience better, mimic editing style of top YouTubers. Now I understand the power Visual storytelling which was taught by best in industry mentors Like Ocus, Martin, Varun Kuntoor.</p>
</div>
</div>
</div>
</div>
<div class="seventh_section">
<div class="seventh_section_first_div">
<div class="sixth_section_first_div_ka_content_div">
<h5><span class="text_gradient_color">FUTURE OF CONTENT IS VIDEO</span></h5>
<h1 class="font_w_s_c_t">WHY ARE WE DOING THIS?</h1>
<p class="text_gradient_color_white">
We are a group of visual storytellers who came together with one goal in mind - create the Best Videos the internet has ever seen. Children of digital age -we live and breathe YouTube and have built one of India's fastest growing infotainment Youtube channels - AevyTV.
<br><br><br>
Along the journey we realized that there are many creators like us who want to create top notch content but don’t have the right resources or mentors to guide them — The state of video education is broken.
<br><br><br>
That’s why we decided to build an ecosystem where you get access to the top video creators and editors and also get to learn the whole process of video content creation end to end. From scripting, storyboarding, shooting, editing, sound design, performance metrics, Youtube analytics — we will teach you how to think and build like the top 1% video producers in the world.
</p>
</div>
</div>
<div class="seventh_section_second_div">
<div class="sixth_section_first_div_ka_video_div">
<video src="video/2.mp4" loop controls></video>
</div>
</div>
</div>
<div class="eight_section">
<div class="eight_section_first_div">
<h5><span class="text_gradient_color">THE APPLICATION LAYER : TOOLS & SKILLS</span></h5>
<div><h1 class="font_w_s_c_t">CUT THE BS SHORT! TELL ME WHAT TOOLS AM I GOING TO MASTER?</h1></div>
</div>
<div class="eight_section_second_div">
<div class="eight_section_second_div_ka_backdiv"></div>
<img src="images/infographic.svg" alt="" srcset="">
</div>
</div>
<div class="nine_section">
<div class="nine_section_ka_first_div">
<h5><span class="text_gradient_color">WHAT MAKES US UNIQUE</span></h5>
<h1 class="font_w_s_c_t">YES, BUT WHY SHOULD I CHOOSE YOU?</h1>
</div>
<div class="nine_section_ka_second_div">
<div class="nine_section_ka_second_div_ka_content_div">
<div><img src="images/Group-120-1.svg" alt="" srcset=""></div>
<h5>Amazing Community</h5>
<p>Unlike all the other last-gen video editing courses out there, we give a community first learning experience. Not only do you learn, you make awesome life-long friends too.</p>
</div>
<div class="nine_section_ka_second_div_ka_content_div">
<div><img src="images/Group-125.svg" alt="" srcset=""></div>
<h5>Never seen before Placements</h5>
<p>Our placement rates surpass the placements of top tier Indian institutions. You focus on becoming a top editor, and we will focus on getting you a job with the best creators and companies.</p>
</div>
<div class="nine_section_ka_second_div_ka_content_div">
<div><img src="images/Group_1.svg" alt="" srcset=""></div>
<h5>Network of top Indian Creators</h5>
<p>We have a network of the top creators across the globe who are looking to hire from the next cohort. With Aevy, you get access and a chance to work with all the biggest names in the industry.</p>
</div>
</div>
</div>
<div class="ten_section">
<div class="ten_section_first_div">
<img src="images/rocket.png" alt="">
<img src="images/Union-1.svg" alt="" srcset="">
</div>
<div class="ten_section_second_div">
<h1 class="font_w_s_c_t">START YOUR JOURNEY TO BECOME A VIDEO EDITING NINJA</h1>
<button>ENROLL NOW <img src="images/arrow-right-up.svg" alt="" srcset=""></button>
</div>
</div>
<footer>
<div class="footer_first_section">
<img src="images/yuewr.png" alt="" srcset="">
</div>
<div class="footer_second_section">
<div class="footer_second_section_contact">
<div class="footer_second_section_contactAll">
<div><img src="images/Frame-61.svg" alt="" srcset=""></div>
<div><p>+91 97409 81289</p></div>
</div>
<div class="footer_second_section_contactAll">
<div><img src="images/Frame-61-1.svg" alt="" srcset=""></div>
<div><p>info#aevytv.com</p></div>
</div>
</div>
<div class="footer_second_section_policy">
<div class="footer_second_section_contact">
<div class="footer_second_section_contactAll">
<div><img src="images/privacy1.svg" alt="" srcset=""></div>
<p>Privacy Policy</p>
</div>
<div class="footer_second_section_contactAll">
<div><img src="images/cs.svg" alt="" srcset=""></div>
<p>Customer Supprt</p>
</div>
<div class="footer_second_section_contactAll">
<div><img src="images/tos.svg" alt="" srcset=""></div>
<p>Terms OS</p>
</div>
<div class="footer_second_section_contactAll">
<div><img src="images/refund.svg" alt="" srcset=""></div>
<p>Refund Policy</p>
</div>
</div>
</div>
</div>
<div class="footer_third_section">
<p>© COPYRIGHT 2022 AEVY VENTURES PVT. LTD.</p>
</div>
</footer>
</main>
</body>
</html>
This might not be very useful, but I will still post it here.
Something is overflowing, and if I remember correctly overflows cause scrolling. I have found that it seems to be something about your div element with the class first_section, It's likely the cause is the H1 element within.
Hope this helps a little.
EDIT: It seems that most of the sections overflow.

How do I align text in exact center with image above

I'm trying to align some text (asterisk) in the middle of the image above.
I've set the css to align center, but it looks like it's off to the left a bit.
How do I align the text in the exact center of the square image above?
<div class="alignright">
<p>
<img alt="Sign up Today" height="259" src="http://i.ytimg.com/vi/rb8Y38eilRM/maxresdefault.jpg" width="300" /></p>
<p class="asterisk">
*Price for a single city. Multi-city, state<br>
and multi-state packages also available.</p>
</div>
<div class="circle">
<span class="number">1</span>
</div>
<h3>
Banana</h3>
<p>
A banana is an edible fruit, botanically a berry, produced by several kinds
of large herbaceous flowering plants in the genus Musa.</p>
<p> </p>
<div class="circle">
<span class="number">2</span>
</div>
<h3>
Orange is the colour of saffron, pumpkins and apricots.</h3>
<p>
Mobile phones, mobile broadband and home broadband in the Orange Shop. Plus the latest
news, entertainment, sport and lifestyle content from Orange.</p>
<p> </p>
<div class="circle">
<span class="number">3</span>
</div>
<h3>
Watermelon</h3>
<p>
We here at the National Watermelon Promotion Board have one goal: to increase
consumer demand for fresh watermelon through promotion, research</p>
jsfiddle:
http://jsfiddle.net/7bzc74qy/37/
It is being aligned to the center; you just have a left margin on your image that isn't on your asterisk.
Add those 49px to the asterisk and you're good to go.
.asterisk {
margin: 20px 0 0 49px;
}
JSFiddle

Divs falling out of wrapper

I'm very new to this so I apologise if this is a simple thing. I seem to be unable to keep the bottom div inside the wrapper, even though it closes after. I've validated the code and this hasn't helped. Please can someone cast some light on where I'm going wrong? Many thanks in advance.
This is my code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<link href='http://fonts.googleapis.com/css?family=Alegreya+Sans:300|Raleway:300,700|Droid+Serif:700' rel='stylesheet' type='text/css'>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Untitled Document</title>
<meta name="viewport" content="width=device-width; initial-scale=0.95; maximum-scale=1.0; user-scalable=no;"/>
<link href="/css/simplegrid.css" rel="stylesheet" type="text/css" >
<link href="css/a_main_structure.css" rel="stylesheet" type="text/css" />
<link href="css/birthgently.css" rel="stylesheet" type="text/css" />
<link href="css/menu_styling.css" rel="stylesheet" type="text/css" />
<link href='http://fonts.googleapis.com/css?family=Optima' rel='stylesheet' type='text/css'>
<style type="text/css">
a:link {
color: #8A8A8A;
text-decoration: none;
}
a:visited {
color: #8A8A8A;
text-decoration: none;
}
a:hover {
color: #5F5F5F;
text-decoration: none;
}
a:active {
color: #5F5F5F;
text-decoration: none;
}
body {
background-color: #F4F4F4;
background-repeat: repeat-x;
}
</style>
</head>
<body text="#000000" link="#0000ff" dir="ltr" lang="en-GB">
<div id="container">
<div id="content">
<div class="wrapper">
<div class="width_100_percent" align="center">
<div class="headerStretch">
<img src="images/birthgently-topstrip.jpg" width="960" height="232" alt="alt tag change me"/>
</div>
</div>
<div align="center">
<div class="menuback">
<div class="paddingtop8px">
<nav>
<ul align="centre">
<li>Home</li>
<li>Weekly Class</li>
<li>The Course</li>
<li>Hypnobirthing</li>
<li>Contact</li>
<li>Bookings</li>
</ul>
</nav>
</div>
</div>
</div>
<br />
<div class="width_100_percent">
<div class="width7_percent"> </div>
<div class="width86_percent"><div class="headerStretch"><img src="images/about-hypnobirthing.jpg" width="800" height="469" alt="alt tag change me" /></div></div>
<div class="width7_percent"> </div>
</div>
<br />
<br />
<br />
<br />
<div class="clear_both">
<div class="width_100_percent">
<br />
<br />
<div class="width15_percent"> </div>
<div align="center" class="width70_percent">
<div align="left"><h1 class="contentheadings">The principles of Hypno-birthing</h1>
</div>
<p align="left" class="bodytext">Giving birth calmly, safely and gently is every woman's and every baby's birth right. A woman's body has been perfectly designed to give birth to her baby. Free of fear, stress and anxiety her body is able to work in synchrony with her baby to naturally produce a beautiful blend of birthing hormones. <br/>
<br/>
When a woman is calm and relaxed the muscles which assist in the birth her baby are able to work harmoniously and effectively which means she has an easier, more gentle birth that is often also accompanied by a significant reduction in pain. These wonderful birthing hormones and muscles help to ensure that a woman can have the amazing, beautiful and profound experience that nature intended birth to be.
</p>
</div>
<div class="width15_percent"> </div>
</div>
</div>
<br />
<br />
<br />
<br />
<div class="clear_both">
<div class="width_100_percent">
<div class="width29_percentquotes-right">
<img src="images/open-quotes.jpg" width="30" height="20" alt=""/> If the birth is calm, gentle & drug free for you, it's also calm, gentle & drug free for your baby - K Graves <img src="images/close-quotes.jpg" width="30" height="20" alt=""/></div>
<div align="center" class="width50_percent">
<div align="left">
<p class= "bodytext">Hypno-birthing is not about training mothers to give birth. It is about helping woman to release fear and anxiety and it teaches them how to use self-hypnosis and relaxation so their bodies and minds can relax and they can birth their babies gently. <br />
<br />
Hypno-birthing is now widely recognised by birth professionals and is regularly discussed in the media. Hypno-birthing is commonly accepted as an effective approach to childbirth with many midwives training in the technique having witnessed 'hypno-births' first-hand. </p>
</div>
</div>
<div class="width15_percent"> </div>
</div>
</div>
<div class="clear_both">
<div class="width_100_percent">
<br />
<br />
<div class="width15_percent"> </div>
<div align="center" class="width70_percent">
<div align="left">
<h2 class="contentsubheadings">The History of Hypno-birthing</h2>
</div>
<p align="left" class="bodytext">More natural and gentle approaches to childbirth including hypno-birthing began in modern times with the work, amongst others, of Dr Grantly Dick-Read, an obstetrician working in England in the early 19th century. His careful observations of women giving birth led him to develop the theory of the 'fear-tension-pain syndrome'.
</p>
</div>
<div class="width15_percent"> </div>
</div>
</div>
<div class="clear_both">
<div class="width_100_percent"><br />
<div class="width15_percent"> </div>
<div align="center" class="width50_percent">
<div align="left">
<p class="bodytext">Having witnessed women giving birth easily, calmly and comfortably he concluded that what made the process of birth painful was fear. Fear caused tension in the woman's body and disrupted the natural processes of labour and birth. Dr Dick-Read documented the negative effect of fear on childbirth. In his books he argued that childbirth did not have to be the painful ordeal that women had been led to believe they must suffer. He suggested that when fear is not present a woman can give birth comfortably and pain-free.</p></div>
</div>
</div>
</div>
<div class="width35_percent">
<div class="headerStretch">
<div class="image-pad-left"><img src="images/about-hypno.jpg" width="265" height="177" /></div></div></div>
<div class="width15_percent"> </div>
<div class="clear_both">
<div class="width_100_percent">
<div class="width29_percentquotes-right">
<img src="images/open-quotes.jpg" width="30" height="20" alt=""/> My dream is that every woman, everywhere, will know the joy of a truly safe, comfortable, and satisfying birthing for herself and her baby. Marie Mongan <img src="images/close-quotes.jpg" width="30" height="20" alt=""/></div>
<div align="center" class="width50_percent">
<div align="left">
<p class= "bodytext">Unfortunately the view that labour and birth are painful and traumatic continues to be one which is still widely circulated in the media. Even amongst well meaning friends and family the negative view often persists and pregnant women are frequently bombarded with negative and fear evoking images and stories..</p><br />
</div>
</div>
<div class="width15_percent"> </div>
</div>
</div>
<div class="clear_both">
<div class="width_100_percent">
<br />
<br />
<div class="width15_percent"> </div>
<div align="center" class="width70_percent">
<div align="left">
<h2 class="contentsubheadings">Getting past fear</h2>
</div>
<p align="left" class="bodytext">One of the main elements of hypno-birthing is the removal of such fears and the use of positive images, positive language and positive affirmations about birth. Marie Mongon, an American hypnotherapist was one of the first people to use the phrase HypnoBirthing. She developed a teaching program for parents to be which she brought to the UK in the early 90's. Since then hypno-birthing has gained in popularity and many practitioners including Katherine Graves have gone on to adapt and enhance hypno-birthing techniques specifically for the UK.
There are now many hypno-birthing practitioners and whilst each have a slightly different approach the key elements of hypno-birthing remain the same - free of fear and tension a woman can give birth to her baby calmly, safely, gently.</p>
</div>
<div class="width15_percent"> </div>
</div>
</div>
<div class="clear_both">
<div class="width_100_percent"><br />
<div class="width15_percent"> </div>
<div align="center" class="width50_percent">
<div align="left"><h2 class="contentsubheadings">birthgently classes
</h2>
<ul type="square">
<li type="square" class="bullets">
<p class="bodytext">teaches deep relaxation which keeps you and your birth partner free of stress and fear</p></li>
<li type="square" class="bullets">
<p class="bodytext"> facilitates your body's production of powerful, natural pain relieving endorphins and feel good hormones</p></li>
<li type="square" class="bullets">
<p class="bodytext"> helps to shorten the length of the first stage of labour</p></li>
<li type="square" class="bullets">
<p class="bodytext"> reduces the need for surgical interventions</p></li> <li type="square" class="bullets">
<p class="bodytext">helps to keep baby calm and well oxygenated</p></li>
<li type="square" class="bullets">
<p class="bodytext"> eaves you and baby feeling calm but alert and able to fully experience those special first few hours together </p></li>
<li type="square" class="bullets">
<p class="bodytext"> empowers you and your birth partner to remain calm and in control even if there are unexpected circumstances</p></li>
</ul>
</div>
</div>
</div>
</div>
<div class="width35_percent">
<div class="headerStretch">
<div class="image-pad-lefttop"><img src="images/grey-baby.jpg" width="265" height="177" /></div></div></div>
<div class="width15_percent"> </div>
<div class="clear_both">
<div class="width_100_percent">
<br />
<br />
<div class="width15_percent"> </div>
<div align="center" class="width70_percent">
<div align="left">
<h2 class="contentsubheadings">The common view</h2>
</div>
<p class= "bodytext" align="left">
Unfortunately the view that labour and birth are painful and traumatic continues to be one which is still widely circulated in the media. Even amongst well meaning friends and family the negative view often persists and pregnant women are frequently bombarded with negative and fear evoking images and stories..</p>
</div>
<div class="width15_percent"> </div>
</div>
</div>
<div class="clear_both">
<div class="width_100_percent">
<div class="width50_percentquotes-right">
<img src="images/open-quotes.jpg" width="30" height="20" alt=""/> My son was born at 4:50am. I sat back having been on all fours, and just stared at him swimming up on his back, eyes open in the water. The midwife had to prompt me to pick him up. I came out of this trance-like state and I scooped him up and suddenly the power of speech returned and I felt euphoric. <br />
AB -hypno-birthing Mum <img src="images/close-quotes.jpg" width="30" height="20" alt=""/></div>
<div align="left" class="width35_percent">
<br />
</div>
</div>
<div class="width15_percent"> </div>
</div>
</div>
</div>
</div>
</body>
</html>
I've had a look at this and cant see what is or isn't happening as desired. Take a look at this JSFIDDLE I've added border the main container and bottom div and it is sitting within the container.
Take a look yourself, add this css to your page to see whats going on
#container
{
border: 1px solid blue;
}
.width15_percent
{
border: 1px solid red;
}
Add overflow: hidden; to .wrapper

Floating images left

i'm a little rusty on html and css and i cant get 2 images to float, one on top of the other. heres the code...
<div class="kbody">
<img class="kimg1" src="img1.jpg" alt=" " width="375px" height="auto">
<div id="ktxt">
<p>&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp
Kristallnacht occurred on November 9-10, 1938. Also known as the night of
broken glass, it was an organized attack on the Jews. Hitler had Nazis all over
Germany and Austria that burned synagogues, broke store windows, stole from the
stores, killed a couple dozen Jews, and arrested twenty thousand more. A few days
later Germany made an &quotatonement fine&quot that added up to over one billion dollars
and placed it on the remaining Jews. </p>
</div>
<img class="kimg2" src="img3.jpg" alt=" " width="375px" height="auto">
</div>
and the css...
.kbody {
width:800px;
margin-left: auto;
margin-right: auto;
/*border-style:solid;
border-width:3px;*/
}
.kimg1 {
padding-left:5px;
padding-top:5px;
padding-bottom:5px;
float:left;
}
.kimg2 {
padding-left:5px;
padding-top:5px;
padding-bottom:5px;
float:left;
margin-top:10px;
}
#ktxt {
padding-left:10px;
padding-right:10px;
padding-top:10px;
/*border-width:2px;
border-style: solid;*/
width:350px;
height:330px;
margin-left:402px;
font-style:arial, sans-serif;
color: #336699;
font-size:14pt;
}
what am i doing wrong??
heres what it looks like with this code
http://imgur.com/a/ivDE2#0
To move the second image under the first:
.kimg2 {
clear: both;
}
<div class="kbody">
<img class="kimg1" src="img1.jpg" alt=" " width="375px" height="auto">
<div id="ktxt">
<p>&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp
Kristallnacht occurred on November 9-10, 1938. Also known as the night of
broken glass, it was an organized attack on the Jews. Hitler had Nazis all over
Germany and Austria that burned synagogues, broke store windows, stole from the
stores, killed a couple dozen Jews, and arrested twenty thousand more. A few days
later Germany made an &quotatonement fine&quot that added up to over one billion dollars
and placed it on the remaining Jews. </p>
</div>
<img class="kimg2" src="img3.jpg" alt=" " width="375px" height="auto">
<div style="clear:both"></div>
</div>
Put a clearfix between the elements you want to show them in separate lines. I would write a global css rule like .clearfix { clear: both; } and put a div before the second image;
Instead of writing bunch of use CSS text-indent property;
Sample Code:
<div class="kbody">
<img class="kimg1" src="img1.jpg" alt=" " width="375px" height="auto">
<div id="ktxt">
<p>
Kristallnacht occurred on November 9-10, 1938. Also known as the night of
broken glass, it was an organized attack on the Jews. Hitler had Nazis all over
Germany and Austria that burned synagogues, broke store windows, stole from the
stores, killed a couple dozen Jews, and arrested twenty thousand more. A few days
later Germany made an &quotatonement fine&quot that added up to over one billion dollars
and placed it on the remaining Jews.
</p>
</div>
<div class="clearfix"></div>
<img class="kimg2" src="img3.jpg" alt=" " width="375px" height="auto">
</div>
try to wrap your image
html
<div class="kbody">
<div class="imageWrapper">
<img class="kimg1" src="img1.jpg" alt=" " width="375px" height="auto" />
<img class="kimg2" src="img3.jpg" alt=" " width="375px" height="auto" />
</div>
<div id="ktxt">
<p>&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp
Kristallnacht occurred on November 9-10, 1938. Also known as the night of
broken glass, it was an organized attack on the Jews. Hitler had Nazis all over
Germany and Austria that burned synagogues, broke store windows, stole from the
stores, killed a couple dozen Jews, and arrested twenty thousand more. A few days
later Germany made an &quotatonement fine&quot that added up to over one billion dollars
and placed it on the remaining Jews. </p>
</div>
</div>
css
.imageWrapper {
float:left;
width:375px;
}
hope this help you
easier way is <img src="yourimage.jpg" align="left" />
As you want your picture to be floated to left side is not possible as you do. So, you should define your html alternatively for what you want as..
<div class="kbody">
<div class="kimg">
<img ..image1../>
<img ..image2../>
</div>
<div id="ktext">your text...</div>
</div>
Now define the css.
hints:
.kimg{width: 300px;}
#ktext{width: 300px;}

Changing margins on a Div doesn't take affect?

I'm trying to change my footers margin so that it expands to the width of the webpage, instead it still seems to be affect by the 50px of left/right margin I added to my #content section. What property am I missing here so I can remove the affect of the content's margins on my footer section?
Html
<div id="wrapper" />
<div id="header" />
<div id="mast"><img src="http://i1256.photobucket.com/albums/ii488/terafanb/guildwars2/26.png" height="99" width="774=" /></div>
<div id="below-mast" />
<div id="left" class="column"><img src="http://i157.photobucket.com/albums/t60/Dragon_Aleph/fantasy_warrior_23022-800x600.jpg" height="297" width="226" border="0" alt="Crusader Army" /></div>
<div id="center" class="column"><img src="http://i157.photobucket.com/albums/t60/Dragon_Aleph/fantasy_warrior_23022-800x600.jpg" height="297" width="400" border="0" alt="Crusader Army" /></div>
<div id="right" class="column"><img src="http://i157.photobucket.com/albums/t60/Dragon_Aleph/fantasy_warrior_23022-800x600.jpg" height="297" width="139" border="0" alt="Crusader Army" /></div>
<div></div>
<div id="content" />
<p>
<div class="Heading">Forward Exchange *</div>
$500.00 - collected upon the closing of the Relinquished Property.
$500.00 - collected upon closing of each Replacement Property purchased.
* Special credits may apply - Call Us.<br /></br>
<div id="we-pay">
<br />
<div class="Heading">We pay interest</div>
</br>
We provide full disclosure of the fees involved in the transaction in the Exchange Agreement. Our customers are entitled to receive earned interest based on the First National Bank of Durango Investment Money Market rate, from the time when the Relinquished Property funds are initially deposited. Interest does not accrue on those funds withdrawn during the first 30 calendar days after the funds are deposited in the Exchange Trust Account. Also, interest does not accrue if customer elects to have exchange funds held at First National Bank of Durango in an Unlimited FDIC insurance non-interest bearing account (available through December 31, 2012)
</div>
<br />
<div class="Heading">
Safe-Harbor Reverse Exchange <br />
<h2>We charge the following fees:</h2>
</div>
<div id="prices">$2,500.00 – Title holding fee<br />
$500.00 – LLC fee<br />
$200.00 – Monthly Rent<br />
Plus – Forward Exchange fees<br />
<br />
</div>
<div id="note">
<p>Note: If any improvements need to be made to the parked property,
being held by the EAT ( Exchange Accommodator Titleholder )
there will be an additional fee of 1% of the final sales price to Taxpayer.
</p>
<div>
<br /></br>
<div id="disclaimer">Fees are subject to change without prior notice</p></div>
</div>
<div id="footer">
Home
<strong>l</strong> What is a 1031 Exchange? <strong>l</strong> <a href="exchangeRequ.html">
1031 Exchange Requirements</a> <strong>l</strong> Types of Exchanges <br />
<div id="Second-Half">
How to get Started <strong>l</strong>
Why CLX?<strong>l</strong> Resources <strong>l</strong> FAQs <strong>l</strong> Fees
Contact Us
</div>
</div>
</div>
CSS
*{box-sizing:border-box;}
#wrapper {margin-left:auto; margin-right:auto;width:774px;}
#below-mast { width:774px; overflow:hidden; }
#left {height:297px; width:29%; margin:4px;margin-left:0px;}
#center{height:297px; width:51%; margin:4px;}
#right {height:297px; width:17%; margin:4px;}
#left, #center, #right { float:left;margin-bottom:50px;}
#content{overflow:;margin:0px;margin-top:100px;font-family:Arial, Helvetica, sans-serif;margin-right:50px;margin-left:50px;}
.Heading{font-size:19px;font-weight:bold;text-align:center; text-decoration:underline}
.Heading>h2{font-size:13px;text-decoration:none}
#we-pay{font-size:13px}
#we-pay>.Heading{font-size:20px;text-decoration:none;}
#prices{text-align:center; font-size:20px;}
#note{text-align:center;}
#disclaimer{font-size:13px; text-align:center; font-weight:bold;font-style:italic; }
#footer{margin-right:-50px;margin-left:-50px;}
#footer,a:link{font-family:Helvetica, sans-serif;color:#300000; margin-top:50px;}
#Second-Half{margin-left:auto; margin-right:auto;width:450px;}
Here is a link to my code on Code Pen for your convience
http://codepen.io/Austin-Davis/pen/rLeEi
Your bug can be fixed with the following piece of code:
#footer { margin: 0; position: absolute; left: 0; width: 100%; }
Please checkout: http://codepen.io/joe/pen/uBikf
PS: I gave the footer a gray background for testing purpose.
Sorry guys I was just missing a closing </div> on my #note section making the footer part of the content section, thus making any margin changes to the footer via css useless.
Another solution would be to move the footer outside of the #wrapper div.
Also please check your HTML.. it´s broken in so many places that fixing the css problem might be impossible ;)
eg. you have alot of selfclosing tags "" (not valid)
Also you are missing closing body tag, none exsisting tags "" etc etc..