table in php browser incompat. prob.

Reply

Join Date: Jul 2005
Posts: 1
Reputation: breakaway is an unknown quantity at this point 
Solved Threads: 0
breakaway breakaway is offline Offline
Newbie Poster

table in php browser incompat. prob.

 
0
  #1
Jul 25th, 2005
I have a script that has tables embedded inside php. When I change the td width in a table, it shows up in internet explorer, but it doesnt show up in firefox. I am having to do
HTML and CSS Syntax (Toggle Plain Text)
  1. <td width='230' .....
because the "" will throw off the PHP. I am curious what I need to do to get firefox and IE to both recognize the table width, because only IE is doing it now.

Thanks.
Reply With Quote Quick reply to this message  
Join Date: Dec 2004
Posts: 4,257
Reputation: peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of 
Solved Threads: 493
Moderator
Featured Poster
peter_budo's Avatar
peter_budo peter_budo is offline Offline
Code tags enforcer

Re: table in php browser incompat. prob.

 
0
  #2
Jul 26th, 2005
You may try inline CSS
Learn to see in another's calamity the ills which you should avoid.
Publilius Syrus
(~100 BC)

LJC - London Java Community, Graduate & Undergraduate Software Development Community, JAVAWUG (Java Web User Group), The London Android Group
Reply With Quote Quick reply to this message  
Join Date: Aug 2005
Posts: 10
Reputation: Kschikan is an unknown quantity at this point 
Solved Threads: 2
Kschikan Kschikan is offline Offline
Newbie Poster

Re: table in php browser incompat. prob.

 
0
  #3
Aug 5th, 2005
To agree with peter, CSS is usually the way to go.

Of course, since you're using php, you could always use a backslash in front of your double quotes (like so: \") so that PHP will recognize it as part of your HTML, not your PHP
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:




Views: 2548 | Replies: 2
Thread Tools Search this Thread



Tag cloud for HTML and CSS
About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC