Simple question
-
Hi
Im new to coding
Trying to add css to my html code
any ideas?
also does anybody know how to put tables to the top left
and a tale in the centre
thanks again
here is my code so far
<!DOCTYPE html>
<html>
<head>
<title>Site</title>
<link herf=“” type=“text/css” rel=“stylesheet”>
</head>
<body><table border=“5” style=“width:15%”>
<tr></tr>
<tr>
<td>Jill</td>
<td>Smith</td></tr>
<tr>
<td>Eve</td>
<td>Jackson</td><tr>
</tr>
<tr>
<td>Jill</td>
<td>Smith</td></tr>
<tr>
<td>Eve</td>
<td>Jackson</td></tr>
<tr>
</tr>
<tr>
<td>Jill</td>
<td>Smith</td></tr>
<tr>
<td>Eve</td>
<td>Jackson</td></tr>
</tr>
<tr></tr>
<tr>
<td>Jill</td>
<td>Smith</td></tr>
<tr>
<td>Eve</td>
<td>Jackson</td></tr>
<tr></tr>
<tr>
<td>Jill</td>
<td>Smith</td></tr>
<tr>
<td>Eve</td>
<td>Jackson</td></tr>
<tr></tr>
<tr>
<td>Jill</td>
<td>Smith</td></tr>
<tr>
<td>Eve</td>
<td>Jackson</td></tr>
<tr></tr>
<tr>
<td>Jill</td>
<td>Smith</td></tr>
<tr>
<td>Eve</td>
<td>Jackson</td></tr>
</table><table align=“right” valign=“top” border=“5” style=“width:15%”>
<tr align=“right” valign=“top” ></body>
</html>css code:<body> {
background: #6F2F2F;
}Thank you
-
As a reminder, this is a forum for discussing how to use the Notepad++ text editor, not a catch-all forum for questions about every possible programming languages or markup and stylesheet languages, just because you happen to be using Notepad++ to edit your source code.
But let me google that for you: the stack overflow question shows how to center it both vertically and horizontally, I think, so you could probably generalize for the upper-left, also.
-
Ugh! … not another baking cookies question…