@font-face Not Working On A Client Site?

Apr 26, 2010

This is CSS code

@font-face {
font-family: 'FuturaStdBook';
src: url('site/font-face/futurastd-medium-webfont.eot');
src: local('☺'), url('site/font-face/futurastd-medium-webfont.woff') format('woff'), url('site/font-face/futurastd-medium-webfont.ttf') format('truetype'), url('site/font-face/futurastd-medium-webfont.svg#webfont') format('svg');
font-weight: normal;
font-style: normal;
}

h2 {font-family:'FuturaStdBook', sans-serif}

Can it be related to mime type?

How can i ensure my path is right?

View 3 Replies


Similar Messages:

Use Gmail And Face Book Open Source Id?

Jul 29, 2010

i want to use gmail and facebook mail is as a open source means i want that if user have gmail/facebook account than he direct login into my site nd i get information of these person

View 1 Replies

Set Font Size With Javascript Not Working

Mar 5, 2011

On the MasterPage.Master i set the the font size in my webpage <body onload="checkCookie()">

<div id="menu">
<ul>
<li><a href="javascript:decFontSize();" class="minus"></a></li>
<li><a href="javascript:defaultFontSize();" class="default"></a></li>
<li><a href="javascript:incFontSize();" class="plus"></a></li>
</ul>
</div>

and here is the associated Javascript

var min = 11;
var max = 18;
function checkCookie(){
var FontSize=getCookie('FontSize');
if (FontSize!=null && FontSize!="")
{var p = document.getElementsByTagName('p');
for (i = 0; i < p.length; i++)
{p[i].style.fontSize = FontSize + "px"}}
else {
{
var p = document.getElementsByTagName('p');
for (i = 0; i < p.length; i++)
{ p[i].style.fontSize = FontSize + "px" }
}
setCookie('FontSize', 13, 365);
}
}
function getCookie(c_name) {
if (document.cookie.length > 0) {
c_start = document.cookie.indexOf(c_name + "=");
if (c_start != -1) {
c_start = c_start + c_name.length + 1;
c_end = document.cookie.indexOf(";", c_start);
if (c_end == -1) c_end = document.cookie.length
return unescape(document.cookie.substring(c_start, c_end));
}
}
return ""
}
function setCookie(c_name, value, expiredays) {
var exdate = new Date();
exdate.setDate(exdate.getDate() + expiredays);
document.cookie = c_name + "=" + escape(value) + ((expiredays == null) ? "" : "; expires=" + exdate.toUTCString());
}
function defaultFontSize() {
var p = document.getElementsByTagName('p');
for (i = 0; i < p.length; i++)
{ p[i].style.fontSize = 13 + "px" }
setCookie('FontSize', 13, 365);
}
function incFontSize() {
var p = document.getElementsByTagName('p');
for(i=0;i<p.length;i++) {
if(p[i].style.fontSize) {
var s = parseInt(p[i].style.fontSize.replace("px",""));
} else {
var s = 11;
}
if(s!=max) {
s += 1;
}
p[i].style.fontSize = s+"px"
}
setCookie('FontSize',s,365);
}
function decFontSize() {
var p = document.getElementsByTagName('p');
for(i=0;i<p.length;i++) {
if(p[i].style.fontSize) {
var s = parseInt(p[i].style.fontSize.replace("px",""));
} else {
var s = 11;
}
if(s!=min) {
s -= 1;
}
p[i].style.fontSize = s+"px"
}
setCookie('FontSize',s,365);
}

The problem with the following code above that on every post the text size "flashes". By saying flashes i mean that it first is displayed with the default size (13px) and then is set to the value set by the cookie.

View 2 Replies

CSS Font Is Working In FireFox But Not In Internet Explorer 8.0

Aug 30, 2010

I tried a lot but I could not figure out why the IE is not taking font size and name in to effect from CSS. In firefox my website could be seen very nice but in IE it is little bit unshiny and font size is bigger For the difference which I am talking about could be seen if your PC have both firefox and IE installed. [URL] open it in FF and IE and you could see the font and alignment related change. All these settings are in body element of CSS. Do you any idea regarding this?

View 5 Replies

Aspx Site Not Working Out Site Of Development Environment

Oct 27, 2010

I made an aspx site with .net 4.0 framework through visual studio and it worked perfectly in the development environment but when I upload it to the server and try to run it I get this error: Server Error in '/' Application. Runtime Error Does anyone have an idea on how to fix this?

View 4 Replies

AJAX :: How To Change The Font And Font Size Of The Data In The Dropdown Of A Combobox

Jan 6, 2010

Is it possible to change the font and font size of the data in the dropdown of a Combobox?

I've tried;

.CustomComboBoxStyle .ajax__combobox_itemlist li {
width: 150px;
font-family:Verdana;
font-size:smaller;
}

and setting the CssClass to it, but doesn't affect the font. I can adjust the width of the dropdown object, but I need to change that gawd awful font.

View 7 Replies

Web Forms :: Change CSS Font Size And Make Font Bold In DropDownList

Aug 9, 2012

I use this class for my DropDownList

  .DPCDDL {
float:left;
width:200px;
height:20px;
margin-top:1px;
font:bold 12px Tahoma;
}

In my dropdownlist just selected item font be (bold 12px)

I want that all item that are in my dropdownlist font be bold 12px  how i can do it?

View 1 Replies

SQL Reporting :: SSRS 2008 - Font And Font Size Changing?

Jun 24, 2010

Just upgraded from SSRS 2005 to 2008 (on a test server). I have a report with a list and in this list are about a dozen fields in textboxes whose fonts are all set to Verdana 8pt. When I run the report from the Report Manager, one of the 12 fields is displaying in a serif font (like Times New Roman) at around 12pt. When I preview the report in Visual Studio every field looks fine and when I run the same report in SSRS 2005 every field looks fine. Has to be a SSRS 2008 bug!

View 3 Replies

How To Use Font.names Property For A Single Label As Font.name Is Already There

Feb 2, 2011

there is two properties under font area for web control What is use of Names as Name set the value of font.

View 2 Replies

Asynchronous C# Method Calls In Page Working On Debug, But Not Working On Live Site

Jan 25, 2011

OK Here is the situation:

I have a web app with a table of statistics on our salesmen's customers, and each row has a sparkline graph showing the general trend of the sales data for the last 12 months. Each page shows a particular salesman's customer list, and some of them can have an enormous number of customers = an enormous number of rows = an enormous number of sparklines (e.g. one in particular has 125 and takes 15 seconds to load).

For this reason, jQuery sparklines could not be used - they completely pinned the CPU of a user accessing a page with a lot of sparklines with IE.

So I moved on to using the Google Chart API, which worked much better, except for two issues: 1) it's on a secure site, and the Google Chart API URL is only served over HTTP (solved by using a small wrapper script to download the graph dynamically and re-serve it from our secure server); and 2) on a page with 125 sparklines, it was still very slow due to the number of requests (even when the 0-9 server prefixes are used to maximize the # of available connections).

So my next step beyond this was to try to make each of the "download/grab/re-serve image" method calls asynchronous - and it worked!

...but only on my dev box running in debug mode.

When I pushed it up to the live site, it was faster, but it left some of the images unloaded, which is of course unacceptable.

So here is what I was hoping some SO hotshot would know:

1) Why are my asynchronous method calls working while debugging, but not working on the live site?

2) Is there any easier way to get a large number of sparklines of some sort to load quickly on a secure server without making me want to tear my hair out?

2a.) Does anyone have any experience using the ASP.NET Chart Library? Is this something I should investigate?

2b.) A co-worker suggested I make my own sparkline routine using a 1x1 CSS background image and varying the height. The problems are a) it is completely un-extensible in case we want to make changes; b) it seems hacky as hell (leaves about a bajillion DIVs per sparkline in the markup); and c) I have no idea if it will be fast enough when there are 100-200 of them on one page - what are your thoughts on the feasibility of the 1x1 sprite approach?

View 2 Replies

Getting Font Metrics From A True Type Font In C#?

May 11, 2010

point me to information regarding getting font metrics from a true type font in C#? I need to split some text from an RSS feed for a given box height and width.

I've checked System.Drawing.Font and GetHeight is there but how do I get the width of a character?

I understand each character is rendered as a glyph but not sure which class will get the width of the character?

View 2 Replies

VS 2008 Want To Put Up A Test Site For Client To Look At?

May 4, 2010

We just re-worked about a dozen pages in a website we created - changing the masterpage - adding lots more CSS - changes to images and so on.

The production webserver runs this page using HTTPS:

What do I have to do in IIS to create another "website" that can be accessed? Doesn't the certificate refer to the specific site that's named in that cert?

View 8 Replies

Read Error Detail In Client Site?

Jan 25, 2011

I set debug=true in web.config file but once app got error only display general error message. I have to run app in web server to get error detail.

How to make error detail in client site so that I can read error detail?

View 3 Replies

C# - Change Web Site Theme For Client From MaterPage

Aug 12, 2010

I need to change website theme (css) by clicking button on Master Page.

protected virtual CSSClick (_sender : object, _e : System.EventArgs) : void
{
//Session("Theme") = "Advanced";
}


Google & MSDN didn't gave me the answer :( So no matters on C# or VB.NET , just how to make it ?

View 2 Replies

Disable All Client Side Validation In A Site?

Feb 10, 2011

I would like to disable all client side validation in an Asp.Net web site in order to test that server side validation is correct (i.e. I want to test against people altering the response or tampering with client script)Currently, I am either-Disabling JS in the browserManually disabling client validation for individual validators.

View 2 Replies

Web Forms :: Read Error Detail In Client Site?

Jan 25, 2011

I set debug=true in web.config file but once app got error only display general error message. I have to run app in web server to get error detail.

How to make error detail in client site so that I can read error detail?

View 1 Replies

AJAX :: 3.5 - Control Toolkit And Secure Site With Client Certificates

Nov 19, 2010

I have a internal site used by employees of my company that uses ASP.Net 3.5, Ajax and the Ajax Control Toolkit and is secured using https and requires a client certificate to gain access to the site. We are getting the following error when updating drop down lists on the very first page of an application wizard we have built. The page uses an UpdatePanel with PartialPagePostbacks enabled.

Sys.WebForms.PageRequestManagerServerErrorException:

An unknown error occurred while processing the request on the server. The status code returned from the server was: 413

ScriptResource.axd Line: 5
Code: 0 Char: 62099.

I have increased the maxRequestLength value to 8192Kb (which is way overkill), the readAheadBuffer to 4096Kb, set all the timeouts I can find, and this problem keeps showing up for my users. I can reproduce the error if I let the initial page site idle for 2-3 minutes before doing the partial page postback to move to the next segment. I have been chasing this now for a couple of weeks, and keep coming back to the same sites with the same answers.

View 4 Replies

Architecture :: Technology Guidance - Build Site With Client Side Hardware Interacting Controls

Sep 19, 2010

This is not a programming question per se, but rather an attempt to find the adequate technology to use for my objective. My mandate is to build an ASP.NET Web Application. However, on certain pages, some client-side information needs to be fetched by interacting with hardware on the client's computer, for example a barcode reader or an RFID tag reader. My first reflex was to think "ActiveX" controls with, perhaps, some AJAX coding to fetch the required values from said control. However, I am not sure if I am up to date with the latest tech trends. The solution I'm looking for will let me design a user control that plugs into my ASP.NET Web Application, lets me interact with client-side hardware, and can be automatically downloaded from the Web Application itself (I can't predict which computers will access my Web Application). Which technology(ies) should I go for?

View 2 Replies

Web Forms :: Trying To Get Ckeditor Working On Site?

Jun 21, 2010

I am trying to get ckeditor working on my site (having successfully used in on previous sites in the past).I have copied the ckeditor (main download) folder to the root of my site and I have added the FCKeditor.Net_2.6.3 dll to my site (plus added it to
the toolbox). I have set the basepath to "~/ckeditor/" and when I view the page in a browser it tells me that the following file is missing.

http://localhost:80/Web1/ckeditor/editor/fckeditor.html?InstanceName=FCKeditor1&Toolbar=Default

Does anyone know where I can find this file (as it is nowhere to be seen in the ckeditor_3.3.1 download, in fact I don't have a folder called "editor" at all)?

View 5 Replies

MVC URL Parameter To Friendly Site Is Not Working?

Jun 22, 2010

have a search on my site, in which search type and search word are in URL like this: /search/t-someword.htmly route for search:

routes.MapRoute("Search", "searchj/{type}-{word}.html", new { controller = "Search", action = "Index"}, new { type = @"[t,s,p]"});

Everything works fine but when I change string to do not show spaces that word like "some words" looks like "some-words" it doesn't work. With spaces it works

View 4 Replies

MVC :: Routes Not Working On Site Root?

Jan 27, 2011

On a MVC 3 site I have a area named "CMS" on on CMSAreaRegistration I have:

[Code]....

All the CMS controller are under the namespace Site.CMS.Controllers And in Global.Asax I have:

[Code]....

The CMS routes seem to work as expected. But the following link on my site root:

[Code]....

I tried many options to try to solve it but I always get something wrong.

View 13 Replies

Active Directory/LDAP :: Auto Login To Site When Client Logon Success To Domain Controller?

Jul 15, 2010

I have a DC (Win 2K3,IIS 6.0..) and put my site there. I have a local computer (win XP2) with computer name PC1 is already joined to the DC. in PC1 I login with account (user: abc, passs: 1234567) was created on the DC to log on to domain. After successful login into the domain, andand type in my web address, so I have to write code in my web site to understand how abc account login to the domain will always login to the my site must be signed in .not logged in login module that in my site.

I have a DC (Win 2K3) and put my site there. I have a local machine (win XP) with PC1 name is already connected to the DC. PC1 I log in with machine account (user: abc, passs: 1234567) was created on the DC to log on to domain. After successful login khj me on my website, so I have to write code in my web site to understand how abc account login to the domain will always log into the site must be signed in toi.khong Login Module.

View 1 Replies

Web Forms :: Theme Not Working - Live Site

Jan 20, 2010

The theme I'm using is not working in Visual Web Developer, I have the following code in place:

<%@
Page
Theme="MyTheme"
Language="VB"
AutoEventWireup="false"
CodeFile="Default2.aspx.vb"
Inherits="Default2" %>

the theme is getting applied to the live site.

View 3 Replies

SQL Reporting :: Some Links On Admin Site Not Working

May 3, 2010

I have one strange issue on SQL Reporting Services admin website (like URL). I am System Administrator as well as the content manager of this site. Under the Contents tab, the links
New Data Source and Upload File is redirecting to https:// site(secured site) which always fail to load. But the links for the New Folder and Report Builder are working fine and redirects to http:// site. I repaired the installation of SQL Server also but there is a same problem.

View 4 Replies

Security :: Profile Not Working After Site Move?

Jul 8, 2010

We moved our website from one production server to another production server. DNS propagation is not an issue here. Some users cannot login now and others can. Those that can login do not see the same menu items that they used to see prior to the move. It's like the profile provider is not working. I checked the web.config file and everything appears to be the same as it was before. Is there something else I forgot to move?

View 4 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved