www.webdeveloper.com
Results 1 to 6 of 6

Thread: can i attache more then one stylesheet with one html page?

Hybrid View

  1. #1
    Join Date
    May 2013
    Posts
    119

    can i attache more then one stylesheet with one html page?

    Hello friends,
    I am new in web developing field, so tell me can i attached more then one stylesheet with a single html page and how ? please share your feedback.

  2. #2
    Join Date
    May 2004
    Location
    FL
    Posts
    3,453
    You can attach as many as you like. For each external style sheet you would add a link in the <HEAD> section of your page:

    Code:
    <LINK href="yourStyleSheet.css" rel="stylesheet" type="text/css">
    To add others,

    Code:
    <LINK href="yourStyleSheet.css" rel="stylesheet" type="text/css">
    <LINK href="anotherStyleSheet.css" rel="stylesheet" type="text/css">

  3. #3
    Join Date
    Sep 2006
    Location
    new york
    Posts
    267
    Remember "cascading" in CSS; the last stylesheet may override the preceding ones.

  4. #4
    Join Date
    Aug 2012
    Location
    TX
    Posts
    293
    or you could link all your style sheets in the css file like this

    Code:
    @import url(navi.css);
    @import url(forms.css);
    @import url(tables.css);

  5. #5
    Join Date
    May 2013
    Posts
    2
    Yes you as many as you like. But there should be a limit for good look of your site.

    B&V solutions

  6. #6
    Join Date
    May 2013
    Posts
    40
    es,its possible,you can attach as many as you like.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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



Recent Articles