Having problems with th tag in a table.
C H A L L E N G E Can you find all of the mistakes? (at least 14)
I am trying to use the th tag in a table. Anybody know what I'm doing wrong. Before I posted the tag worked fine but all the th tags have been removed during the post. Thank you for investigating this issue. -- bandit --
5 Answers
I think I´ve got the table correctly now.
using the Daring Mareball Markdown format:
| My attempt | English translations | Correct answers | Reasons for corrections | |
|---|---|---|---|---|
| 1 | Busco más que dos libros. | I'm looking for more than two books. | Busco más de dos libros. | buscar - to look for; use de rather than que when followed by a number |
| 2 | Quiero otro libro. | I want another book. | Quiero otro libro. | OK |
| 3 | Mi hermano mayor baila bien. | My older brother dances well. | Mi hermano mayor baila bien. | Ok |
| 4 | Mi hermana menor es doctora. | My younger sister is a doctor. | Mi hermana menor es doctora. | OK |
| 5 | Ella va a moverse este fin de semana. | She is going to move this weekend. | Ella va a mudarse este fin de semana. | use mudarse rather than moverse when moving/changing addresses |
| 6 | ¿Quién puedo comer con? | Who can I eat with? | ¿Con quién puedo comer? | Spanish doesn't allow a preposition at the end of a sentence |
| 7 | Pregunté por una cerveza. | I asked for a beer. | Pedí una cerveza. | preguntar - to ask for knowledge; pedir (i) is asking for something, in a restaurant or bar |
| 8 | No me darse cuenta de. | I didn't realize. | No me di cuenta. | realizar is to carry out, execute; darse cuenta is when you realize something |
| 9 | ¿Te recuerdas a Juan? | Do you remember John? | ¿Recuerdas a Juan? | recordar doesn't have the reflexive pronoun; acordarse does |
| 10 | Es vestido en rojo. | He is dressed in red. | Está vestido de rojo. | estar for dressed and de rather than en when saying dressed in + a color |
| 11 | Me gustan los cuentos de aventura. | > I like adventure stories. | Me gustan los cuentos de aventura. | OK |
I updated your post with row numbers in correct position.
The < th > tag gets swallowed up, even if the end tag < /th > is used correctly.
There may be some escape codes needed, but I haven't found them yet.
Anyway, your post is formatted at bit better, but somehow lost the border setting!
Here's my try at a few rows, using the Markdown format:
| My attempt | English translations | Correct answers | Reasons for corrections | |
|---|---|---|---|---|
| 1 | Busco más que dos libros. | I'm looking for more than two books. | Busco más de dos libros. | buscar - to look for; use de rather than que when followed by a number |
| 2 | Quiero otro libro. | I want another book. | Quiero otro libro. | OK |
| 3 | Mi hermano mayor baila bien. | My older brother dances well. | Mi hermano mayor baila bien. |
Just to mention it, you can link directly to your reply, rather than the thread if you use the link code given at your reply (a href) rather than the link icon given in the editor (http...).
links to your specific reply
C H A L L E N G E Can you find all of the mistakes? (at least 14)
I think the answer is that they keep updating the text editor and is keeps changing which html/xhtml tags that it will accept.
I copied this table directly from the w3 schools example on table headers. Note that this editor does not bold the table headers as was intended or as other editors do. Comment for table headers at w3 schools:
All major browsers will display the text in the element as bold and centered.
So maybe it is browser dependent and not this editor's fault.
copied table
| row 1, cell 1 | row 1, cell 2 |
| row 2, cell 1 | row 2, cell 2 |
hmm. Now it is not recognizing the table border. It did earlier. Fickle editor.
Q:
1- Thanks for the information about the linking to a question vs. the response to the question; which is really a good idea. I've forgotten alot of the coding and will have to review this some more. Edit: Where did the numbers #a440806 come from? I don't remember, though I think I remember they do the linking.
2- Yes, I agree it probably is in the browser. Right now I'm using IE 9 because I'm dealing with plug-in issues. I'd rather be in Google Chrome fully or IE 9 fully but some sites don't have "Chrome" yet, and this IE 9 is full of problems. Its a pain to have to go back and forth!
3- Ive copied your table and will see if I can use it like a template.
Muchas gracias for your help!