steveclondon Posted September 6, 2008 Share Posted September 6, 2008 Hi, I am putting a couple of select boxes in a cell on a table, on firefox it displays fine one box after the other, on ie 7 it puts the second box after the text. Any ideas? Example of the code below, you can see here that you have at: then another box, but ie 7 doesn't put it like that. I have tried a valign in the <td> but it didn't help. <td> Your advert will expire on: <input name="dateAdvert" id="dateAdvert" type="text" disabled="true" size="14" maxlength="22" readonly="true"> at: <select name="advertTime" id="advertTime" class="FormField" align="right"> <option value=" " selected>Expiry Time</option> </select> </td> Quote Link to comment https://forums.phpfreaks.com/topic/123054-solved-ie6-and-ie7-not-displaying-the-same-as-firefox-for-ltselectgt-in-lttdgt/ Share on other sites More sharing options...
dropfaith Posted September 6, 2008 Share Posted September 6, 2008 is there any width to the td or a second td? other wise you could always use 2 tds there one for each box to ensure it stays on a line Quote Link to comment https://forums.phpfreaks.com/topic/123054-solved-ie6-and-ie7-not-displaying-the-same-as-firefox-for-ltselectgt-in-lttdgt/#findComment-635468 Share on other sites More sharing options...
steveclondon Posted September 7, 2008 Author Share Posted September 7, 2008 Yea I think I will have to play around with splitting the table with 2 tds, although I did try this and it still did the same thing which was really wierd. Will have a play around with it again. Quote Link to comment https://forums.phpfreaks.com/topic/123054-solved-ie6-and-ie7-not-displaying-the-same-as-firefox-for-ltselectgt-in-lttdgt/#findComment-635723 Share on other sites More sharing options...
steveclondon Posted September 7, 2008 Author Share Posted September 7, 2008 I'm an idiot, didn't realise that I have align right on the second select box. All sorted now. Quote Link to comment https://forums.phpfreaks.com/topic/123054-solved-ie6-and-ie7-not-displaying-the-same-as-firefox-for-ltselectgt-in-lttdgt/#findComment-635737 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.