position of View on asp.net mvc site master page
Posted
by ognjenb
on Stack Overflow
See other posts from Stack Overflow
or by ognjenb
Published on 2010-04-24T15:26:11Z
Indexed on
2010/04/24
15:43 UTC
Read the original article
Hit count: 228
How fix data table to open only in Main Content Frame? Structure of my site.master page is: left content, main content and right content. When open View page in main content she goes to the right content if it is large. Is this CSS problem?
My problem is similar to this http://www.inq.me/post/ASPNet-MVC-Extension-method-to-create-a-Security-Aware-HtmlActionLink.aspx
This is my CSS(come with template):
/*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
PRIMARY LAYOUT STYLES
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
.content-container {
position:relative;
_height:1px;
min-height:1px;
width:900px;
/* background:url(images/bg-column-left.png) repeat-y;*/
}
.content-container-inner {
/*background:url(images/bg-column-right.png) repeat-y right;*/
_height:1px;
min-height:1px;
/*padding:0 200px;*/
position:relative;
/*width:900px;*/
}
.content-main {
padding :15px 0% 0px 2%;
/*position:relative;*/
min-height:1px;
_height:1px;
float:left;
position:relative;
/*width:96%;*/
/*width:900px;*/
}
.content-left {
padding:20px 10px;
float:left;
width:180px;
margin-top:-1px;
position:relative;
margin-left:-100%;
right:200px;
_left:200px;
border-top:1px dotted #797979;
}
.content-right {
padding :15px 10px 10px 10px;
float:left;
width:160px;
position:relative;
margin-right:-200px;
}
.ads {
text-align:center;
margin:20px 0;
}
/*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
© Stack Overflow or respective owner