Note that there are some explanatory texts on larger screens.

plurals
  1. POtable not showing properly inside div html
    primarykey
    data
    text
    <p>I have this problem with a table inside a div. I created two tables and the goal was to have them next to each other. It ended up one below the other. tried to play with CSS as much as I can, but I am not that experienced with it. The code is here:</p> <pre><code>#contactdetails_table{ width: 500px; height: 190px; /* border: solid #234b7c 3px; */ background-color: #FFC3CE; border-radius: 15px; direction: rtl; float: left; color: white; font-size: large; position: relative; overflow: scroll; } </code></pre> <p>and this is the code for second table that manages to go below the current one:</p> <pre><code>&lt;table style="position:relative; float:left;" cellpadding="10" cellspacing="10"&gt; &lt;tr&gt; &lt;td&gt;الايميل:&lt;/td&gt; &lt;td&gt;&lt;?php echo $profiledetails-&gt;email; ?&gt;&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td&gt;المدينة:&lt;/td&gt; &lt;td&gt;&lt;?php echo $profiledetails-&gt;city; ?&gt;&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td&gt;الهاتف:&lt;/td&gt; &lt;td&gt;&lt;?php echo $profiledetails-&gt;telephone; ?&gt;&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;/tr&gt; &lt;/table&gt; </code></pre> <p>Thanks for help :)</p> <p>NOte: included the first table:</p> <pre><code>&lt;div id="contactdetails_table"&gt; &lt;table cellpadding="10" cellspacing="10" &gt; &lt;tr&gt; &lt;td&gt;الاسم الكامل:&lt;/td&gt; &lt;td&gt;&lt;?php echo $profiledetails-&gt;fullname; ?&gt;&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td&gt;اسم المستخدم:&lt;/td&gt; &lt;td&gt;&lt;?php echo $profiledetails-&gt;username; ?&gt;&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td&gt;الجوال:&lt;/td&gt; &lt;td&gt;&lt;?php echo $profiledetails-&gt;mobile; ?&gt;&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td&gt;العنوان:&lt;/td&gt; &lt;td&gt;&lt;?php echo $profiledetails-&gt;address; ?&gt;&lt;/td&gt; &lt;/tr&gt; &lt;/table&gt; &lt;table style="position:relative; float:left;" cellpadding="10" cellspacing="10"&gt; &lt;tr&gt; &lt;td&gt;الايميل:&lt;/td&gt; &lt;td&gt;&lt;?php echo $profiledetails-&gt;email; ?&gt;&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td&gt;المدينة:&lt;/td&gt; &lt;td&gt;&lt;?php echo $profiledetails-&gt;city; ?&gt;&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td&gt;الهاتف:&lt;/td&gt; &lt;td&gt;&lt;?php echo $profiledetails-&gt;telephone; ?&gt;&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;/tr&gt; &lt;/table&gt; </code></pre>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload