On Tue, 7 Dec 2010, Yu-Hsuan Lai wrote:
My HTML is :--- <a class="tool" style="padding:0;border:0;margin:0" href="#"> <img height="100%" src="img/next_page.png" alt="next page" /> </a> --- I think that <a> should fill up with <img>, but in fact, <img> is smaller than <a>. Like this:http://ppt.cc/RqlC Can I make them the same size?
Style the IMG with display:block; -- Chris F.A. Johnson, <http://cfajohnson.com> Author: Pro Bash Programming: Scripting the GNU/Linux Shell (2009, Apress) Shell Scripting Recipes: A Problem-Solution Approach (2005, Apress) ______________________________________________________________________ css-discuss [[email protected]] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ List policies -- http://css-discuss.org/policies.html Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
