?
Solved

How do I use Css3 in VS2008

Posted on 2011-02-25
4
Medium Priority
?
1,148 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 2000 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

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

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

Parsing a CSV file is a task that we are confronted with regularly, and although there are a vast number of means to do this, as a newbie, the field can be confusing and the tools can seem complex. A simple solution to parsing a customized CSV fi…
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…
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…
Suggested Courses
Course of the Month9 days, 7 hours left to enroll

612 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