Results 1 to 5 of 5

Thread: Change the pattern of all the web pages in my website

  1. #1
    Join Date
    Jan 2009
    Posts
    721

    Change the pattern of all the web pages in my website

    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?

  2. #2
    Join Date
    May 2008
    Posts
    2,012

    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 06:54 AM.

  3. #3
    Join Date
    Apr 2008
    Posts
    1,948

    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 06:52 AM.

  4. #4
    Join Date
    Jan 2008
    Posts
    1,521

    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 06:53 AM.

  5. #5
    Join Date
    Oct 2005
    Posts
    2,393

    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.

Similar Threads

  1. Need to change website host
    By sonuinfy in forum Networking & Security
    Replies: 1
    Last Post: 16-11-2010, 12:39 AM
  2. How To Track Changes on Any Website Pages
    By Santy in forum Technology & Internet
    Replies: 5
    Last Post: 31-01-2010, 12:40 AM
  3. How to recover lost pages of website?
    By Sandy22 in forum Technology & Internet
    Replies: 5
    Last Post: 20-12-2009, 01:03 AM
  4. Use PHP to change part of my pages
    By KACY5 in forum Software Development
    Replies: 3
    Last Post: 23-11-2009, 04:27 PM
  5. How to print an article of several pages of a website?
    By Benjamin in forum Windows Software
    Replies: 3
    Last Post: 30-04-2009, 10:50 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,713,952,978.06041 seconds with 16 queries