开发者

tables question simple

http://jsfiddle.net/rcZZb/7/

I want to put 2 boxes of text side by side below the top 2 images. When I try to add 2 Td's it doesn't work. I tried seting the width on the td but that didn't work. I wanted my 2 boxes of text to be different sizes but to fit still within the top 开发者_C百科table width.


You need to look into using colspan[docs]. I applied colspan="2" to your <td>'s which was solo inside their respective <tr>s.

Working demo: http://jsfiddle.net/AlienWebguy/rcZZb/11/

--------------------------
|  this spans 2 columns  |
--------------------------
|   1 column | 1 column  |
--------------------------


If i understood your question correctly you need to add colspan="2" to your td of your images. See: http://jsfiddle.net/rcZZb/10/


Check this fiddle.

http://jsfiddle.net/rcZZb/12/

You need to add colspan="2" to images' TDs.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜