Solved

How do I use Css3 in VS2008

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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Introduction This article shows how to use the open source plupload control to upload multiple images. The images are resized on the client side before uploading and the upload is done in chunks. Background I had to provide a way for user…
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
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…
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…

821 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