Solved

Placing <table> on page

Posted on 2003-10-27
3
135 Views
Last Modified: 2010-04-09
Hi Folks,

This is an easy question but I thought I'd save myself some trial-and-error by asking the experts.

I have a table in which the rows and cells are arranged how I want them. But, the whole table is too close to the window's top and left edges. What is the simplest/easiest way to move the whole table left and down by some number of pixels?

Thanks a lot

Rich
0
Comment
Question by:RichardFox
  • 2
3 Comments
 

Author Comment

by:RichardFox
Comment Utility
I mean move the whole table right, not left, and down, of course!
0
 
LVL 31

Accepted Solution

by:
seanpowell earned 50 total points
Comment Utility
Just add a stylesheet reference to the head section of your document, and adjust the pixel values to suit:

<html>
<head>
<style type="text/css">
<!--
body         { margin:40px; }
-->
</style>
</head>
<body>
 etc...
0
 
LVL 31

Expert Comment

by:seanpowell
Comment Utility
Thanks Rich - glad to help.
0

Featured Post

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Do you want to insert HTML5 video into your site? This is the tutorial how to do so. What are the main advantages of HTML5 video? 1) Have good compression, good image quality, and low decode processor use. 2) It is royalty-free 3) It is easi…
SASS allows you to treat your CSS code in a more OOP way. Let's have a look on how you can structure your code in order for it to be easily maintained and reused.
In this Micro Tutorial viewers will learn how to create navigation buttons that change on rollover, using CSS (Continuation of the CSS Image Sprite tutorial) Create a parent ID for all the list items       - Specify position: absolute and display: block…
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

728 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now