phpmo Posted November 19, 2009 Share Posted November 19, 2009 In the forum I'm making if I post a large image like the one I posted here it stretches the table and messes up the layout. How does one get the image above everything like it does here so the forum layout stays intact? Link to comment https://forums.phpfreaks.com/topic/182115-img-bbcodehow-to-float-image-above-table-like-here/ Share on other sites More sharing options...
phpmo Posted November 19, 2009 Author Share Posted November 19, 2009 I was able to get it to work using this on the image, but the height of the table doesn't adjust with the image like it does here so I'm still missing something.. style="position:relative;z-index:10" Link to comment https://forums.phpfreaks.com/topic/182115-img-bbcodehow-to-float-image-above-table-like-here/#findComment-960752 Share on other sites More sharing options...
Cardale Posted November 19, 2009 Share Posted November 19, 2009 css methods are what your looking for. Not PHP, but since I am a good guy http://www.tizag.com/cssT/float.php Link to comment https://forums.phpfreaks.com/topic/182115-img-bbcodehow-to-float-image-above-table-like-here/#findComment-960753 Share on other sites More sharing options...
emopoops Posted November 19, 2009 Share Posted November 19, 2009 if the table height doesnt adjust to the image size u need to set the table height height:auto Link to comment https://forums.phpfreaks.com/topic/182115-img-bbcodehow-to-float-image-above-table-like-here/#findComment-960758 Share on other sites More sharing options...
Gayner Posted November 19, 2009 Share Posted November 19, 2009 What user would want to wait 2minutes for a pic to load? good luck getting far in ur career Link to comment https://forums.phpfreaks.com/topic/182115-img-bbcodehow-to-float-image-above-table-like-here/#findComment-960761 Share on other sites More sharing options...
phpmo Posted November 19, 2009 Author Share Posted November 19, 2009 That didn't work for me. It probably isn't a big deal. I doubt this issue will come up often. Gayner: If you'd read my earlier post you'd see I'm making a forum and was just trying to come up with a good way to handle a large image hitting my forum that a user might post. My career is just fine, but good luck with yours. Link to comment https://forums.phpfreaks.com/topic/182115-img-bbcodehow-to-float-image-above-table-like-here/#findComment-960769 Share on other sites More sharing options...
emopoops Posted November 19, 2009 Share Posted November 19, 2009 2 minutes? what are you using that darn lynksys again nick? that connection is slow as dirt. Link to comment https://forums.phpfreaks.com/topic/182115-img-bbcodehow-to-float-image-above-table-like-here/#findComment-960780 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.