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
-
Moz bar not working on https://www.fitness-china.com/gym-equipment-names-pictures-prices
Moz bar not working on our website about gym equipment names https://www.fitness-china.com/gym-equipment-names-pictures-prices How long fix it?
On-Page Optimization | | ahislop5740 -
Image File Names for eCommerce?
Hi everyone! I'm wondering about naming my product photo file names for an E-Commerce site. Let's say I say have product named Abe Lincoln in the **Print **category for sale with 4 images, relatively similar but from different views for example.Could I name them as follows? 1) abe-lincoln-print.jpg 2) abe-lincoln-print-side-view.jpg 3) abe-lincoln-print-close-up.jpg 4) abe-lincoln-print-font-view.jpg Or is that too many keywords for the page? Should I be worried about keyword stuffing? Plus once I add in title and alt tags and descriptions this could also increase the keyword count for "abe lincoln print"?
On-Page Optimization | | TheFlyingSweetPotato0 -
Internal Linking : File Name or URI/filename.html
Hi, For crawlability, what would be the best way to do internal linking. /aboutus.html or www.xyz.com/aboutus.com Would this make any difference to the website in terms of SEO or bot crawling the website? Regards, Sree
On-Page Optimization | | jungleegames0 -
Should we add our company's name in page title tag or not?
We have been adding our company (Townscript) name in all the page titles. For example, in an event page of Lucknow Conclave: www.townscript.com/lucknowconclave the page title is Lucknow Conclave | Alexis Society | Townscript I read somewhere that it's not necessary to put your company's name in the title tag. Is it right? Please help!
On-Page Optimization | | sanchitmalik0 -
Unused CSS
Is there any advantage to removing unused CSS on a wp theme template. If removed will it not merely be added with the next update?
On-Page Optimization | | casper4340 -
5 websites, 1 root domain name: good or bad?
Hi guys, I'm new here, so this might be a basic question to the experts here! So here is my situation: I have 1 "umbrella" website (root domain name) that contains 4 different websites, for a total of 5 different websites. They are related, but we needed to brand each website differently to fit each strategy. Q: I have 23 domain names.. this means I have 23 sub-domain names?
On-Page Optimization | | Jacky_C
Q: Is this practice good or bad for my SEO?
Q: should I analyze each domain name/SD? Here are my 5 websites
RD: furisgreen.com
SD1: furcouncil.com
SD2: furfashions.com
SD3: naffem.com
SD4: beautifullycanadian.com Thank you for your help!!0 -
Better for SEO to use a hyphen in the name of a website to break up text?
To maximize SEO, would it be better to use a hyphen between two words in the name of a website? For instance, www.londonparis.com or www.london-paris.com. Would it be OK to use www.LondonParis.com Many thanks in advance, Ricardo
On-Page Optimization | | RicardoMello0 -
Change in Product Name
My site - http://www.guru99.com/quick-test-professional-qtp-tutorial.html Currently caters to an automation testing product from HP called Quick Test Professional popularly know and searched as QTP Recently HP changed the product name from QTP to HP Functional Test. Considering this , what do I do with exiting QTP pages and how do I optimize the site moving ahead...
On-Page Optimization | | krishrun0