CSS horizontal line
Can you just hide the second one <div id="sidebar">
, which doesn't look like it should be visible, so hiding that element will hide the internally generated <div>
one that has a border on it.
In addition, there should not be two elements on a page with the same ID. I see there are two elements <div id="sidebar">
. Therefore, if you set the CSS to one by id, it will also affect the other.
You should create your second <div>
like this:
<div id="sidebar2" style="display:none"></div>
Or better yet, create a CSS rule for it:
#sidebar2{display:none;}
<div id="sidebar2"></div>
EDIT: You know you're looking at him a little closer, I don't even think you need that whole second <div id="sidebar">
. Is this intentional? It looks like you only need to enable the Google Friend Connect script once.
a source to share
The little line is in the second sidebar div, I think you should remove the second one because it is exactly the same. The two sidebar divs are the same id
, which is not allowed in HTML, the id must be unique on each page. This is why you don't see a friend connecting the thing twice.
a source to share