CSS family names and whitespace
-
A CSS validation notes the following: Family names containing whitespace should be quoted. If quoting is omitted, any whitespace characters before and after the name are ignored and any sequence of whitespace characters inside the name is converted to a single space. Not sure what this means or how to fix. Help. thanks
-
thanks Gareth. That was the problem
Brett
-
I'll take a stab without seeing an example.
This is the correct:
font-family:"Trebuchet MS", Helvetica, sans-serif;
This is wrong:
font-family:Trebuchet MS, Helvetica, sans-serif;
The browser would make the font family TrebuchetMS, which of course doesn't exist.
Add the double quotes and it will pass validation and render correctly! I hope that helps and I am understanding you question properly.
Got a burning SEO question?
Subscribe to Moz Pro to gain full access to Q&A, answer questions, and ask your own.
Browse Questions
Explore more categories
-
Moz Tools
Chat with the community about the Moz tools.
-
SEO Tactics
Discuss the SEO process with fellow marketers
-
Community
Discuss industry events, jobs, and news!
-
Digital Marketing
Chat about tactics outside of SEO
-
Research & Trends
Dive into research and trends in the search industry.
-
Support
Connect on product support and feature requests.
Related Questions
-
URL, page title, item name - which is most important for google ranking
We are a bridal store and are able to use different information in the URL, Page title and item name. In item name we give the product a name for us to identify ie. Alex Lace Dress in Black/Nude, Ivory/Nude, Red/Red In Page Title we use the suppliers name and product code as well as the item name ie. Jadore j8075 Alex Lace Dress Online Australia URL = alex-lace-dress/ Are we using the correct format ? What could we do to improve them?
On-Page Optimization | | CostumeD0 -
Client is not ranking on Google For Brand Name Search but is on Yahoo and Bing
We have a mobile app development client that recently 6 months ago changed their domain name to www.FSStudio.com. So they are concerned that they don’t rank on the first page for the brandname phrase “FS Studio” On Google. They do rank on the first page for this phrase in Yahoo or Bing. But why is Google returning search results for stuff like Free Studio? I know this fairly obvious question which the answers may be that they need more authority or backlinks because their name happens to be a fairly competitive search for stuff that is unrelated. Any suggestions? We are going to be optimizing and creating a lot more content. Is this just that they need to mention their name FS Studio more frequently throughout their website? Here is a screenshot from Moz’s Keyword difficulty and SERP Analysis tool. agwlY9i.png
On-Page Optimization | | vabmediaseo0 -
Rebranding and Domain Name Changes
Hi All, One of my clients wants to rebrand http://indiaretailnews.com/ so that it's clear that the site is under the operational umbrella of http://tradebriefs.com/. indiaretailnews.com has a lower domain authority of 20, but because of the domain name it ranks number #2 for the keyword "retail news" for Google India. The client's question: Can we change the site names to TradeBriefsRetail.com orTradeBriefsIndiaRetail.com without affecting the SEO on each site? How do we do this – redirect from TradeBriefsIndiaRetail.com to IndiaRetailNews.com and so on or simply put all the content on the new sites and get rid of the old domains or some other way? Do long domain names cause a problem? Another option is TradeBriefsRetail.in, etc with the domain extension showing the country that the content is for.. In a year or two, we will be expanding to markets outside India. My opinion: Keep the old domains and redirect to something like http://tradebriefs.com/india-retail-news Or perhaps a subdomain: http://indiaretailnews.tradebriefs.com In the short term, I'd imagine rankings will drop, but if we wanted to consolidate domain authority, I was thinking that http://tradebriefs.com/india-retail-news would be the best bet. Thoughts? Kenji
On-Page Optimization | | KenjiCrosland0 -
Should you use long tail keyword phrases in page names
for example if I was trying to rank for "spokane furnace repair" is it good or bad to name the page something like "spokane-furnace-repair.html"
On-Page Optimization | | Superflys0 -
To Optimize Brand Name or Product Name First on Product Pages for E-Commerce Website?
We are using your free month trial for optimization of our E-Commerce website. In regards to individual product pages such as this one http://www.amgair.com/air-purifiers/iqair-healthpro-plus-air-purifier/, would it be more effective to have the page title start with the brand name and then the product (as we have it now) or forgo the brand name and start with just the product. IE: IQAir Healthpro Plus Air Purifier or HealthPro Plus Air Purifier by IQAir. These are commodity type products and are price restricted so all competitive websites advertise at the same pricing and it would be helpful not only to have a keyword phrase that is searched for a lot but also one that is easy to rank for. Please give me a recommendation when possible.
On-Page Optimization | | youhow0 -
Apache Rewrite to remove page name extensions
If I use Apache Rewrite to remove my file extensions from my pages will Google view those pages as new? Do I have to also 301 redirect from the "page-name.htm" to "page-name"? I'd like to change my pages from html to php to make my life a little easier but I'm worried about losing link juice if I were to 301 on every page. Thanks -Brandon
On-Page Optimization | | TRICORSystems0 -
Alt attributes same as jpg name and keywords?
Hi everyone, Quick question: Is it better to have your jpg name and alt text slightly different to your keywords for that particular page, or is it better to have them slightly differently? At the minute I'm doing them all with a variation on the keyphrase I want to optimize for (long tail and all that...). Any input much appreciated!
On-Page Optimization | | CMoore850 -
Image files names - should each be different ?
Hi SEOs I have created a page on my website with a certain tutorial - let's say "How to change a tyre in your car". I have Grade A from On-page report using SEOmoz tool. I have put a relevant alt description for each photo I have put in that tutorial and I have used relevant keyword as a name for each image. So for example this would look like that: changing-tyre-1.jpg changing-tyre-2.jpg My question is should I name these file differently according to their content ? For example if on my photo there is some tool I have to use to change the tyre should the file have the name relevant to the subject of the article/tutorial on the page or to the content of the image ? Is that a stupid question ? Or am I getting too fussy ? Thanks
On-Page Optimization | | lolskizz0