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.
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
-
Brand name in title?
Hi all, I have noticed that a lot of companies put there brand/company name at the end of their page title. To me, that seems like a huge sacrifice of your limited 60 characters. Wouldn't it be better to use characters for words that people might actually be searching for?
On-Page Optimization | | RaoulWB0 -
Site name in page title - leave it or remove it?
Hi all, Recently came across some authority blog (quicksprout to be precise) which stated that apart from main page, contact page, about us and some other generic pages, site name should be removed as it might produce duplicate content. example "How to blog | Example Site name" This mostly is the issue with tags and categories pages as it shows on Moz issues. Is that really a problem and site name should be taken off them? Thank you.
On-Page Optimization | | Optimal_Strategies1 -
Ranking over someone else who has your branded domain name
Hello! I have a client who has been in business for a long time, but was very late to the game online. As a result, the branded domain for his business (for explanation purposes I'll call it "Houston Tan"*) was already taken when he decided he needed a website, however it was not being used. He approached the company that owned "houstontan.com" and they refused to sell it to him. Not only that, they turned around and opened a company and developed the website using his trademarked company name as one word instead of two, "HoustonTan." It was brought to court and the judge determined that since they created a new name by combining the two words, there was nothing that he could do. Still having to create a website for his company, he chose the domain "HoustonSunTan.com." Not sure who was advising him on that one. So now he has a domain name with only a partial match to his company name. As you would imagine, when you search Houston Tan, HoustonTan.com is number 1, 2 & 3, and HoustonSunTan.com is #4. My question is, do you think it is even possible for his company to overtake the top spot of Google? Or have you ever come across a situation like this and if so what worked for you? FYI: Even though it says Houston, the company is a global company in over 500 cities (with one 800 number unfortunately), so local SEO strategies wouldn't necessarily apply. *Names are made up to protect both parties 🙂
On-Page Optimization | | American.Made0 -
Changed Blog Name - Duplicate Title Tags - Wordpress
Hi friends, I changed my blog name url from "german-shepherd-blog" to "dog-blog." Now I am getting a large amount of duplicate title tags. How do I tell google I made the change? Is there something on my site I need to change?
On-Page Optimization | | Joshlaska0 -
Does class and id names considered as text content by google
Does google and other search engines considers the class and id names as part of text content. Will it be included in the keyword density and treated as a content. For Example: <a <span="">href</a><a <span="">="http://xyz.com" title="xyz" class="topmargin_rightside_middlenavigation_home"></a> Will google considers the words "topmargin rightside middlenavigation home" as part of the text. Also If i am supposed to use this class as many times on a page, will the keyword density affects.
On-Page Optimization | | Sulekha0 -
Value of Domain Names
Hello, I have an ecommerce site that sells personalized gifts. I am wondering about the value of purchasing domain names for specific products and have them point to a landing page. For example: the domain name personalizediphonecases.com would point to my page of that product. Is that a good idea? Thank you!
On-Page Optimization | | Confections0 -
Switching URL from keyword heaven to actual brand name?
Our client has a site, we'll say it's delicious-lemonade.com (That's an example.) Their brand name, however, is PowerSky. (That's an example, but the point is that it's the name of a technology, and has NOTHING to do whatsoever with being a drink. Someone would never guess what the product was, by the brand name.) The client has this domain name for a long time. The domain name itself is a top keyword for their product. We are building a new site for the client and have planned to use the brand name (PowerSky) as the primary domain, so PowerSky.com, with the product page being PowerSky.com/Delicious-Lemonade. And we are planning to redirect Delicious-Lemonade.com to PowerSky.com. However, we are concerned about the SEO hit the site is going to take. What recommendations can you make in this situation?
On-Page Optimization | | grayloon0 -
Sister Sites or Joint Family?
A large News Media Group has a Tv Channel, print newspaper, radio channel (for music primarly) and an online website that includes the newspaper content and other original content in different media. My question is, is it better to have independant websites for these different mediums or have all the content on one big website. Currently the newspaper and blog are online as one whereas the radio channel has its own website and the television has its own. So should we maintain sister sites and cross link to each other or have one big happy family under one house? Best, Rishad.
On-Page Optimization | | RishadShaikh590