Go Back   TechArena Community > Software > Software Development
Become a Member!
Forgot your username/password?
Tags Active Topics RSS Search Mark Forums Read SiteMap

Tags: , , , , , , , , , ,

Sponsored Links


Change the pattern of all the web pages in my website

Software Development


Reply
 
Thread Tools Search this Thread
  #1  
Old 18-12-2009
Deepest BLUE's Avatar
Member
 
Join Date: Jan 2009
Posts: 717
Change the pattern of all the web pages in my website

Sponsored Links
I am creating a personal website, so that I can use it as a profile viewer for myself on an international or business level. I am using the the HTML and ASP along with SQL to develop my site. Everytime, I want to do a change in any one of the pages for instance, changing the font of the heading, I have to manually change each and every heading in all the pages that I have made in the website. So, is there any technique that I can use to change the pattern of all the web pages in my website at one like using 1 single code?

Reply With Quote
  #2  
Old 18-12-2009
Member
 
Join Date: May 2008
Posts: 2,000
Re: Change the pattern of all the web pages in my website

You are using a very old technique to change the pattern of all the web pages in the website. Manually doing this is a very tidy task and you may also skip some places to modify. Use CASCADING STYLE SHEETS(CSS) to solve your problem. There are 3 types of CSS:
  1. External Style Sheets
  2. Internal Style Sheets
  3. Inline Style Sheets

Last edited by Katty : 18-12-2009 at 05:54 AM.
Reply With Quote
  #3  
Old 18-12-2009
Praetor's Avatar
Member
 
Join Date: Apr 2008
Posts: 1,943
Re: Change the pattern of all the web pages in my website

You can change the pattern of all the web pages in the website as follows, suppose you want to change a heading:
h1,h2,h3,h4,h5,h6
{
font-family:garamond ; font-color:magenta
}
Save this as a .css file and use the <link> tag to link it to all the web pages where you want to make the changes. Ever developer follows such a pattern for his site.

Last edited by Praetor : 18-12-2009 at 05:52 AM.
Reply With Quote
  #4  
Old 18-12-2009
Modifier's Avatar
Member
 
Join Date: Jan 2008
Posts: 1,507
Re: Change the pattern of all the web pages in my website

Inorder to change the pattern of all the web pages in the website, the style tag is used. It is defined in the head section and the pattern that you want to select for particular tags like headings, paragraphs are set over there.
Example:
<html>
<head>
<style><--! the style that you want to use for particular tags-->
</head>
<body>
Body of the web page
<body>
</html>

Last edited by Modifier : 18-12-2009 at 05:53 AM.
Reply With Quote
  #5  
Old 18-12-2009
Reegan's Avatar
Member
 
Join Date: Oct 2005
Posts: 2,382
Re: Change the pattern of all the web pages in my website

You can use the inline style sheet to set a pattern for a particular tag in the web page. You can do this for headings, paragraphs, etc.
For instance:
<p style=font-color:red>
content of the paragraph
</p>
This is inside the body section of the webpage.
It is tough to change the pattern of all the web pages in a website.
Reply With Quote
Reply

  TechArena Community > Software > Software Development


Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: "Change the pattern of all the web pages in my website"
Thread Thread Starter Forum Replies Last Post
Need to change website host sonuinfy Networking & Security 1 15-11-2010 11:39 PM
How To Track Changes on Any Website Pages Santy Technology & Internet 5 30-01-2010 11:40 PM
How to recover lost pages of website? Sandy22 Technology & Internet 5 20-12-2009 12:03 AM
Use PHP to change part of my pages KACY5 Software Development 3 23-11-2009 03:27 PM
How to print an article of several pages of a website? Benjamin Windows Software 3 30-04-2009 10:50 PM


All times are GMT +5.5. The time now is 11:54 PM.