Hot answers tagged text
14
EMBED THE FONTS!
No, but really, Embeddable fonts work on all current browsers (FF, Chrome, Safari, Opera) and IE5.5+ (yes, it's been working in IE since the 90s.)
Get your TTF upload it here:
http://www.kirsle.net/wizards/ttf2eot.cgi
It'll give you the code and 2 files back (a TTF and then an EOT[M$ web font]) back. Copy, paste, upload, done. Win win!
...
6
Unless she is selling her own fonts on this website, I think you both could work more on CSS embedding (yeah, I read this is not an option for you now, but I insist).
If the case is a heavier graphic work upon fonts (gradient colors, twisted alignment, glossing, embossing, engraving...), making it really impossible to render thorugh CSS options as she ...
5
Yuck. She really needs to get over her font issues as she's killing the accessibility of her site and is causing all other kinds of issues like slowing down the rendering of her pages, etc.
Having said that you can try adding the longdesc attribute to your images. It's hard to say how much weight, if any, the search engines give to it but it's probably more ...
5
The problem is that your webserver doesn't know what to do with a .h file, so you need to tell it what mime-type to use.
Add the following line to your .htaccess file:
AddType text/plain h
And your browser will be able to load the file rather than downloading it.
You can also do this through httpd.conf:-
<IfModule mod_mime.c>
AddType text/plain ...
5
If the file is served by an HTTP server (web server), check that it is sent with the header Content-Type: text/plain (and, if needed, modify server settings to achieve that). To check the headers, use e.g. http://web-sniffer.net.
Otherwise, you could set type="text/plain" on the linking element, i.e.
<a href=project_strings.h ...
3
While web fonts are pretty much standard across all major browsers now, figuring out the cross browser intricacies of the different font formats can be tricky.
Google provides a nice web font api and font directory to help out here that you might find useful.
2
As others have suggested, you don't have to go with the standard "web-safe" fonts. There are many font replacement techniques available now that will work in a cross-browser manner. For a good overview, check out: The Web Designer’s Guide to Font Replacement Methods. You don't have to give up on SEO or resort to image SEO. You can have your cake and eat it ...
2
Using images even with alt tags as your only way to get to other pages in the site is not really going to provide a great deal of clarity to Google.
Your best bet is to convince your friend that you need text links somewhere on the page or site in order to solve the problem. For example if you are able to setup a Sitemap page with all text links or a drop ...
2
I used to do this with background images and hidden nested spans. Looks great to text browsers and search engines, and has custom fonts for richer browsers.
HTML:
<h1><span>Welcome to Hell on Wheels</span></h1>
CSS:
h1 {
background: url(welcome.gif) no-repeat;
display: block;
height: 68px;
width: 415px;
}
h1 span ...
2
Text files are a little bit faster and easier to handle.
Thing is... you will need to deal with databases sooner or later as developer.
I noticed you didn't mention any search features. If your texts are going to be internally searched, then there is no doubt about using db, as they count with fulltext search features built-in.
2
Store the text in the database, but cache it in files. You'll get all the benefits of both approaches. Rendering a page would go something like this:
if (a cached version of page doesn't exist) {
generate the page content from the database
store the page content in the cache
}
serve the page from the cache
Then, when editing a page:
store the new ...
2
I would just make sure you have a good sitemap that includes all of the videos and images, which is going to be the main optimization. when that is done you can add alt tags for the images and (i believe) videos. I would just make a good headline/like 1 sentence of text for the videos, that kinda describes it. I wouldn't go so far as to summarize the whole ...
1
You don't make any mention of the technique you're using, so there's some necessary vagueness here.
If the actual image is identical, then yes you should just reuse the one file.
If possible, put both strings directly in the markup and then use CSS/Javascript to display them as and where needed. That would give you both predictable crawlability, and ...
1
Put the text on the site normally, but then use the images with the same text in them to cover up the text on the page. I found this post on StackOverflow which has a technique for doing so that you could use: Is there a foreground equivalent to background-image in css?
1
Another possible alternative is to use email addresses. All carriers have email addresses tied to phone numbers. so you can simply use those email addresses for free to send/receive SMS messages if that works for you. Any phone can also sent an SMS to an email address, as opposed to a phone number, and as far as I know this has worked since years and years ...
1
Sure it will act as back links ,even you can sometime see in google webmaster tool as back links but BEWARE . Google will punish you for excessive paid back links or link exchanges .
this what google say about paid back links
" Buying or selling links that pass PageRank is in violation of Google's Webmaster Guidelines and can negatively impact a ...
1
In at least Firefox & Chrome you can make the text within a block bigger by using the :hover syntax. Apparently this only works for links in IE. Here's an example:
html:
<html>
<head>
<title>magnifying glass example</title>
<link rel="stylesheet" type="text/css" media="screen" href="mag.css" />
</head>
<body>
...
1
The question is comparing:
Storing text in the database
Storing text in files and storing the filenames of those files in the database
Given this, storing everything in the database is going to not only be a lot easier, because you only have to solve the problem once, but also more robust.
Databases enforce integrity on their data. It's very safe for ...
1
Lots of great options here for answers. Seems Font Squirrel (http://www.fontsquirrel.com/fontface/generator) deserves a mention. And yeah, the Google Font APIs are great as well.
As for image substitution, personally I'd recommend a span in an element, with the image as the background on the parent of the span. But instead of display:none on the span, ...
1
Try using the typeface.js library! You can use any custom TrueType or OpenType font just by including the library in the top of your page and giving your special-fonted elements a special class. It's free, open source, cross platform, and search engines will see your text too. No images necessary; the library handles all of that and you simply design it like ...
1
Just use webfonts. Virtually any browser will display them correctly (if you put them in alternative formats). Just host them as a regular files (which they are). Here is really good tutorial. One more advantage: you don't need to think how to trick google
sIFR, Cufón, FLIR or other image sprites - that's really old-style bull-crab which was
invented for ...
Only top voted, non community-wiki answers of a minimum length are eligible
