|
|
| Welcome to the Mac Forums forums. Please read the FAQ if you have questions. Register to participate. |
|
|||||||
| TouchArcade.com - iPhone Game Reviews and News |
![]() |
|
|
Thread Tools | Search this Thread |
|
|
#1 |
|
macrumors 6502a
Join Date: Aug 2005
|
IE doesn't display my site properly...but I can't figure out why :S
http://www.clarkephotography.co.uk/files/dd/index.php
So this is my site, clicking hte view button on a thumbnail loads the picture in it's full res to view in the window, but for some reason it doesn't work in IE. Can anyone explain why? |
|
|
|
|
|
#2 |
|
macrumors 65816
Join Date: Apr 2007
Location: Germany
|
Answer: http://www.peterbe.com/plog/button-tag-in-IE
Why have a button anyway? You should just make the thumbnail a link.
__________________
Cheers 2.33 C2D 15.4" MacBook Pro 2GB RAM |
|
|
|
|
|
#3 | |
|
Thread Starter
macrumors 6502a
Join Date: Aug 2005
|
Quote:
Code:
echo '</tr><tr><td class="photo"><br>'.$trimname.'<br><img src="'.$file.'" alt="'.$file.'"/><p><center><form method="post" action="displaypic.php" class="button"><input type="hidden" name="pass" value="'.$trimname.'.jpg"><br><button>"View</button></form></center></td>'; |
|
|
|
|
|
|
#4 | |
|
macrumors member
Join Date: May 2007
Location: Born and raised in Honolulu. Currently living in Tokyo.
|
In order to get this to work in IE, you'll have to use the <input> tag rather than the <button> tag as far as I know. I don't think that you can get around this.
Quote:
Code:
echo '<A href="displaypic.php?'.$trimname.'"><IMG src="'.$file.'" alt="'.$file.'"/></A>'; I hope this helps =). |
|
|
|
|
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|