Community
    • Login

    Simple question

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    3 Posts 3 Posters 812 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Aaron DobbinsA
      Aaron Dobbins
      last edited by

      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

      1 Reply Last reply Reply Quote 0
      • PeterJonesP
        PeterJones
        last edited by

        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.

        1 Reply Last reply Reply Quote 2
        • Scott SumnerS
          Scott Sumner
          last edited by

          Ugh! … not another baking cookies question…

          1 Reply Last reply Reply Quote 1
          • First post
            Last post
          The Community of users of the Notepad++ text editor.
          Powered by NodeBB | Contributors