HTML coding for table gone wrong?
-
Hey. I’m still new to HTML and I’ve coded a table manually, but I’m having trouble creating the image I need. The link is below. Under the “Character(s)” column, as you can see, they’re all at the bottom for each row, whereas I’d like them in the centre. I’ve aligned them to the centre but they still stay at the bottom so I’m clueless. Thanks.
-
-
-
The table seems to be set correctly as far as I can see. Adding a valign attribute to either the tr or td tags should help, but it’s not making a difference for me.
http://www.w3schools.com/tags/att_tr_valign.asp
http://www.w3schools.com/tags/att_td_valign.asp
Did you build this table with an app like Microsoft Word?
-
I used http://www.robshelp.com/OtherTools/TableMaker/TableBuilder.htm to code it, but I’ve had no problems like this before.
I tried the valign coding, but all it did was move the table column over (as you can see – http://cinematicdisturbance.com/shotlist/) rather than shift the text upwards.
-
-
-
Well, that’s unfortunate.
So, what’s going on here is a pretty classic example of why tables really aren’t used much anymore. :)
The cell with the image is taking precedence and the other elements are adjust and aligning to it. Basically the text thinks it should be under the image, even though it’s in another cell.
Have you considered publishing this as a gallery, where the character names are in the image’s caption?
-
I like the layout and would love to do that, but I can’t seem to find a way to enter more than one caption. For example, if an actor plays more than one character. I can only seem to type one. And can’t change the font.
-
What I’d do is enter it as just a comma-separate list, so “Actor: Character 1, Character 2, Character 3”.
- The topic ‘HTML coding for table gone wrong?’ is closed to new replies.