Posted by: billconan | September 10, 2006

解决Firefox1.5中表格内图像留白的方法

不知道Firefox是成心还是bug,反正在表格内的图像可能会自动在下面留出一块空白,而同样的代码在ie中显示是正常的。
比如说这样的一段代码:

就会出现显示的问题。
解决的办法就是在标记中加上一个align属性。
比如:

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Categories

%d bloggers like this: