Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Few CSS questions
Message
From
02/12/2011 13:20:15
 
General information
Forum:
ASP.NET
Category:
Other
Environment versions
Environment:
C# 4.0
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01530195
Message ID:
01530196
Views:
62
This message has been marked as a message which has helped to the initial question of the thread.
Likes (1)
h1 {
    font-size: 2em;
    padding-bottom: 0;
    margin-bottom: 0;
    background: url('/images/ChangeInfo.jpg');
}
The application, version, and date should come from _Layout.cshtml.

Have you gone through the MVC Music Store walkthrough?


>Hi everybody,
>
>In ASP.NET MVC project I added an image in Images folder (I created that folder). I'm trying to do this in the site.css
>
>h1 {
>    font-size: 2em;
>    padding-bottom: 0;
>    margin-bottom: 0;
>    background-image: '~/Images/ChangeInfo.jpg';
>}
>
>However, I don't see my image at all. Do I reference this image correctly?
>
>Also, I want to display this info at the top
>
>My Application .....................Version ... Date
>
>By just using h1 tag the info is not shown as I want, all shown together. So, I assume I need to create a new class for the date, right? And what do I need to do for the version?
>
>Thanks in advance.
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform