Solved

Placing <table> on page

Posted on 2003-10-27
3
157 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

Is Your AD Toolbox Looking More Like a Toybox?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

Question has a verified solution.

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

Things That Drive Us Nuts Have you noticed the use of the reCaptcha feature at EE and other web sites?  It wants you to read and retype something that looks like this.Insanity!  It's not EE's fault - that's just the way reCaptcha works.  But it is …
Find out what you should include to make the best professional email signature for your organization.
In this tutorial viewers will learn how to position items using CSS's three positioning types Create a new HTML document with an internal stylesheet.: Create another div in CSS and name it Absolute : Type "position:absolute;" and "top:10px; left:50p…
In this tutorial viewers will learn how to style a corner ribbon overlay for an image using CSS Create a new class by typing ".Ribbon":  Define the class' "display:" as "inline-block": Define its "position:" as "relative": Define its "overflow:" as …

770 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