-
Recently Browsing 0 members
- No registered users viewing this page.
-
Similar Content
-
Google to discontinue the Basic HTML version of Gmail next year
By Chasethebase,
- 1 reply
- 4 views
-
- 0 replies
- 4 views
-
Google Chrome 108 is coming today with lots of deprecations and improved COLRv1 support
By Usama Jawad96,
- google chrome
- (and 6 more)
- 1 reply
- 4 views
-
Get this Price Dropped Coding 101 Bootcamp Beginners Bundle for only $24.99
By News Staff,
- zenva academy
- coding 101
- (and 11 more)
- 1 reply
- 5 views
-
- 3 answers
- 3,182 views
-
Question
Mohammad_Khalid_Hussain
Assalamalaikum (Peace be unto you) to all the Muslims,
And a friendly Hi! to everyone else :)
I'm currently having a problem with aligning a simple form in an html/php file using CSS. I'm a complete beginner and have tried various approaches including setting both left and right margins to auto, by centering the text, and trying to mix the two but am still unable to achieve the results I want.
Here is the source:
Basically what I want is to center all the elements but WITHOUT aligning the text to center as well. I want the text margins to start from the left but still be in the center of the page. If you need further clarification, please do ask.
Any help would be much appreciated. Thanks a lot.
Link to comment
Share on other sites
15 answers to this question
Recommended Posts