Also try this: <img src="img/next_page.png" alt="next page" />
~Chetan On Mon, Dec 6, 2010 at 10:58 PM, Chetan Crasta <chetancra...@gmail.com> wrote: > Please provide a link to the page so that we can check the code. > > ~Chetan > > On Mon, Dec 6, 2010 at 10:51 PM, Yu-Hsuan Lai <rainco...@gmail.com> wrote: >> But... display:block will break my layout. >> If you consider my short link doubtful, see >> picasa:http://picasaweb.google.com/raincolee/UntitledAlbum#5547620075452991186 . >> >> On Tue, Dec 7, 2010 at 1:18 AM, Chetan Crasta <chetancra...@gmail.com> >> wrote: >>> >>> Try <a class="tool" >>> style="padding:0;border:0;margin:0;display:block;height:100%" >>> href="#"> >>> >>> ~Chetan >>> >>> On Mon, Dec 6, 2010 at 10:29 PM, Yu-Hsuan Lai <rainco...@gmail.com> 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? >>> > >>> > -- >>> > Lai, Yu-Hsuan >>> > ______________________________________________________________________ >>> > css-discuss [cs...@lists.css-discuss.org] >>> > 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/ >>> > >> >> >> >> -- >> Lai, Yu-Hsuan >> > ______________________________________________________________________ css-discuss [cs...@lists.css-discuss.org] 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/