Two questions (one semantics, one CSS)
This is the prototype survey I am putting together:
http://www.housing.uwaterloo.ca/surveys/phpsurveyor/index.php?sid=1&newtest=Y
I've managed to strip most of the invalid code out of the php files but I've got two problems left:
- I can't seem to get rid of the border around that fieldset - why?? I've tried various combinations of CSS selectors but I can't figure it out
- See that table for the first question? It's not a table, but how else should I mark it up? Should the comments go beside the entry or below? Below might be easier...
Thanks for any suggestions
Megan posted this at 19:36 — 15th November 2006.
She has: 11,421 posts
Joined: Jun 1999
Solved problem #1 (It would help it I spelled it right! )
Renegade posted this at 19:57 — 15th November 2006.
He has: 3,022 posts
Joined: Oct 2002
FYI, that page doesn't have a background colour
JeevesBond posted this at 13:02 — 16th November 2006.
He has: 3,956 posts
Joined: Jun 2002
It's a difficult one. If you're on a tight schedule it's probably not worth thinking about as it's so close.
You could use a list. I've never tried, but is it possible to put a div inside a list item? You could use that for layout. Lists can be nested, both lists and divs are block-level elements so you hopefully wont have an issue.
a Padded Cell our articles site!
Megan posted this at 20:57 — 16th November 2006.
She has: 11,421 posts
Joined: Jun 1999
I haven't gotten around to deciding what to do with that yet
Question: in php, what are \t and \n for? So if there's a line like [incode]echo "\t\t\t\t\n";[/incode], what are the \t and \n doing? Why so many \t???
Megan
Connect with us on Facebook!
Busy posted this at 21:01 — 16th November 2006.
He has: 6,151 posts
Joined: May 2001
\t = tab
\n = new line
your source code would show the tabbed and new lines
DDoSAttack posted this at 20:38 — 18th November 2006.
He has: 38 posts
Joined: Oct 2006
To take it one step further...
/r is a carriage return
It is also a good idea to use both /r/n together because of the way that Macs, *nix, and Windows all recognize and render their new lines
Megan posted this at 21:30 — 16th November 2006.
She has: 11,421 posts
Joined: Jun 1999
Oooooohhhhhh! That explains a lot. Thanks :)
Busy posted this at 21:19 — 18th November 2006.
He has: 6,151 posts
Joined: May 2001
thats only for emails, for the web it doesn't matter unless your fussy about the source code.
The \n (for example) puts the content in the source code on a new line, not the content on the page, to do that you still need to use or similar
DDoSAttack posted this at 22:55 — 18th November 2006.
He has: 38 posts
Joined: Oct 2006
Sorry, your right, I should have clarified that.
Thanks
Dragon of Ice posted this at 22:50 — 22nd November 2006.
He has: 578 posts
Joined: Jun 2004
I don't see why the question isn't a table? It's tabular data, no?
Megan posted this at 14:20 — 23rd November 2006.
She has: 11,421 posts
Joined: Jun 1999
That link is different now, sorry. The ones you see now are tables (although I wouldn't exactly describe that as 'tabular data'). The one I was talking about is now the second-last question from the bottom, the "Multiple options with comments". That was originally a table with the comments in a separate column.
Megan
Connect with us on Facebook!
Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.