1 reply [Last post]
KnightWolfJK
KnightWolfJK's picture
Offline
Enthusiast
Washington, DC
Last seen: 14 years 31 weeks ago
Washington, DC
Timezone: GMT-5
Joined: 2003-06-10
Posts: 210
Points: 0

I'm using a two-colum layout:

body {
margin:0px 0px 0px 0px;
text-align : center;
}

#center_all {
width : 790px;
text-align : left;
margin-left : auto;
margin-right : auto;
}
	
#menu {
float:left;
border-right:1px solid #000;
background-color : Silver;
margin-right : 10px;
width : 20%;
}

#content {
margin-left: 2px;
}

The problem: when I use an HR tag inside the #content div, NS7 displays the line across both the #content and #menu divs. See attached screenshot for an example.

Any ideas?

Diplomacy is the art of letting someone have your way

Tony
Tony's picture
Offline
Moderator
Brisbane
Last seen: 1 week 4 days ago
Brisbane
Timezone: GMT+10
Joined: 2003-03-12
Posts: 5344
Points: 2965

NS7 problems with HR

Hi KnightWolfJK,
One suggestion would be to use a div with either top or bottom border set instead of a hr.
You should be able to style it to look like a hr if that's what you want.

Hope that helps