Unstick Table Cells

Hello I am using the table cell method and once my two divs
are next to each other they stick together. I went them to have
space between each other. It currently looks like this:

what can I do to unstick them? I tried to use margin but it does not move


  <div class="inner-page-content about-wrap">
                <div id="about-intro">
                    <p>In today’s sophisticated world of search engines, social media, discount websites and apps, Preferred Dentist is dedicated to making sure that we help you find the best dentist in the most simple way. We personally walk you through the process by identifying your needs and matching you with the right dentist. We also ensure that you are satisfied with the dentist and the service that was provided. </p>
                    <p>Preferred Dentist is committed to both our dentists and patients.</p>
                    <p>Our mission is to help you. In other words, you are our top priority.</p>
                    <p><span id="about-quote">“We make finding you a Dentist a PERSONAL matter.”</span></p>
                    <p><span id="about-representative">Talk to a Preferred Dentist <br> representative today at (818) 245-6959</span></p>
                <div id="statements-icons">
                    <div class="missions">
                        <h3>Our Mission</h3>
                        <p>To provide you with the best possible Dentist for yur needs</p>
                    <div class="missions">
                        <h3>Our Dedication</h3>
                        <p>To endure both you and the Dentist are a good match</p>
                    <div class="missions">
                        <h3>Our Dentists</h3>
                        <p>Dedicated Friendly Professionals that want to help you.</p>


    display: table;
    table-layout: auto;

#about-intro, #statements-icons {
    display: table-cell;

Hi there csosa,

have you considered padding rather than margin as a possible solution?

#about-intro, #statements-icons { display: table-cell; padding: 2%; }


1 Like

You can use border spacing on the display:table element to space cells out if padding is not what you are looking for.


<meta charset="utf-8">
<title>Untitled Document</title>
.table {
.cell {

<div class="table">
		<div class="cell">1</div>
		<div class="cell">2</div>
		<div class="cell">3</div>
		<div class="cell">4</div>
1 Like

I see. Thank you both.

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.