Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. How to use CSS template with MVC 3 applications?

How to use CSS template with MVC 3 applications?

Scheduled Pinned Locked Moved ASP.NET
htmlcssasp-netdatabasewpf
3 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • N Offline
    N Offline
    nik121
    wrote on last edited by
    #1

    Hello everyone, I am not much of a designer so I lack the artistic ability to make a crisp looking website for anyone. And so in that case, I use templates made by actual designers. I am trying to use a template for my MVC 3 application from this website: http://www.freecsstemplates.org/[^] Anyways, the template comes with the folder of images, the index.html file, and the style.css txt file. I would really like to use this template for my application. I've looked around for similar topics on the internet and none of the tutorials I found really helped me. I would really appreciate any help you could give me. :) Thanks, Nik

    K 1 Reply Last reply
    0
    • N nik121

      Hello everyone, I am not much of a designer so I lack the artistic ability to make a crisp looking website for anyone. And so in that case, I use templates made by actual designers. I am trying to use a template for my MVC 3 application from this website: http://www.freecsstemplates.org/[^] Anyways, the template comes with the folder of images, the index.html file, and the style.css txt file. I would really like to use this template for my application. I've looked around for similar topics on the internet and none of the tutorials I found really helped me. I would really appreciate any help you could give me. :) Thanks, Nik

      K Offline
      K Offline
      Keith Barrow
      wrote on last edited by
      #2

      The best thing to do is to download the files and figure out which parts of the css target which elements in index.htm. If you are new to this w3schools has a CSS Selectors Syntax[^] that should help you figure out what is going where, the main css tutorial[^] provides some good examples. I'd start by including the css in your mvc project, then adding the html elements to your view. Note that and id and class attributes are going to be very important, as is the nesting of the elements.

      Sort of a cross between Lawrence of Arabia and Dilbert.[^]
      -Or-
      A Dead ringer for Kate Winslett[^]

      N 1 Reply Last reply
      0
      • K Keith Barrow

        The best thing to do is to download the files and figure out which parts of the css target which elements in index.htm. If you are new to this w3schools has a CSS Selectors Syntax[^] that should help you figure out what is going where, the main css tutorial[^] provides some good examples. I'd start by including the css in your mvc project, then adding the html elements to your view. Note that and id and class attributes are going to be very important, as is the nesting of the elements.

        Sort of a cross between Lawrence of Arabia and Dilbert.[^]
        -Or-
        A Dead ringer for Kate Winslett[^]

        N Offline
        N Offline
        nik121
        wrote on last edited by
        #3

        It is a bit of a trial and error, but with the links, I am able to slowly figure out which parts fit where. Thanks for the help!

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups