Our Sponsors



PHP Nuke Subscription
The #1 php nuke subscription module.
www.westernstudios.net

Your Ads Here
Advertise with Western Studios.
www.westernstudios.net

Theme Shop
Get the best in phpnuke themes, stock photos, icons from Western Studios themes shop.
shop.westernstudios.net

PHP Nuke Downloads
The latest and best in php nuke downloads.
www.westernstudios.net

Live Tutorials
PHP, Photoshop, flash, illustrator tutorials.
www.live-tutorials.com




Western Studios :: View topic - tables
 Forum FAQForum FAQ   SearchSearch   UsergroupsUsergroups     ProfileProfile   Log inLog in 


tables


Goto page 1, 2  Next
 
Post new topic   Reply to topicprinter friendly version    Western Studios Forum Index -> Web Design
Western Studios

WS Newbie
WS Newbie
~PHP Nuke User~


Posts: 24
Next Group: 26 posts
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

Western Studios

Site Admin
Site Admin
~PHP Nuke User~

Platinum Subscriber

Posts: 3308
Staff
Next Group: 1692 posts
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

Western Studios

WS Newbie
WS Newbie
~PHP Nuke User~


Posts: 24
Next Group: 26 posts
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 Razz
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

Western Studios

Site Admin
Site Admin
~PHP Nuke User~

Platinum Subscriber

Posts: 3308
Staff
Next Group: 1692 posts
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

Western Studios

WS Newbie
WS Newbie
~PHP Nuke User~


Posts: 24
Next Group: 26 posts
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 Smile
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

Post new topic   Reply to topic    Western Studios Forum Index -> Web Design All times are GMT - 5 Hours
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Related topics
 Topics   Replies   Author   Views   Last Post 
No new posts hello from the uk 1 Guest 365 Sat Mar 26, 2005 7:33 pm
admin View latest post
No new posts Hello, new to the site 3 Guest 465 Sat Mar 26, 2005 2:17 pm
Jabba View latest post
No new posts hello 1 Guest 389 Thu Mar 24, 2005 8:57 am
admin View latest post
No new posts Nuke theme 5 admin 606 Sat Jun 05, 2004 4:37 pm
admin View latest post
 
Forums ©