CodeCharge Studio
search Register Login  

Web Reporting

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> Archive -> GotoCode Archive

 How to centre a form using <TABLE Style="

Print topic Send  topic

Author Message
jmccann
Posted: 01/22/2003, 2:33 PM

I am using a CSS style sheet within my project. On certain pages I wish to centre align a particular form.

How can I get an individual form to be centred aligned?

I'v tried placing DIV tags within TABLE Style but nothing happens. I don't want to manually edit each html page.
lneisius
Posted: 01/22/2003, 5:13 PM

Rigt click the table and select TD Properties where you can select center under horizontal alignment.
If outside a table there are three text alignment boxes in the top menu.
kangus
Posted: 01/22/2003, 11:19 PM

I use three style sheets on CCS projects, one is what comes with CCS, one for custom styles and one for positional classes. Below is a class that centers a table when used as the tables class: class="CenterPage" If you don't want the box to float from top to bottom change the top: 50% to a fixed amount from the top.

.CenterPage {
right: 50%;
left: 50%;
width: 100px;
bottom: auto;
position: absolute;
top: 50%;
height: 30px;
z-index: 2;
visibility: visible;
}

   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

Internet Database

Visually create Web enabled database applications in minutes.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.