![]() |
| >>> Click
here to download Final Fantasy Ringtones |
| Former Staff |
#1 I can't get tables to show right in internet explorer, but they show perfectly in Firefox. I checked and rechecked a million times to make sure I closed all my tags and that they were correct. For example, let's take this: <table> <tr> <td> Blah blah <table> <tr> <td> blah </td> </tr> </table> </td> </tr> </table> Now, IE makes it so that when I close the table tags for the table INSIDE the content, it registers it as closing the original table tags, and that completely screws over the layout. T_T Does anyone know how to fix this? (My tables are a lot more complicated than that, but I checked and closed everything right!) EDIT: Okay. I rewrote a lot of the script and tested, and it's due to this in my header: table { width:expression(document.body.clientWid th > 1100? "1100px": "auto" ); } When I removed it, the tables inside the tables close fine, but it brings out other problems with the table after I exceed the 1100px limit and doesn't actually set a max width. There's no way I can get multiple tables and max-width for tables to be compatible? Screw you, IE people. I hate you all. Last edited by Jojee; 04-15-2008 at 01:05 AM. |
| | |
| |
| Former Staff | It looks soooo bad though. xD It's not just a huge table, it looks cut off and wrong and disjointed. Edit: And that's even with the width:expression removed, because I have max-width: 1100px for other browsers. Edit2: Oh, I know what's up with that. If I eliminate width:expression entirely, I have to redo all of my images, and then it won't look disjointed but will have huge tables. Ugh. Can't I have IE max width and tables? Maybe I'll start looking into redoing all my images. Edit3: Okay I redid all my images and am just letting IE people have a freaking huge table that drags across the screen if they're on high resolutions. xD Anyone dumb enough to be using IE probably doesn't have a big resolution anyway, right >.> Still if anyone could figure out how to make IE's width expression and multiple tables compatible, please tell me. Last edited by Jojee; 04-15-2008 at 01:49 AM. |
| | |
| Site Staff | Here are two solutions: 1. Instead of defining the style for all tables, define a class and set name or id of the tables to be affected. 2. HTML Code: <html> |
| | |
| Former Staff | It still makes the tables mess up I think. Anyway thanks xD I think I'll just let IE users see huge tables, they deserve it I hate them. xD So I have a different question now~ using PHP, I'm making a quiz, right? I'm using arrays for the responses... $answers_array = array( 1=> " Yes|1 No|2", etc So that's question #1. A yes corresponds with result #1, and No corresponds with result #2. Is there any way I can get an answer to correspond with multiple results? I'm really a PHP noob. |
| | |
| Site Staff | I'm assuming the "1" in "Yes|1" is some piece of data that needs to accompany the "Yes" here (like order, or points, or rank). ![]() You could do something like this: PHP Code: PHP Code: |
| | |