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
-
Do You Add City Name & Key Word For Every Page?
Hello, I'm new to SEO but feel I have a decent grasp on it. However, I had a question pertaining to key words and using my city name in it. For instance, if I am using the key word "herniated disc treatment" do I need to put in my city name behind it or does google recognize that I am already in my city area because of my geo tagging and having it listed on the footer of my site? Any help would be greatly appreciated. Thanks! -Scott
On-Page Optimization | | slgray0 -
Optimize CSS Delivery
Hi, I am loading 3 CSS files here: http://www.viatrading.com/wholesale/9/Domestics.html PageSpeed is telling me I "should fix" the delivery of these CSS Files (see image). I read https://developers.google.com/speed/docs/insights/OptimizeCSSDelivery , but can't figure out which is my case. The CSS are big, but even if I split them in several, all CSS files are still showing up as render-blocking. I moved them to the header/footer, but the message is still appearing. Do you know what might be the problem and how to solve it? Thank you, Screen_Shot_2015_09_10_at_4_44_23_PM.png
On-Page Optimization | | viatrading10 -
Should links on a family bar be no follows?
I have a network of sites that we use a family bar for to get the user to where they want to go but as I am looking at my link profile, i keep on seeing these links everywhere. (DUH, of course) Question is, should these links be no follow? Could these links hurt me?
On-Page Optimization | | SBRMarketing0 -
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 -
New site not ranking for it's name
Performed on-page SEO for this new site that went live a couple of weeks ago - no link building or anything of that nature yet. http://maven-management.com I'm starting to see the site rank on Bing for some keyword phrases but it doesn't rank for the business name "Maven Management" on any major search engine. SEOMoz gives my on page optimization an A for the business name for the home page. Am I just being impatient? I didn't really put much effort into ranking for the business name because that generally seems to happen without any issue. There are other companies online with the same name. Any insight is appreciated.
On-Page Optimization | | DenverKelly0 -
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 -
Should I use a Page Name variable after the ? for a dynamic web page
I'm converting for static to dynamic web pages. It appears that the page name is used for page ranking in the search engines. Will adding a Page Name variable help to increase our SEO. For example aspecialgift.com/subcat.php?PageName=GiftPage&ProductID=ABCDE. Does the page name variable make a difference?
On-Page Optimization | | NCBob0 -
Naming Pictures
Think of our company as a real estate company, having hundreds of homes, each home has an optimized page and comes with a WP light box and 15 specific photos of a property. The code of the property would be unique, and so is the title tag (key phrase) for each property unique. Each property has a picture of the front, the living room, the master bedroom, a bathroom, the pool, the kitchen... Say the home code is HC007FE and the keyword is "greatest home example ever". How would you suggest naming the pictures and additionally the alt txt for these pictures? Thanks for your help!
On-Page Optimization | | Discountvc0