<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Problem with CSS padding/margin]]></title><description><![CDATA[<p dir="auto">Hello!<br />
I’m rather new to HTML/CSS and programming in general. I have encountered a problem regarding the navigation area on my up and coming webpage.<br />
The problem, in this case, is that I can not find a way to remove some margin/padding on the other side of the navigation bar (the navigation is set to <strong>float:left</strong>)<br />
I have tried everything. I’ve tried to look through if I have set any padding or margin on the text of the navigation bar and can’t seem to find the source of it.</p>
<p dir="auto">Could it be because of a regular syntax error or could it be because <strong>list-style-type:none</strong> is stopping it from deleting the margin?<br />
Are there further enhancements I can make to my code here, as I am not an expert at this yet?</p>
<p dir="auto"><strong>My code is the following:</strong><br />
#nav {<br />
background:gray;<br />
float:left;<br />
padding:0px 0px 60px 0px;<br />
width:26.3%;<br />
margin:0px;<br />
}</p>
<p dir="auto">#nav ul {<br />
margin:0px;<br />
}</p>
<p dir="auto">#nav ul li {<br />
color:white;<br />
list-style-type:none;<br />
margin:38px 0px 38px 0px;<br />
font-weight:bold;</p>
<p dir="auto">}</p>
<p dir="auto">#nav ul li a {<br />
background:black;<br />
color:white;<br />
padding:15px 10px 15px 0px;<br />
margin:0px;</p>
<p dir="auto">}</p>
]]></description><link>https://community.notepad-plus-plus.org/topic/14969/problem-with-css-padding-margin</link><generator>RSS for Node</generator><lastBuildDate>Wed, 19 Aug 2026 14:21:16 GMT</lastBuildDate><atom:link href="https://community.notepad-plus-plus.org/topic/14969.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 23 Dec 2017 22:52:15 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Problem with CSS padding/margin on Sun, 24 Dec 2017 00:01:00 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/tomass1047" aria-label="Profile: tomass1047">@<bdi>tomass1047</bdi></a></p>
<p dir="auto">Sorry, dude, this is not the right place to discuss that.<br />
This Community is for Notepad++ - related discussion.<br />
Good luck in your quest for answers–somewhere else.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/28936</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/28936</guid><dc:creator><![CDATA[Scott Sumner]]></dc:creator><pubDate>Sun, 24 Dec 2017 00:01:00 GMT</pubDate></item></channel></rss>