<?xml version="1.0" encoding="UTF-8"?>

<rss version="2.0" xmlns:blogChannel="http://backend.userland.com/blogChannelModule">

<channel>
<title>Possible to assign a &#x22;margin&#x22; to any element? in Webmasters and Developers</title>
<link>http://www.dslreports.com/forum/r19793584</link>
<description></description>
<language>en</language>
<pubDate>Sat, 28 Nov 2009 13:45:43 EDT</pubDate>
<lastBuildDate>Sat, 28 Nov 2009 13:45:43 EDT</lastBuildDate>

<item>
<title>Re: Possible to assign a &#x22;margin&#x22; to any element?</title>
<link>http://www.dslreports.com/forum/remark,19796677</link>
<description><![CDATA[<A HREF="/useremail/u/307353"><b>Sentinel</b></A> : That did the trick. Thanks Gwellin. Much appreciated.]]></description>
<guid isPermaLink="true">http://www.dslreports.com/forum/remark,19796677</guid>
<pubDate>Mon, 14 Jan 2008 08:01:17 EDT</pubDate>
</item>

<item>
<title>Re: Possible to assign a &#x22;margin&#x22; to any element?</title>
<link>http://www.dslreports.com/forum/remark,19795480</link>
<description><![CDATA[<A HREF="/useremail/u/1016514"><b>Gwellin</b></A> : Try using the &#0091;code&#0093;&#0091;/code&#0093; pseudo-tags that most forums offer you.  You could also enter it directly but replace the angle brackets with their meta-character equivalent; for example I can display angle brackets &lt; &gt; by entering this: &amp;lt; &amp;gt;<br><br>That combined with some previewing to make sure you got it right will give a more understanding post.<br><br>-<br><br>Anyways, about the horizontal rules you were trying to make.  You can easily use negative margins in this case for your rule; make them equal to the body margins and that should be it.<br><br><textarea name="code" class="text" cols=50 rows=10>&lt;hr style="height: 0px; border-width: 1px 0px 0px; border-top: 1px solid #0000ff; margin: 10px -10px;" /&gt;&#012;</textarea><!--end code block--><small>Assuming a body margin of 10px.</small><br><br>Also, horizontal rules are block elements, so you don't have to defined the width at all.  In fact you shouldn't to prevent possible cross-browser incompatibilities.<br><br><small>--<br>Here to help all those in need, whenever I can.</small>]]></description>
<guid isPermaLink="true">http://www.dslreports.com/forum/remark,19795480</guid>
<pubDate>Sun, 13 Jan 2008 23:14:08 EDT</pubDate>
</item>

<item>
<title>Re: Possible to assign a &#x22;margin&#x22; to any element?</title>
<link>http://www.dslreports.com/forum/remark,19794587</link>
<description><![CDATA[<A HREF="/useremail/u/307353"><b>Sentinel</b></A> : Do you mean what I wrote above? Yeah, I did that on purpose so that the post doesn't show the html. On the actual web page of course I had the "" opening brace ;) or else nothing would have worked at all.<br><br>Sorry. I assumed that the post itself showed enough knowledge of html that anyone reading it would assume that I knew enough to make a correct tag. I should have noted that I was purposefully leaving out the first brace so that the html would not render here. My apologies if it through you off.<br><br>Do you have a solution to my problem though?]]></description>
<guid isPermaLink="true">http://www.dslreports.com/forum/remark,19794587</guid>
<pubDate>Sun, 13 Jan 2008 20:43:10 EDT</pubDate>
</item>

<item>
<title>Re: Possible to assign a &#x22;margin&#x22; to any element?</title>
<link>http://www.dslreports.com/forum/remark,19793918</link>
<description><![CDATA[<A HREF="/useremail/u/817075"><b>Kiwi</b></A> : You are <i>not</i> 'Opening' "<small> with less than</small> but ending correctly with />]]></description>
<guid isPermaLink="true">http://www.dslreports.com/forum/remark,19793918</guid>
<pubDate>Sun, 13 Jan 2008 18:57:29 EDT</pubDate>
</item>

<item>
<title>Possible to assign a &#x22;margin&#x22; to any element?</title>
<link>http://www.dslreports.com/forum/remark,19793584</link>
<description><![CDATA[<A HREF="/useremail/u/307353"><b>Sentinel</b></A> : I just want to draw a simple line across a web page. Sounds easy but I am finding it to be very very hard.<br>So far I am using a simple hr tag. I do the following..<br><br>hr color="blue" noshade width="100%" size="10" /><br><br>...and I tried...<br><br>hr style="color:blue; background-color:blue; width:100%; height:10px; border:none;" /><br><br>They both work great except that they don't go ALL the way across the page. They leave a margin on each end of the page due to the body margins of the page. I can of course define no margins for the body and that works great except that then my entire web page has no margins.<br><br>So what I would like to do is to be able to define no margins for just the line alone and not effect the rest of the page. Is this possible? I tried using a margin variable on the hr tag in the style but it did not work.]]></description>
<guid isPermaLink="true">http://www.dslreports.com/forum/remark,19793584</guid>
<pubDate>Sun, 13 Jan 2008 17:54:42 EDT</pubDate>
</item>

</channel>
</rss>
