Last post Jun 16, 2009 08:18 AM by mohdazeemuddin
Jun 16, 2009 06:13 AM|mohdazeemuddin|LINK
Hi every one,
I have a problem with my content page i create a css file in my root directory. i give link to that css file in master page with the help of link tag.there is no link tag support in content page so how to set the style of the asp control's and html control's
of the content page
please help me thanks in advance
Jun 16, 2009 06:54 AM|Sumeeth Ambati|LINK
you should be able to refer to your css file in the content page as well.
try adding ur link tag after the <asp: Content ....> tag
This query has already been answered by others in this forum at
Jun 16, 2009 06:59 AM|kaushalparik27|LINK
.there is no link tag support in content page so how to set the style of the asp control's and html control's of the content page
you do not need to worry about placing or referencing css link tag again in content page...
once you placed the css link tag in masterpage.. it will automatically applied to all the content page which uses that masterpage..
Jun 16, 2009 07:53 AM|mohdazeemuddin|LINK
Thanks for your support
Its working now from the master page but the size of text is not changing other property is working like background color and text color all are working fine but not the size
i define the text as font-size:16px; in css its not working i try this with some different size but it is not working
Jun 16, 2009 08:01 AM|ChaitanyaC|LINK
Ther eis no doubt at all that once you provide link for CSS in your masterpage then all pages in contentplaceholeders containing that masterpage will be having all styles defined in that CSS class file,
then also if you want some style to be defined only for that particular content of any page then you can write folowing type of code in that:
use above code if it helps
Jun 16, 2009 08:18 AM|mohdazeemuddin|LINK
Ok Thank to all i solved my problem