Center This Form |
Center This Form |
Danny |
Sep 24 2007, 04:33 PM
Post
#1
|
Group: Members Posts: 6 Joined: 23-September 07 Member No.: 3,891 |
I cannot seem to get this form centered on my pages when displayed in Firefox
although it appears centered in IE. Any ideas? Thanks http://www.travel-ascending.com/condo_rentals.htm The same occurs with most all forms within my site, they center i IE and displace in Firefox. Thanks again |
pandy |
Sep 24 2007, 04:46 PM
Post
#2
|
🌟Computer says no🌟 Group: WDG Moderators Posts: 20,731 Joined: 9-August 06 Member No.: 6 |
I guess you try to center it with 'text-alígn: center'. That centers inline elements, not block level elements (except in IE).
http://css-discuss.incutio.com/?page=CenteringBlockElement |
Darin McGrew |
Sep 24 2007, 05:21 PM
Post
#3
|
WDG Member Group: Root Admin Posts: 8,365 Joined: 4-August 06 From: Mountain View, CA Member No.: 3 |
Actually, looking at the markup and CSS, I can't see that any attempt has been made to center the form.
|
pandy |
Sep 24 2007, 06:03 PM
Post
#4
|
🌟Computer says no🌟 Group: WDG Moderators Posts: 20,731 Joined: 9-August 06 Member No.: 6 |
It's double centered in IE.
CODE .style1 { text-align: center; } HTML <div align="center"> <table cellpadding="1" cellspacing="0" style="width: 75px"> <tr> <td style="height: 75px; width: 75px" class="style1"> <DIV CLASS="centeralign"> (the class 'centeralign' doesn't exist.) |
Danny |
Sep 24 2007, 06:25 PM
Post
#5
|
Group: Members Posts: 6 Joined: 23-September 07 Member No.: 3,891 |
<div align="center">
Worked like a charm and aligned it in Firefox... Thanks Everyon |
pandy |
Sep 24 2007, 07:16 PM
Post
#6
|
🌟Computer says no🌟 Group: WDG Moderators Posts: 20,731 Joined: 9-August 06 Member No.: 6 |
Uhm, I posted the code you already use. I didn't mean you should use <div align="center">.
|
fallOut.mi |
Sep 26 2007, 12:13 AM
Post
#7
|
Group: Members Posts: 2 Joined: 26-September 07 Member No.: 3,911 |
Or you could also throw <center> at the beginning of the body and </center> at the end.....
|
Lo-Fi Version | Time is now: 26th April 2024 - 05:38 PM |