Jump to content

WTF


shane18

Recommended Posts

wow... if i want a cell to wrap around an image without 0 empty white space.... i have to use

 

<td style="font-size: 0px;"><img src="test.jpg"></td>

 

why do I need to set font-size or line-height to 0px? why does it create that extra space on top and on the bottom of the image...

 

----Also, is there a better way to get around this? this way seems noobish :(

Link to comment
https://forums.phpfreaks.com/topic/185956-wtf/
Share on other sites

Not in one thread I can't.

 

I suggest spending a few days doing some css tutorials to get a handle on how the basics work (a few days is more than enough). Then you can start asking some specific questions, rather than broad ones.

 

Apparently the tutorials on HTML dog are really good (google it).

Link to comment
https://forums.phpfreaks.com/topic/185956-wtf/#findComment-982038
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.