?
Solved

How do I use Css3 in VS2008

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

Get 10% Off Your First Squarespace Website

Ready to showcase your work, publish content or promote your business online? With Squarespace’s award-winning templates and 24/7 customer service, getting started is simple. Head to Squarespace.com and use offer code ‘EXPERTS’ to get 10% off your first purchase.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

A quick way to get a menu to work on our website, is using the Menu control and assign it to a web.sitemap using SiteMapDataSource. Example of web.sitemap file: (CODE) Sample code to add to the page menu: (CODE) Running the application, we wi…
Ever visit a website where you spotted a really cool looking Font, yet couldn't figure out which font family it belonged to, or how to get a copy of it for your own use? This article explains the process of doing exactly that, as well as showing how…
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…

568 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