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…
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login