Note that there are some explanatory texts on larger screens.

plurals
  1. PO<li> tags in HTML improper behaviour
    text
    copied!<p>There is a lot of space before &amp; after the li {audi, bmw, etc} TAGs.i want to remove it but its not getting removed. &amp; the image in the 2nd li tag which is used as bullet has gone out of the screen.</p> <p>So pls. can anybody help me fix this 2 problems</p> <p><a href="http://i42.tinypic.com/b5k27s.jpg" rel="nofollow">http://i42.tinypic.com/b5k27s.jpg</a></p> <p>HTML CODE :</p> <pre><code> &lt;html&gt; &lt;`head&gt;` &lt;link rel = "stylesheet" type = "text/css" href = "myStyle2.css" /&gt; &lt;style type="text/css"&gt; #ul1 { list-style-image:url('1.bmp'); padding:0px; float:left; } &lt;/style&gt; &lt;title&gt;CARS&lt;/title&gt; &lt;/head&gt; &lt;body&gt; &lt;div class = "container" style=width: "100%"&gt; &lt;div class = "header" height = "20%" width = "100%"&gt; CARS &lt;/div&gt; &lt;div class = "list" height = "10%" width = "100%"&gt; &lt;ul class ="ul2"&gt; &lt;li&gt;&lt;a href = "#"&gt;HOME&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a href = "bmw.htm"&gt;BMW&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a href = "audi.htm"&gt;AUDI&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a href = "pors.htm"&gt;PORSCHE&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a href = "lamb.htm"&gt;LAMBORGHINI&lt;/a&gt;&lt;/li&gt; &lt;/ul&gt; &lt;/div&gt; &lt;ul id = "ul1"&gt; &lt;li&gt;AUDI&lt;/li&gt; &lt;li&gt;PORSCHE&lt;/li&gt; &lt;li&gt;BMW&lt;/li&gt; &lt;li&gt;LAMBORGHI NI&lt;/li&gt; &lt;/ul&gt; &lt;/div&gt; &lt;/body&gt; &lt;/html&gt; </code></pre> <p>CSS code :</p> <pre><code>@font-face { font-family: nsecthin; src : url('nsecthin.ttf') } body { margin:10px; background-color:green; } .header { text-align:center; text-transform:uppercase; color:black; text-decoration:underline; font-family:nsecthin,Constantia; font-size:2.0em; letter-spacing:3px; font-weight:bold; text-indent: 0; line-height:50px; background-color:yellow; border:2px solid white; } .list { font-family:constantia; font-size:2em; padding:0; margin:0; border:2px solid white; } .ul2 li { height:2px; list-style-type:none; float:none; width:100%; display:inline; border:2px solid white; } .ul2 a { float:none; width:1em; text-decoration:none; color:white; display:inline; background-color:blue; padding-left:0; border:2px solid white; } </code></pre>
 

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