473,911 Members | 5,835 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 1388
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
2444
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
1851
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
1930
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
2267
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
1547
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
3054
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
3111
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
2462
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
2047
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
10037
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
11349
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...
0
10921
jinu1996
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...
0
10541
tracyyun
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...
0
9727
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
8099
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
6142
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4776
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
3
3360
bsmnconsultancy
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.