Where to add css in conatiner page in aspSusanta Rout11yAsked Sep 14, 2015, 3:03 AM EDTSolvedShareLinkedInXCopy linkSavewhere to add css in conatiner page in asp.net
Where to add css in conatiner page in aspSusanta Rout11yAsked Sep 14, 2015, 3:03 AM EDTSolvedShareLinkedInXCopy linkSavewhere to add css in conatiner page in asp.net
Upendra Pratap ShahiRank #329 · 7.5K reputation11y agoPosted Sep 14, 2015, 3:23 AM EDT✓ Accepted answer0Add in header /content section with <asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server"> <style type="text/css"> .add { /*your style goes here*/ } style> /*your HTML goes here*/ asp:Content> 0
Raja TRank #685 · 3.5K reputation11y agoPosted Sep 14, 2015, 3:08 AM EDT0Hi Susanta, Add in Header section with in style tag CodeCopy[type=text]CodeCopy{CodeCopy color:Red;CodeCopy border: 1px solid black;CodeCopy}0Susanta RoutRank #1,557 · 1K reputation11y agoPosted Sep 14, 2015, 3:24 AM EDT0in conatiner page?0Susanta RoutRank #1,557 · 1K reputation11y agoPosted Sep 14, 2015, 3:25 AM EDT0yes i got0Susanta RoutRank #1,557 · 1K reputation11y agoPosted Sep 14, 2015, 3:26 AM EDT0how to compair two text field using jquery0Upendra Pratap ShahiRank #329 · 7.5K reputation11y agoPosted Sep 14, 2015, 3:26 AM EDT0kindly accept the answer.0Raja TRank #685 · 3.5K reputation11y agoPosted Sep 14, 2015, 3:29 AM EDT0you mean in conatiner page as Masterpage am i right? anyway you can add any page in header section with in style tag apply the styles 0Upendra Pratap ShahiRank #329 · 7.5K reputation11y agoPosted Sep 14, 2015, 7:53 AM EDT0Thanks a ton Susanta Rout for appreciation.0Muhammad Aqib ShehzadRank #379 · 6.7K reputation11y agoPosted Sep 14, 2015, 8:43 AM EDT0The best way to include content place holder in head section of master page and reference that content in content pages like this. CodeCopy Javascripts, cssCodeCopy id="head" runat="server" />CodeCopyCodeCopy contentplaceholderid="head" runat="server">CodeCopy rel="stylesheet" href="css/stylesheet.css" type="text/css"/>CodeCopy 0Join to answer this questionEvery answer you publish earns 20 SHARP.Create free accountSign inKnow the answer?Answer a question in the forums and earn +20 SHARP for every answer.See unanswered questionsForumsTop experts01Arun PottiAnswers in the forums20answers02Tahir AnsariAnswers in the forums5answers03Kamlesh KumarAnswers in the forums5answers04Sam HobbsAnswers in the forums4answers05Željko PerićAnswers in the forums3answers?YouYour name goes here.Every answer: 20 SHARP.JoinFull leaderboard →2026DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Susanta RoutRank #1,557 · 1K reputation11y agoPosted Sep 14, 2015, 3:26 AM EDT0how to compair two text field using jquery0
Upendra Pratap ShahiRank #329 · 7.5K reputation11y agoPosted Sep 14, 2015, 3:26 AM EDT0kindly accept the answer.0
Raja TRank #685 · 3.5K reputation11y agoPosted Sep 14, 2015, 3:29 AM EDT0you mean in conatiner page as Masterpage am i right? anyway you can add any page in header section with in style tag apply the styles 0
Upendra Pratap ShahiRank #329 · 7.5K reputation11y agoPosted Sep 14, 2015, 7:53 AM EDT0Thanks a ton Susanta Rout for appreciation.0
Muhammad Aqib ShehzadRank #379 · 6.7K reputation11y agoPosted Sep 14, 2015, 8:43 AM EDT0The best way to include content place holder in head section of master page and reference that content in content pages like this. CodeCopy Javascripts, cssCodeCopy id="head" runat="server" />CodeCopyCodeCopy contentplaceholderid="head" runat="server">CodeCopy rel="stylesheet" href="css/stylesheet.css" type="text/css"/>CodeCopy 0
Upendra Pratap ShahiRank #329 · 7.5K reputationPosted Sep 14, 2015, 3:23 AM EDT
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
<style type="text/css">
.add {
/*your style goes here*/
}
style>
/*your HTML goes here*/
asp:Content>
Raja TRank #685 · 3.5K reputationPosted Sep 14, 2015, 3:08 AM EDT
Susanta RoutRank #1,557 · 1K reputationPosted Sep 14, 2015, 3:24 AM EDT
Susanta RoutRank #1,557 · 1K reputationPosted Sep 14, 2015, 3:25 AM EDT
Susanta RoutRank #1,557 · 1K reputationPosted Sep 14, 2015, 3:26 AM EDT
Upendra Pratap ShahiRank #329 · 7.5K reputationPosted Sep 14, 2015, 3:26 AM EDT
Raja TRank #685 · 3.5K reputationPosted Sep 14, 2015, 3:29 AM EDT
Upendra Pratap ShahiRank #329 · 7.5K reputationPosted Sep 14, 2015, 7:53 AM EDT
Muhammad Aqib ShehzadRank #379 · 6.7K reputationPosted Sep 14, 2015, 8:43 AM EDT
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questionsTop experts