473,614 Members | 2,352 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.

Thanks
Sunil
Nov 29 '07 #1
3 1374
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
iamconfused
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.

Sunil
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

1
2429
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
1
1837
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...
1
1917
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...
28
2236
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.
1
1532
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.
1
3038
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 ...
11
3092
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>...
2
1691
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.
2
2443
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,
2
2031
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"...
0
8198
marktang
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...
0
8142
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,...
0
8642
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
8294
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,...
0
7115
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6093
isladogs
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...
0
5549
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4058
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
1758
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.