473,687 Members | 3,804 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Aligning the Table

3 New Member
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 1378
Death Slaught
1,137 Top Contributor
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
3 New Member
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 Top Contributor
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

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

Similar topics

by: Graham Cross | last post by:
Dear All Is there an HTML way of aligning the images on this page http://www.ageconcernleics.com/review03/chairs03.html so that they appear evenly spaced relative to the text column on the left. In a perfect world I would like the top of the first photo to be aligned with the first line of text. Thanks
by: Oxnard | last post by:
One of the issues I seem to run into is text, tables and such being display to the left of some other object. The only way around it I have found is to make one big table and start dividing it up. Below is an example. The second table tends to want to be to the right of the first table. What is another way to prevent tables and such without making a very large table or using frames? Note the <!-- --> are in there as I'm using OE. For some...
by: Linux Boy via .NET 247 | last post by:
(Type your message here) Hi everyone, I would like to ask a question about aligning text within one label. I have an application that everytime the user click on Enter Record button, they will be prompt an input box to enter employee names and sales figures. The output then will be displyed in only 1 label using a For loop. The layout would be under 3 columns: Employee name (left justified), Sale figures (right justified) and Bonus...
by: kiqyou_vf | last post by:
I'm trying to pull data from 2 different tables and do a loop to retrieve more than one row. I'm having problems with aligning the information. Can someone lead me in the right direction? I've done some looking myself and found something called GROUP BY? Is that what I need to use? Thanks in advance.
by: kiqyou_vf | last post by:
Sorry, Google wouldn't let me post a reply. Here is the convo thus far: Jerry Stuckle wrote: > kiqyou_vf wrote: >> I'm trying to pull data from 2 different tables and do a loop to >> retrieve more than one row. I'm having problems with aligning the >> information. Can someone lead me in the right direction? I've done some >> looking myself and found something called GROUP BY? Is that what I need >> to use? Thanks in advance.
by: Eric | last post by:
I have a user control (with three controls inside it) that appears multiple times in the containing page. Sometimes I want to hide the rightmost control in the UC but if I do that it screws up the horizontal alignment of the other two controls. It appears that they are being stretched due to the absence of the others and I'm not sure how to fix it. If I dont hide anything it looks all lined up (each line is a web user control): Label ...
by: designkitt | last post by:
Hello, I am having a problem aligning a cell in a table and have tried everything I can think of to correct this without any luck: It appears that the white area, which is an image in the background of this table within a table is shifted slightly to the right. It's driving me crazy. Any help would be greatly appreciated. Here is the url and the code for the whole page: http://kittelbergerdesign.com/indextest.html <html> <head>...
by: JJA | last post by:
Please advise on how I can get this content (from "Choose a Map" down to the "Show Map" button) to be positioned at the top of this table cell. Please see: http://www.mortgagedataweb.com/devmdw/marketshare/parmsv3_selectcustommaps.asp I know I should not be using HTML tables for presentation structure but this is legacy stuff I need to modify quickly.
by: agbee1 | last post by:
Hello: I've finally made the effort to ween myself from overly using tables and use CSS for my positioning. However, I am having a problem with my navigational menu properly aligning in Firefox, despite the fact that I have gotten a green light from W3. link to problem page: I didn't see a feature to attach my css code so I pasted sections of the code that dealt with layout and navigation below. Thanking you in advance,
by: gubbachchi | last post by:
Hi all, I have a problem with css table. The code below works fine with firefox but the problem is with Internet explorer. This code actually fetches data from mysql database and display it in the form of table for which I have used CSS. In firefox the fetched are aligned properly but in Internet explorer, the width alignment is messed up. Here is the code I am using main.php <html> <head> <link href="main.css" rel="stylesheet"...
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.