+ 3
Why when I put a table code before the <div></div> code and I run it, the table now become at the bottom of the page?
10 Antworten
+ 8
You need to end the table. Table is like this:
<table> content </table>
+ 9
It shouldn't. Can you show the code?
+ 7
At that comment "end of table" , write before it </table>
+ 7
Glad to help.😁
+ 2
I will edit my question wait.
+ 2
Yah it works. Thank you so much
+ 1
Its not paragraphs its div
+ 1
My code is too long wait
+ 1
Ian T. Breguera you can share your code by just giving link also in your question so others will understand more properly ☺
0
<!DOCTYPE html>
<html>
<head>
<title>Page Title</title>
</head>
<body>
<table align="center" border="3" width="70%" height="100px">
<tr style="color:#7FFFD4" align="center">
<td bgcolor="orange">One</td>
<td bgcolor="orange">Two</td>
<td bgcolor="orange">Three</td>
<td bgcolor="orange">Four</td>
</tr>
<tr style="color:white" align="center">
<td bgcolor="red">Red</td>
<td bgcolor="green">Green</td>
<td bgcolor="blue">Blue</td>
<td bgcolor="gray">Black</td>
</tr>
<tr style="color:white" align="center">
<td bgcolor="gray">Black</td>
<td bgcolor="blue">Blue</td>
<td bgcolor="green">Green</td>
<td bgcolor="red">Red</td>
</tr>
<br />
<!--end of table-->
<div style="background-color:#7FFF00;
padding:10px";>
<b>
<center>
<h1>This is a Divion I guess</h1>
</center>
<div style="background-color:#FFEBCD; color:Black; paddin