Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 4 of 4
  1. #1
    Regular Coder
    Join Date
    Apr 2011
    Posts
    107
    Thanks
    18
    Thanked 0 Times in 0 Posts

    Do you only need 1 CSS style sheet

    i have four pages within my website...do i also have to create four CSS style sheet or can i include one CSS stylesheet within the four html pages?

  • #2
    Supreme Master coder! abduraooft's Avatar
    Join Date
    Mar 2007
    Location
    N/A
    Posts
    14,853
    Thanks
    160
    Thanked 2,223 Times in 2,210 Posts
    Blog Entries
    1
    Quote Originally Posted by shakoor6 View Post
    i have four pages within my website...do i also have to create four CSS style sheet or can i include one CSS stylesheet within the four html pages?
    Why not?
    The Dream is not what you see in sleep; Dream is the thing which doesn't let you sleep. --(Dr. APJ. Abdul Kalam)

  • #3
    Senior Coder DanInMa's Avatar
    Join Date
    Nov 2010
    Location
    Salem,Ma
    Posts
    1,577
    Thanks
    13
    Thanked 248 Times in 248 Posts
    absolutely, you sure can. heres a great starter guide - http://webdesign.about.com/od/css/a/aa051203a.htm

  • #4
    New to the CF scene
    Join Date
    Sep 2007
    Posts
    7
    Thanks
    0
    Thanked 2 Times in 2 Posts
    For a 4 page website there is really no reason to have multiple CSS sheets. The main scenario I use multiple style sheets would be for larger websites where certain styles are only used on 1 or 2 pages, an example would be say a resume page with custom styles, or a contact page. This way it doesn't unnecessary slow down your load time on other pages. Cheers.
    Daryl Quenet, Web Developer / SEO Consultant
    SEO Victoria, Link Building 101, Dr MadCow's Web Portal

  • Users who have thanked drmadcow@drmadc for this post:

    shakoor6 (05-06-2011)


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •