Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>Try this, Added css for img</p> <pre><code>&lt;%@ page language="java" contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1"%&gt; &lt;!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"&gt; &lt;html&gt; &lt;head&gt; &lt;meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"&gt; &lt;title&gt;Insert title here&lt;/title&gt; &lt;style type="text/css"&gt; .headul { display:block; padding:0px; border:0px; margin:0px; } .headli { list-style:none; display:block; letter-spacing:0; float:left; margin:0px; border:0px; padding:0px; } .headli a { float:left; display:block; letter-spacing:0; float:left; margin:0px; border:0px; padding:0px; } .headli a img{ float:left; display:block; letter-spacing:0; float:left; margin:0px; border:0px; padding:0px; } &lt;/style&gt; &lt;/head&gt; &lt;body&gt; &lt;ul class="headul"&gt; &lt;li class="headli"&gt;&lt;a href="#"&gt;&lt;img src="../images/user.png"/&gt;&lt;/a&gt;&lt;/li&gt; &lt;li class="headli"&gt;&lt;a href="#"&gt;&lt;img src="../images/user.png"/&gt;&lt;/a&gt;&lt;/li&gt; &lt;li class="headli"&gt;&lt;a href="#"&gt;&lt;img src="../images/user.png"/&gt;&lt;/a&gt;&lt;/li&gt; &lt;li class="headli"&gt;&lt;a href="#"&gt;&lt;img src="../images/user.png"/&gt;&lt;/a&gt;&lt;/li&gt; &lt;li class="headli"&gt;&lt;a href="#"&gt;&lt;img src="../images/user.png"/&gt;&lt;/a&gt;&lt;/li&gt; &lt;li class="headli"&gt;&lt;a href="#"&gt;&lt;img src="../images/user.png"/&gt;&lt;/a&gt;&lt;/li&gt; &lt;li class="headli"&gt;&lt;a href="#"&gt;&lt;img src="../images/user.png"/&gt;&lt;/a&gt;&lt;/li&gt; &lt;/ul&gt; &lt;/body&gt; &lt;/html&gt; </code></pre> <p><strong>Before change</strong></p> <p><img src="https://i.stack.imgur.com/U8Fah.png" alt="enter image description here"></p> <p><strong>After change</strong></p> <p><img src="https://i.stack.imgur.com/NxuIy.png" alt="enter image description here"></p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload