Click here to Skip to main content
15,892,161 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hi all,

I Want to create the empty Asp.net MVC 3 application, so that i can use my own images and font styles into the loading pages.

I have zero knowledge regarding CSS.

and

Upto my knowledge, we have to use CSS format to set and design the background images and other minor things in ASP.Net MVC 3.


So my now question is, can any provide me the step by step adding the images and other minor things to empty MVC 3 app (links) with the help of CSS like "MUSIC STORE" Example....
Posted
Updated 17-Oct-19 0:16am

Paste this CSS code in the body tag

CSS
body
{
    background: #54555c  url(image.png) repeat-x top;
    font-size: 12pt;
    font-family: Trebuchet MS;
    margin: 0;
    padding: 0;
    color: #323343;
}
 
Share this answer
 
Comments
Sandeep Mewara 7-May-12 9:47am    
Comment from OP:
Hi Dhanamanikandan,

Wow..
It is working and my Background is changed....

I hope, i will learn the at least basics of CSS and i will modify like this...

Any how it is working and thanks....
Firstly you need to create a class in css by any name ,not necessary you write everything in body bcs sometime when we use masterpage than we change the content below master page so create a css like:
CSS
bg{

background-image:url('../Content/images/utki.jpg');
background-color:#FF6600;
width: 100%;
	height: auto;
}

Apply this css any div where u want like
HTML
<div class="bg"></div>
 
Share this answer
 
v3
Comments
Deepu S Nair 1-Jul-15 1:34am    
Did you see that the question is nearly 4 years old?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900