Solved

How do I use Css3 in VS2008

Posted on 2011-02-25
4
1,020 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

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

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…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
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…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

744 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

11 Experts available now in Live!

Get 1:1 Help Now