Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

Placing <table> on page

Posted on 2003-10-27
3
163 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
ID: 9627005
I mean move the whole table right, not left, and down, of course!
0
 
LVL 31

Accepted Solution

by:
seanpowell earned 50 total points
ID: 9627147
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
ID: 9627485
Thanks Rich - glad to help.
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.
This article describes how to create custom column layout styles for Bootstrap. The article uses 5 columns to illustrate the concept, but the principle can be extended to any number of columns.
In this tutorial viewers will learn how to embed Flash content in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: "<!DOCTYPE html>": Use the <object> tag to embed Flash content.: To specify that the object is Flash content, d…
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 …

840 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