Solved

Placing <table> on page

Posted on 2003-10-27
3
169 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
[X]
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
  • 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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Not sure what the best email signature size is? Are you worried about email signature image size? Follow this best practice guide.
When crafting your “Why Us” page, there are a plethora of pitfalls to avoid. Follow these five tips, and you’ll be well on your way to creating an effective page.
In this tutorial viewers will learn how to style transparent/translucent elements using alpha transparency in CSS Start with a normal styled element, such as a div.: Define its "background-color" property as "rgba (255, 255, 255, .5): The numbers in…
HTML5 has deprecated a few of the older ways of showing media as well as offering up a new way to create games and animations. Audio, video, and canvas are just a few of the adjustments made between XHTML and HTML5. As we learned in our last micr…

733 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