Completely Free .NET word API

Forums » .NET » HTML »

How to call external css file using html

Posted Date: 06 Jan 2009      Posted By:: Naresh Yadav Profile photo    Member Level: Gold  Member Rank: 0     Points: 1   Responses: 3

How to call external css file using html.
i have integrated master page in my webform and their is no html and body tags in my webform because of master page integration.
Now how to call link tag in head section.


#335615    Author: ChandraShekar Thota      Member Level: Gold      Member Rank: 0     Date: 07/Jan/2009   Rating: 2 out of 52 out of 5     Points: 2

Hi Naresh,

Master page itself mean that it is master for all its child/content pages. So every thing to be defined for all pages should be done in master page itself.

You can use style sheet in master page head and achieve your result.

Free Online,Offline Sessions /92 93 95 95 39

#335631    Author: Mehul      Member Level: Bronze      Member Rank: 0     Date: 07/Jan/2009   Rating: 2 out of 52 out of 5     Points: 2


add this to the head Section of Master Page

<link href="StyleSheet.css" rel="stylesheet" type="text/css" />

Keep StyleSheet.css at the same level of Master page or change the path accordingly in link tag

Post Reply     

 This thread is locked for new responses. Please post your comments and questions as a separate thread.
If required, refer to the URL of this page in your new post.

  • Return to Discussion Forum
  • Start new thread

  • Subscribe to Subscribers
    Active Members
    TodayLast 7 Daysmore...

    Awards & Gifts
    Talk to Webmaster Tony John

    Online Members

    Copyright © SpiderWorks Technologies Pvt Ltd., Kochi, India