How to use CSS template with MVC 3 applications?
-
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
-
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
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[^] -
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[^]