embeding fonts – answer

On October 7, 2010, in Web, by Bikas

At present embedding font css is supported by Mozilla 3.5 and 3.6.

The format must be as follows:

@font-face {
  font-family: <a-remote-font-name>;
  src: <source> [,<source>]*;
  [font-weight: <weight>];
  [font-style: <style>];
}

The fonts supported must be TrueType and OpenType fonts or WOFF for mozilla.

  • Internet Explorer only supports EOT
  • Mozilla browsers support OTF and TTF
  • Safari and Opera support OTF, TTF and SVG
  • Chrome supports TTF and SVG

For more details you can visit https://developer.mozilla.org/en/CSS/@font-face

There are other ways also by which you can use fonts of your taste to match your layout design. One of them is Cufon font. There are others too but most of them are paid.

Hope this will resolve your problem.

embeding fonts

On October 7, 2010, in Web, by arun yadav

good evening sir,

i had tried loading fonts to browser using
this…

@font-face {
font-family: Goudy Stout;
font-style: normal;
font-weight: 700;
src: url(GOUDYST0.eot);

but i cant success, it work only in internet explorer but it isn’t work in Mozilla Firefox.

i want uploading successfully in both browser for that what can i do sir..

your
student
arun lochan yadav

This post was submitted by arun yadav.

 

5 Tips for a Movie Buff

On October 5, 2010, in Movies, by pkmahanand

Like numerous hobbies out there, movie fandom is no less. If you can’t let a movie go after you watch it and wonder what awards were given to the film, its budget, what people were starring in it, at what age the actors played in the movie, when they were born, in what other films they participated, then you are a movie enthusiast and you have the potential to be a serious movie-goer. By working up a little bit on your habits, you can also be a “Walking Encyclopedia” of movies. I am not saying I am a movie expert and I already have enough tips for newbies who want to be called as movie fans. But I love movies like anything and I just want to share some tips that I have acquired in last few days. I hope this can help you.

Tip #1:
How To Choose A Movie: As you are already in the path of a delightful hobby, you have to keep track of time. There are several movies which are not worth your memory and they are supposed to be avoided. Remember, you are not any critic who is being paid to watch movie. So save your time for the good memorable ones.

For every form of art there are two categories. MASS and CLASS.

Continue reading »

Tagged with:
 

Faculty Required

On October 5, 2010, in Vacancies, Web, by Bikas

Field of teaching: Web

Skill sets required:  HTML, CSS, Dreamweaver, Flash
Knowledge of Photoshop and Javascript will be a plus.

Prior experience will be a plus. Freshers may also apply.
Salary not a constrain for the right candidate.

Number of positions: 1

Contact Person: Gauri Shankar Singh
Phone No.: 9437184375
email: mediapixelindia@gmail.com
Tagged with:
 

Counselor Required

On September 29, 2010, in Vacancies, by Bikas

This position is only for females. Must be smart and have a pleasing personality.
Communication must be strong.

Languages known: Oriya, Hindi, English
Prior experience will be a plus. Freshers may also apply.
Salary not a constrain for the right candidate.

Number of positions: 1

Contact Person: Gauri Shankar Singh
Phone No.: 9437184375
email: mediapixelindia@gmail.com

Tagged with:
 

HTML vs XHTML

On September 23, 2010, in Web, by Bikas

There is not much difference between HTML and XHTML and are much more similar to each other. The major differences are listed below:

  1. There should be proper nesting of XHTML tags/elements
  2. All the tags/elements must be closed else this will generate error either in the page layout or while validating the page. Example <h1>… </h1>, <p>… </p> <meta.. />, <img … />
  3. XHTML tags/elements are always written in lowercase, unlike HTML which is not case sesitive.
  4. There must be one root element for XHTML document and the child elements must be in pairs and correctly nested within their parent element. Example:
    <html>
    <head> … </head>
    <body> … </body>
    </html>

For more details please visit:
http://www.w3schools.com/xhtml/xhtml_html.asp
http://wiki.whatwg.org/wiki/HTML_vs._XHTML#Differences_Between_HTML_and_XHTML

Tagged with:
 

html and xhtml

On September 23, 2010, in Web, by kshirod

hello sir.I want to know what is the difference in between HTML and xHTML?How they are used in their respective fields?

This post was submitted by kshirod.

 

Recently I posted an article about Fixing validation error for embedded flash movies on site.

One of my friends asked how to embed a transparent Flash Movie. The answer lies below:

First of all embed the flash movie as I have mentioned in my earlier article. See: Fix for Validation Error for Embedding Flash Movies on your Site using Dreamweaver.

After you have finished the above process, follow the following steps:

  1. Search for the code:
    <script type=”text/javascript”>
    AC_FL_RunContent( ‘codebase’,’http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0′,’width’,’400′,’height’,’250′,’src’,’banner’,’quality’,’high’,’pluginspage’,’http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash’,’movie’,’images/banner’ ); //end AC code
    </script>
  2. After ‘quality’,’high’, add ‘wmode’,’transparent’,
  3. Now search <object data=”c.swf?path=movie.swf” …>…</oject>
  4. Between this object tags insert <param name=”wmode” value=”transparent” />
  5. Save the file and upload it

You will get a transparent flash movie now.

Hope this helps those who are looking for it.

Fix WordPress search form (x)html validation errors

On September 14, 2010, in Web, by Bikas

A common problem with wordpress blogs or sites is that while validating the site we get validation error for the search form used in the site.

The error is for <form role=”search” method=”get” id=”searchform” action=”http://xadd..>..</form> where the validator does not validates role=”search”.

The step by step method to fix this issue is mentioned below:

  1. Login to your site through any ftp client where the wordpress site is installed.
  2. Search for the general-template.php file. It will be in the folder wp-includes.
  3. Open the file and search for the code $form = ‘<form role=”search” method=”get” id=”searchform” action=”‘ . home_url( ‘/’ ) . ‘” >
  4. Remove role=”search”, save the file and upload the file.

The search box will still work fine without any error. The positive thing is that you will not get any validation error due to your search form.

Update WordPress Blog Location

On August 15, 2010, in Web, by Bikas

If your Blog is made on WordPress platform and you want to change the location/ URL of the Blog, which may be due to reasons like: your have built the site on your system locally using the localhost in your URL; or your blog is already hosted with different domain name and now you want to host it with some other domain name, this article may be of some use to you fellows. Just follow the few simple steps mentioned below.

  1. First of all logon to your Blog’s database through PhpMyAdmin control.
  2. Then select your Blog’s database. You will find 15-16 tables under it using the prefix “wp_”.
  3. Now you need to pass some queries for some of the tables; to be precise you need to pass some queries for three tables which are mentioned below:

First update wp_options table:

To update WordPress options with the new blog location, first select the wp_options table on the left panel. Then select “SQL” on the right panel  and pass the below mentioned query in the textbox for the query and click go to pass the query.

UPDATE wp_options SET option_value = replace(option_value, 'http://www.old-domain.com', 'http://www.new-domain.com') WHERE option_name = 'home' OR option_name = 'siteurl';

your old domain will be http://localhost/your_blog if you have built the site locally on your system.

Second update wp_posts table: This will fix URLs of the WordPress posts and pages, which translated from post slug, and stored in database wp_posts table as guid field. The URL values in this field are stored as absolute URLs, so we need to change them with the following SQL query:

UPDATE wp_posts SET guid = replace(guid, 'http://www.old-domain.com','http://www.new-domain.com');


Lastly update wp_posts table:
This will fix the URL links which you have used to link posts or pages internally within the posts you have published, which we will change using the following SQL query:

UPDATE wp_posts SET post_content = replace(post_content, 'http://www.old-domain.com', 'http://www.new-domain.com');

Now re-login to your wp-administration to update the cookies and also check your blog and post if they are working properly.

Tagged with: