Go Back   TechArena Community > Software > Software Development
Become a Member!
Forgot your username/password?
Tags Active Topics RSS Search Mark Forums Read SiteMap

Tags: , , ,

Sponsored Links


How to make an Automatic Table Alignment

Software Development


Reply
 
Thread Tools Search this Thread
  #1  
Old 13-04-2009
FlayoFish's Avatar
Member
 
Join Date: Apr 2009
Posts: 79
How to make an Automatic Table Alignment

Sponsored Links
hello,

I have 6-7 tables in my database,each table has 4-5 fields in it,and each table contains minimum 20-25 records and the problem is that i wanted to align those tables, while making any idea about this it, i become dump and cannot go forward,so please give me some suggest how do i do that


Thanks in Advance.

Reply With Quote
  #2  
Old 13-04-2009
Member
 
Join Date: Oct 2008
Posts: 167
Re: How to make an Automatic Table Alignment

What have you been suggested in your problem I suppose it is related to Web page banner, Web page banners are constructed in parts using HTML tables to allow web page designers to reuse the banner for different window widths without requiring a separate banner for each width. The background image is defined in an HTML table. Each graphical image that in the prior art would normally be embedded within the single GIF image is separately overlaid, with a transparent background to allow the table background to remain visible, in a separate fixed-width cell of the table. Empty space regions are defined as transparent variable-width cells and appropriately positioned in the table. The user's browser automatically resizes the variable-width cells to adjust the width of the table to cover the width of the window that displays the web page.
Reply With Quote
  #3  
Old 13-04-2009
Member
 
Join Date: Apr 2008
Posts: 193
Re: How to make an Automatic Table Alignment

The following are real-life cases where you can get automatic table alignment indispensable:

I will try to explain you with the following example:
While working in a small team of 3-5 developers, very often, one of the developers will need to modify the underlying table structure to accommodate for a new attribute. POG setup allows the developer to regenerate the PHP object class, align his local database and commit the new object(s) to a common code repository when the code is deemed satisfactory . All the remaining developers then simply need to do a repository update and run POG Setup. They too have the latest database schema on their machine with database access code that is 100% aligned with the database.
Reply With Quote
  #4  
Old 13-04-2009
Khushal's Avatar
Member
 
Join Date: Mar 2008
Posts: 258
Re: How to make an Automatic Table Alignment

You may achieve this using PHP as well. You probably have "CENTER" defined in your style sheets or tables somewhere. I am pretty sure because "center" is not the default. alignment left is the default.

You can check your CSS file or your html pages for the "center" definition. You can just use a text editor and search for "center".

One way to "fix" this is to put this around your include statement

<p style="text-align:left"><?php include("page.html") ?></p>

but this will not always work because if you have any </p> in your page.html, it will default back to center.
Reply With Quote
Reply

  TechArena Community > Software > Software Development


Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: "How to make an Automatic Table Alignment"
Thread Thread Starter Forum Replies Last Post
Automatic sort and update league table in Excel Raju Chacha Windows Software 3 08-01-2012 03:18 PM
Dell AIO 922 Automatic alignment issues Haviva Portable Devices 3 07-12-2010 04:53 AM
WiPlan - Make antenna alignment easy and accurate. fumi22 India BroadBand 2 08-06-2010 12:29 AM
How to make a table in illustrator FlayoFish Windows Software 3 31-08-2009 03:49 PM
How to make table drop down menu Odalis Software Development 3 13-07-2009 06:43 PM


All times are GMT +5.5. The time now is 11:40 AM.