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
-
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 -
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 -
How can I maintain my website's authroity if I change the domain name?
I have 2 sites. Site A is doing well and growing, but has a low Domain Authority. Site B is older, has a higher authority but I want to retire it as the site's topic is well dated. Can I move all of my content on site A, to site B, change site B's name to Site A's name keep its higher authority and add all of the content and 301 redirect from site A to site B? Whew, Thanks for any thoughts, Jeff Strassman
On-Page Optimization | | biggieshaws0 -
Wordpress & trailing slash on domain name
Hi recently changed my site so it is based on Wordpress, got my preferred domain set in Google webmaster as www.domian.co.uk but since moving to wordpress my domain is now having a slash put on the end of it like www.domain.co.uk/ Most of the links going to my homepage do not have the slash on the end so am I right in thinking I should get rid of the slash from my site so I have one consistent url? If so any ideas how to banish the slash? Cannot seem to do it through the Wordpress general settings (despite preferred domain being set as www.domain.co.uk !) Thanks T
On-Page Optimization | | Jon-C0 -
70 Domain Names Point to 70 Nearly Identical Inner Webpages
I have a new SEO client; his website has never been optimized. There are 70 domain names involved with this one website. Each domain name points to an exact replica of the main page, other than the fact that a small content box has different info in it, and sometimes the header graphic is different. So, 70 webpages that are 5% different from each other and 5% different from the main page. How badly is this issue affecting this website's ability to rank well, and what is the best way to solve this?
On-Page Optimization | | netsites0 -
Will a new domain name help rankings
If I purchase a domain name that links to my site with the new domain name being keyword specific....will that help boost rankings in Google? Reason I ask is that a particular website always ranks higher than ours because of their domain name (keyword specific). They are currently not even "open" and they still manage to rank high. I checked for links with the seomoz tools but did not see any high links etc.. Thanks!
On-Page Optimization | | teachcsg0 -
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 -
Image file name, is it important
If I use the same image all over my site, do I need to change the file name to avoid duplicate? Different alt text will be use on those images
On-Page Optimization | | BigBlaze2050