I can't figure out how to center a field set using CSS. It doesn't render in Firefox or IE. HELP Mee!!
Basically, I have a DIV (id is header) that contains the logo div (contains logo image) and login box div (contains web form). Well, I'm having a difficult time centering the form or anything in the form. What I would like to do is center the whole form (including the fieldset) within my document. I tried the text-align property, but it isn't working, which is kind of ticking me off. I do NOT want to use absolute positioning. There are many reasons for this.
Okay, I got Google Chrome, Firfox, Safari, and Internet Explorer .....
My website is compatible with IE. Everything displays properly with IE.
My website doesn't display properly with the other three. I know there's something that I'm missing ... there has to be ... for my website to work in all four of the web browsers. If you want to take a look at my site:
The solution is simple, I finally got it. The form and fieldset are centered on the page. Very soon, I'm going to be uploading all of my files to my website. Take a look at my website: http://www.skstidh.us ... This website is not in competition with CoderProfile. My site is more/less being created for portfolio purposes.
This works for IE, Opera, Firefox, Safari, and Google Chrome:
<!DOCTYPE html PUBLIC"-//W3C//DTD XHTML 1.0
Strict//EN""http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
Select what you want to copy and in doing so you will keep the formatting when pasting it.
You really should refactor that
Since your doing a framework based on objects, i would recommend you checkout the zend framework before creating your own. It's easy to use, it took me less thyan 3 hours to create a 3 page website using the zend framework.
I've taken a look at several frameworks ... and I know that their classes are easily extendable, but my main concern is .... how will I really learn PHP by using someone elses work? My PHP database connections are much better now than they were several months ago. My registration/validation scripts are bug-less.
One thing that I've been trying to figure out is creating php configuration files, because I want to make a PHP setup script ... which will start out with the user supplying basic database information (server name, admin username, admin password, and database). Anyways, you get the idea.
I bought 2 PHP books, one is for PHP 5 and the other is for PHP 6, both include MySQL 5 support. They're helping me so much.
P.S
Hehe, I'm going to make the installation file allow the user to choose which form of validation he/she wants ... and I'm going to include all the files needed for every form of validation, except for frameset. I don't like frames very much.
You do not have permission to post replies to topics in this board. If you want to join in with discussions and create new topics please register. If you want to register your own free account with us, please click here.