Does css float affect SEO?
-
It is generally believed that the closer the content is to the top of the page, the better it is for SEO. If that's incorrect, please let me know.
I have a 2 column site where the left menu is navigation and right side is content. Obviously, the left menu appears in the code before the content does, but I can flip them around via css float. If I do that, the content will appear on the left visually, even though in the code it still comes after the left side navigation.
Do either positions affect seo?
-
I would not worry about moving the code, I would use html5 elements to tell the search engine what is what. Such as
<header>
<nav>
<menu>
<aside></aside>
</menu>
</nav>
</header>
-
To follow up on what Holger said - you are not using CSS to do anything "tricky" to game Google. By placing the important content at the top your raw coded content is structured exactly as it should be. What you are doing is 100% legit and it could also be very easily be argued that you are improving the code from a structural standpoint.
-
I think you can test this issue best with a "Text-Only-Browser" to see how search engines see your page.
Here are some links:
If your page is already indexed with Google, put in the following URL:
http://webcache.googleusercontent.com/search?q=cache:example.com
Google will show in the grey cache-info box a link "text-only-version"The Safari-Browser shows a "reader Icon" if there is a lot of text on a page...
Or you may check this link for more Text-Browsers: http://www.internetmarketingninjas.com/blog/seo-tools/5-text-only-browsers/Hope this helps!
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
-
Does Plus Sign "+" in url affect SEO and Ranking?
there are customized pages on the client's site, they contain brand pages related to Samsung, iPhone, ZTE, LG, Motorola, and HTC Mobile phones.
On-Page Optimization | | dietsuave
For Example:
https://www.unlockninja.com/unlock-apple+phone
https://www.unlockninja.com/unlock-zte+phone
https://www.unlockninja.com/unlock-samsung+phone
Should I recommend them to change the URL structure. ?0 -
Duplicated Content on Wordpress Mobile&Desktop versions- Is it bad for SEO?
Hello, I use a Wordpress theme for displaying mobile and desktop versions separately. The problem is that if you use tools like screaming frog or if you look at the code (view source), you can detect duplicated content. But if you're browsing on your mobile you will see only the content I have created for the mobile version and the same if you're looking at the desktop version, you will only see the desktop content.
On-Page Optimization | | AlphaRoadside
Is this creating an SEO problem? If it is, please let me know why and if it has a solution. Thanks in advance.0 -
Product Descriptions (SEO)
Hello, I sell products relating to wood. Although the products vary, I like to give description of the wood type for the customers who might not be familiar with it. Will it hurt my rankings to give the same descriptions for the same wood type as long as the majority of the description is different? Here is an example of the layout: 1. Different description for different products 2. The same short description for the same wood types (seen throughout multiple pages) Hopefully my question makes sense.
On-Page Optimization | | mattl992 -
Reducing multi-page website to one page & SEO ramifications?
Hello there! I just want to check in before I do this. I am reducing a multi-page website to one page (temporarily, but for at least 4-6 months). I will be 301 redirecting all old pages to the one, new home page. The new home page has a lot more content, long and short keyword phrases. Aside from losing the benefit of internal links, will reducing the number of website pages hurt a ranking? Does having associated keywords on other website pages provide benefit to another (in this case Home) page? Thanks so much for your invaluable advice!
On-Page Optimization | | lulu710 -
SEO Optimizing in UMBRACO
Hi there, I am planning to use UMBRACO to manage my existing website, so my question to Seomozzers out there is what should I be aware of, how safe is it to have UMBRACO in terms of SEO. By using this software, would it be possible to get a positive or negative impact on my keyword rankings? Thanks!
On-Page Optimization | | matti_wilson0 -
Combining CSS
One recommendation from a page speed analysis of my site was to combine CSS (external style sheets) but after reading more on the topic others say that this is not always best. Any thoughts on either approach?
On-Page Optimization | | casper4340 -
SEO for standard website pages
How do you folks approach adding some SEO value to the standard "every site has them" pages like "About Us", "Contact Us" and such? I struggle trying to find some relevant non-branded content. We normally cover all the customers relevant services and product offerings in pages specfiically tailored to that content, but don't want to waste pages if they could have some value in drawing traffic. Any great ideas, Mozworld? Thanks, Mark
On-Page Optimization | | DenverKelly0 -
Developer comments in code & SEO
A client of mine has provided an SEO report that states:- "The inclusion of comments by developers in the coe is common practice..... ....its is not positive to leave large blocks of code in the site as makes crawling difficult to crawl" Im thinking that this has no SEO import at all, any one come across this? Thanks z z1eEy
On-Page Optimization | | zabba0