471,618 Members | 1,123 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,618 software developers and data experts.

Aligning the Table

Hi All...

I have a very simple question (atleast I hope it is).

How can I make sure the table on my page always appears in the middle (vertically & horizontally)? I am using dreamweaver, it allows me to align it horizontally but I can't seem to figure out how to do it vertically.

Any help will be appreciated.

Nov 29 '07 #1
3 1221
Death Slaught
1,137 1GB
Welcome to TSDN!

That all entirely depends of how dreamweaver aligned it horizontaly. Please post your code (if you can get it, I don't know much about dreamweaver).

I would like to make a suggestion though.

Stop using things like dreamweaver, and learn the code. It saves you time, and loads of effort, not to mention headaches.

So if you're intersted here's a link to a tutrial on HTML.

Thanks, Death
Nov 29 '07 #2
Thanks for a quick response.

I just havent found a way to vertically align the table using DW so no point in posting my codes.

However, silly question but if I manually write the codes what codes can I use to vertically align the table? I am still in the initial stage of designing the site and wont be to much hassel if I stop using DW and writting the codes manually.

Thanks again for quick response.

Nov 29 '07 #3
Death Slaught
1,137 1GB
Give it an absolute position, and change it's top and left properties.

Expand|Select|Wrap|Line Numbers
  1. table {
  2.   position:absolute;
  3.   top:100px;
  4.   left:200px;
  5. }
The code won't actually center it, but you should get the idea.

Hope it helps, Thanks, Death
Dec 1 '07 #4

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

1 post views Thread by Graham Cross | last post: by
1 post views Thread by Oxnard | last post: by
1 post views Thread by Linux Boy via .NET 247 | last post: by
28 posts views Thread by kiqyou_vf | last post: by
1 post views Thread by kiqyou_vf | last post: by
1 post views Thread by Eric | last post: by
reply views Thread by leo001 | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.