hello friends
i have a content page using a master page,i put some DIV tag in content:
<asp:Content ID="Content2" ContentPlaceHolderID="content" runat="server">
<div id="dailyStatement">
daily statement
</div>
<div id="search">
search engine
</div>
<div id="aboutCity">
about city
</div>
<div id="news">
last news
</div>
<div id="picGallary">
picture gallary
</div>
</asp:Content>
and css file is :
#dailyStatement
{
position: absolute;
top: 120px;
left: 440px;
width: 400px;
height: 50px;
}
#search
{
position: absolute;
top: 120px;
left: 50px;
width: 390px;
height: 50px;
}
#aboutCity
{
position: absolute;
top: 180px;
left: 440px;
width: 400px;
height: 340px;
}
#news
{
position: absolute;
top: 180px;
left: 50px;
width: 380px;
height: 200px;
}
#picGallary
{
position: absolute;
top: 390px;
left: 50px;
width: 380px;
height: 130px;
}
for example when i set dailyStatement to runat="server" to achieve in codebehind,the dailyStatement div position changed in my page .
whats wrong ?
when i open my eyes,today was past ...