I'm grapping with this, and wondering if someone who knows more about HTML and CSS can help me.
My best attempt looks like this:
The -8px modifier for the left and right margins is to counteract the 8px margin of the <body> element. This works nicely, except when the page content is larger than the browser window in that case, the horizontal rule goes to the window's edge, but not the page's edge.
Attached is an illustration of the problem.
Can anyone help me out?
My best attempt looks like this:
Code:
<div style="margin-left:-8px;margin-right:-8px"><hr style="color:Black;background-color:Black;border:0;width:100%;height:1px;" /></div>
The -8px modifier for the left and right margins is to counteract the 8px margin of the <body> element. This works nicely, except when the page content is larger than the browser window in that case, the horizontal rule goes to the window's edge, but not the page's edge.
Attached is an illustration of the problem.
Can anyone help me out?