Click here to Skip to main content
15,890,527 members
Home / Discussions / ASP.NET
   

ASP.NET

 
QuestionDynamically create datagrids at runtime Pin
ImDuhShogun30-Jul-08 18:17
ImDuhShogun30-Jul-08 18:17 
AnswerRe: Dynamically create datagrids at runtime Pin
Eduard Keilholz30-Jul-08 20:15
Eduard Keilholz30-Jul-08 20:15 
AnswerRe: Dynamically create datagrids at runtime Pin
ImDuhShogun1-Aug-08 2:10
ImDuhShogun1-Aug-08 2:10 
QuestionDownloading multiple files at one snapshot. Pin
hivshi30-Jul-08 15:05
hivshi30-Jul-08 15:05 
AnswerRe: Downloading multiple files at one snapshot. Pin
Christian Graus30-Jul-08 15:56
protectorChristian Graus30-Jul-08 15:56 
Questionhow to set ContentPlaceHolder to apply css styleshet(css file)? Pin
blackeyes30-Jul-08 13:46
blackeyes30-Jul-08 13:46 
AnswerRe: how to set ContentPlaceHolder to apply css styleshet(css file)? Pin
Eduard Keilholz30-Jul-08 20:19
Eduard Keilholz30-Jul-08 20:19 
AnswerRe: how to set ContentPlaceHolder to apply css styleshet(css file)? [modified] Pin
blackeyes31-Jul-08 2:37
blackeyes31-Jul-08 2:37 
First thanks 4 reply

Is your masterpage in a different folder? no
all my files at root path

MasterPage.master
style.css
DefaultInMaster.aspx
Default.aspx

i was solved this problem by delete the strike lines in master page

CSS File
<br />
.clear {<br />
    clear: both;<br />
    height: 1px;<br />
    padding-top: 0;<br />
    margin-top: 0;<br />
    margin-bottom: 0;<br />
    font-size: 1px;<br />
    line-height: 1px;<br />
}<br />
<br />
* html .clear {<br />
    margin-top: -5px;<br />
    margin-bottom: -4px;<br />
}<br />


MasterPage
<%@ Master Language="VB" %><br />
<br />
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><br />
<br />
<html xmlns="http://www.w3.org/1999/xhtml" ><br />
<head id="Head1" runat="server" ><br />
  <title>Beauty company - Free Website Templates</title><br />
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><br />
  <link rel="stylesheet" href="style.css" type="text/css" media="screen" /><br />
</head><br />
<br />
<body><br />
  <form id="form1" runat="server"><br />
    <div><br />
        &nbsp;</div><br />
  <div id="wrapper" style="width: 739px; right: 0px; top: 0px;"><br />
      <h1><a href="#"><img src="images/logo.gif" width="212" height="47" alt="Beauty Company" /></a>&nbsp;</h1><br />
      <ul id="nav"><br />
          <li class="first"><a href="#" style="width: 125%">Main</a></li><br />
          <li><a href="#">Products</a></li><li><a href="#">Partners</a></li><br />
          <li><a href="#">Contact us</a></li><br />
          <li><a href="#">Europe &amp; US</a></li><br />
      </ul><br />
      <div class="clear"><br />
        <asp:contentplaceholder id="ContentPlaceHolder1" runat="server"><br />
<br />
        </asp:contentplaceholder><br />
    </div><br />
      <!-- end searches --><br />
      <div id="body"><br />
          &nbsp;<!-- end highlights --><!-- end right --><!-- end beauty -->&nbsp;<br />
          <div class="clear"></div><br />
      </div><!-- end body --><br />
      <div id="footer"><br />
        Web design by <a href="#">Free Website Templates</a><br />
      </div><!-- end footer --><br />
  </div><!-- end wrapper --><br />
</form><br />
</body><br />
</html>


thanks a lot Eduard Keilholz
thanks a lot Abhijit Jana

modified on Thursday, July 31, 2008 8:53 AM

AnswerRe: how to set ContentPlaceHolder to apply css styleshet(css file)? Pin
Abhijit Jana30-Jul-08 20:29
professionalAbhijit Jana30-Jul-08 20:29 
QuestionDateTime Property in CompositeControl Pin
dadda_mac30-Jul-08 11:19
dadda_mac30-Jul-08 11:19 
QuestionAJAX tab control returning to the first tab after postback. Pin
Steve Holdorf30-Jul-08 7:13
Steve Holdorf30-Jul-08 7:13 
QuestionReport Date and Time Default Pin
macca2430-Jul-08 5:16
macca2430-Jul-08 5:16 
Questionclient side code to update field (javascript) Pin
ferronrsmith30-Jul-08 5:08
ferronrsmith30-Jul-08 5:08 
AnswerRe: client side code to update field (javascript) Pin
Yusuf30-Jul-08 7:13
Yusuf30-Jul-08 7:13 
Questiongridview and popup Pin
Harikrk30-Jul-08 4:09
Harikrk30-Jul-08 4:09 
QuestionGlobal.asax issue Pin
markymark8230-Jul-08 3:25
markymark8230-Jul-08 3:25 
AnswerRe: Global.asax issue Pin
ElSpinos30-Jul-08 3:39
ElSpinos30-Jul-08 3:39 
GeneralRe: Global.asax issue Pin
markymark8230-Jul-08 4:28
markymark8230-Jul-08 4:28 
Questioncreating new control in code behind Pin
eyeseetee30-Jul-08 2:34
eyeseetee30-Jul-08 2:34 
AnswerRe: creating new control in code behind Pin
windhopper30-Jul-08 2:39
windhopper30-Jul-08 2:39 
AnswerRe: creating new control in code behind Pin
namn30-Jul-08 2:55
namn30-Jul-08 2:55 
AnswerRe: creating new control in code behind Pin
eyeseetee30-Jul-08 3:10
eyeseetee30-Jul-08 3:10 
AnswerRe: creating new control in code behind Pin
Anudeep Jaiswal31-Jul-08 1:39
Anudeep Jaiswal31-Jul-08 1:39 
QuestionProblem with GridView updating all records in database Pin
Dannyrod30-Jul-08 2:23
Dannyrod30-Jul-08 2:23 
AnswerRe: Problem with GridView updating all records in database Pin
Dannyrod30-Jul-08 2:57
Dannyrod30-Jul-08 2:57 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.