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;
}
|
|
|
 |
|