
apache wrote: hello iam trying to insert a table inside a block, but each time i do so , it messes up all the gfx etc inside the block , everything goes all over the place? yeah the table shows fine in its own page , whats up ? do i have to do something first b4 using html inside a block ? cheers Posted: Mon Mar 21, 2005 6:47 pm
admin(Mark) wrote: Hi Apache, you need to convert it to php and use $content. Below is an example. What i do is visit http://quasarcr.com/html2php/ . Paste my html code in the box and select Return with and in the box i type $content.= Convert to php then for the first $content I remove the dot [.] so it looks like $content= [php:1:7c666bf790] $content= "<table width='20%' border='0'>"; $content.= "<tr>"; $content.= "<td>hhhhhhhhhhhhhhh</td>"; $content.= "<td>hhhhhhhhhhhhhh</td>"; $content.= "</tr>"; $content.= "<tr>"; $content.= "<td>hhhhhhhhhhh</td>"; $content.= "<td> ;;</td>"; $content.= "</tr>"; $content.= "<tr>"; $content.= "<td> ;;</td>"; $content.= "<td> ;;</td>"; $content.= "</tr>"; $content.= "</table>"; [/php:1:7c666bf790] I hope this helps, if not paste the table you are trying to get to work and i'll fix it for you and show you where you might be going wrong. Posted: Tue Mar 22, 2005 2:03 pm
apache wrote: hiya again, wel i tried that and had content etc splattered all over the place lol, here is the code. erm it wont let me insert the code says the html tags were not allowed so i have linked the file so u can view source http://homepages.nildram.co.uk/~bluetak/temp.html now this is the way i need it to be laid out (in the middle of my page.i guess the only way that would be is in a block ?, the colour is whatever , just seeing if it worked .. if u see this as html it works fine,but inside a block it has disasterous results after you have finishing laughing at the html i created and whilst u look at this, i was wondering if there was a module to be had that ..has a place to input Date:release name:group:size: etc ? then when i inputted the relevnt data it would create the table itself .. if not then np i would be glad just to get this sorted Posted: Tue Mar 22, 2005 2:41 pm
admin(Mark) wrote: Here is a working version. The onmouse over was causing the problems. http://www.westernstudios.net/downloads/block.txt Click view source and copy. I am going to install a code paste bin soon because most codes cannot be pasted in the forums Posted: Tue Mar 22, 2005 3:30 pm
apache wrote: hi ya again, right ..i tried what u said and it had this " " " " " " then the correct layout .so ..it half worked !! sooo what i tried again was this .. http://homepages.nildram.co.uk/~bluetak/images/Image1.gif and it worked !!! so u what ever u did to the mouse over or whatever it was sorted it your knowledge and me being mr random man seemed to pay off!! cant thank you enough btw ..what a great site iam now part of ..big thumbs up , cheers apache Posted: Tue Mar 22, 2005 5:21 pm
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||