Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialMichael Bragg
811 PointsChanging PHP Forms from HTML to PHP and Styling.
. I'm building a large data-driven website. Many forms and textfields, select boxes and check, along with radio buttons. My question is this:
I can build the website pages in HTML, but how to I get them to layout correctly from vertically stacked to horizontally wrapped?
5 Answers
jamesjones21
9,260 Pointswithin your html, create a <div class="row"> the class row can then have a css property of display: inline-block, that should start you off with getting everything stacked horizontally. But worth sharing your code to also help.
Kind regards, James
Michael Bragg
811 PointsJames,
Most of the code HTML, PHP is forms for my web site that I've been working on for years, and now I'm changing from HTML to PHP with CSS and JS. Does each control needs it's own <div row tag? Also, when naming, what is a good practice?
jamesjones21
9,260 Pointscan you show me your current setup for your form ?
Michael Bragg
811 PointsDo you want a URL, or a file?
jamesjones21
9,260 PointsProvide the url an what you want, an I'll try an guide you in what you need to do :)
Michael Bragg
811 PointsJames,
To shorten this up, can we speak by phone. I've had four strokes, and two heart-attacks. My number is 605 212 2982. Thank you.
Michael Bragg
811 PointsI see you are in the UK, sorry. The URL is http://www.ezmortuarymanagement.com/demo user: test2 pass: 1