Msg#: 4622270 posted 10:08 pm on Nov 9, 2013 (gmt 0)
I have the following code, it's a mix of php and html. I'm trying to move the input boxes over to align them and when I try inline CSS, I receive parse errors. I tried adding a span style in between each <label> tag to move the text box over but it doesn't work. How do I do CSS within PHP?
Msg#: 4622270 posted 11:20 pm on Nov 11, 2013 (gmt 0)
You should be fine with adding inline styles, but it's better/easier to get right if reverse your single/double quotes in the PHP/HTML, because it's not only faster since PHP does not parse single quoted strings for variables, it also can have less unexpected behavior when you put something like $1 in the middle of a double "" string.