Solved

How do I use Css3 in VS2008

Posted on 2011-02-25
4
1,039 Views
Last Modified: 2012-05-11
Hi,

I am trying to use the following code in css but it is not working. I am using VS 2008 and it is using Css 2.1, how do i enforce to use Css3

@font-face {
      font-family: 'MyFirstFont';
      src: url('../Fonts/Myriad Condensed Web.eot');
      src: local('¿'), url('../Fonts/Myriad Condensed Web.ttf') format('truetype');
}

I want to use the font which might not on local computer where the website will browse.
Please help.

Thanks
0
Comment
Question by:spatel208
  • 2
  • 2
4 Comments
 
LVL 8

Accepted Solution

by:
Anurag Agarwal earned 500 total points
ID: 34978640
hi buddy !!

First of all, CSS 3.0 has not been finalized, so it wouldn't make any sense to include it in Visual Studio or any other product for now.

Secondly, support probably won't appear until the browsers provide support, so you have a lag time associated with this as well.
0
 

Author Comment

by:spatel208
ID: 34978761
Hi,

is there anyway to use the specific font in webpage which might not installed in user's computer?
If yes, Please can you give me example code for that?

Thanks.
0
 
LVL 8

Expert Comment

by:Anurag Agarwal
ID: 34980554
spatel208 again if you use any other specific font which is not installed at client side, then it will not work or else client will have to install the font ................!!
0
 

Author Comment

by:spatel208
ID: 34980614
I understand and now I left this bit, I will the common font now. Anyway thank you for your kind help.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

ASP.Net to Oracle Connectivity Recently I had to develop an ASP.NET application connecting to an Oracle database.As I am doing it first time ,I had to solve several problems. This article will help to such developers  to develop an ASP.NET client…
Creating an analog clock UserControl seems fairly straight forward.  It is, after all, essentially just a circle with several lines in it!  Two common approaches for rendering an analog clock typically involve either manually calculating points with…
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

910 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now