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

<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.


Recommended Answers

All 2 Replies

You may try inline CSS

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

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.