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
-
Opinions on leaving Non-SEO Pages without a H1
This one is pestering me and i am on the fence, so i thought i'd ask the trusty Moz community for their opinion. I am running a technical / onsite audit for a client who has quite a pretty, creative and animated homepage with lots of overlaid imagery. As its primarily imagery, including their glossy typography and clickable links, the page does not have a H1. Now i know this goes against best practice, however it's unlikely the page will ever be served as an SEO landing page (in current format), so what are people's thoughts on leaving as is without a H1, considering we are not going to try and ranking the landing page for any particular keywords. Let us know your thoughts! Thanks
On-Page Optimization | | NickG-1230 -
Product Tag Value on SEO
Do product tags for ecommerce sites have any benefit to SEO? Or are they redundant? i.e. thespacecollective.com/astronaut-moldavite-pendant (tags appear below the product name on the right)
On-Page Optimization | | moon-boots0 -
Lost SEO contract, new SEO wants us to do the following - can you explain why?
1. Make prokem.co.uk the master domain rather than prokem-corrosion-protection.com 2. Ensure each http URL is 301 redirected to its https counterpart via htaccess rather than in plesk 3. 301 redirect each www.prokem-corrosion-protection.com URL to its co.uk counterpart via htaccess. I can provide a list of pages to redirect as there are a number of duplicate pages that will need removing. It probably makes sense to implement these other changes at the same time: Remove all of the canonical tags currently on the site. Leverage browser caching by following Google’s page speed recommendations - https://developers.google.com/speed/docs/insights/LeverageBrowserCaching Losslessly compress all of the website’s images. Combine and minify the website’s JavaScript
On-Page Optimization | | Simon_VO0 -
SEO before products on ecommerce site
Our company plans to quickly launch an e-commerce site to sell religion themed banners (religionbanners.com). We'll have our products up on the site in about a week. Should I block Google from accessing the site during this period? Is there anything wrong with starting simple SEO tasks such as submitting the site map on Google Search Console prior to us having the products on the site?
On-Page Optimization | | art_litho0 -
SEO for a Domain which contains Multiple individual sites
My website structure www.example.com (wordpress installation number 1)
On-Page Optimization | | kevinbp
www.example.com/forum/ (vbulletin installtion)
www.example.com/shop/ (wordpress installation number 2) Each of these individual pages contains a fresh wordpress/vbulletin installation with their individual admin control panel. Am i doing this website entirely wrong? Is my website considered as a single website or does Google classify it as 3 different websites? My Ranking page is, www.example.com, and by blog post is www.example.com/forum/blog. When i do a link within my blog entry to my main ranking page, does it count as external or internal link?0 -
301 Redirect and SEO Rankings
I recently restructured my webpage URL's (about 300 ~ 75% of my total website) to make the URL paths more SEO friendly. Within a few hours of restructuring the pages, I did a 301 redirect to my old URL's and pointed them to the new pages. I have seen ~ 50% drop in organic traffic. I started the restructuring exercise 14 days ago and finished it a few hours back. I have 3 questions: How long will it take for me to recover my old traffic. Will I recover most of it or some of it? Due to a glitch in the specified path, some old URL's were wrongly redirected (this happened with 9 pages to be exact). I will explain exactly what happened: www.redirct.com/superseonow1 ---- redirected to ---- www.redirectnow.com/seonow1 **/superseonow was 301 redirected to /seonow. After 3 days I realize that /superseonow1 was actually /supernow1. The same thing happened to 9 pages - /superseonow2, /superseonow3 ..... ** I have removed all the wrong redirects. When I tried to enter the correct (old) paths now and 301 redirect them to the new paths, the page was not found using the old paths. Should I redirect the old paths to the New ones even now? 3. Finally, in how much time after you change the page structure should you use the 301 redirect. Since I had two different teams working on this job, there could have been up to a 24 hour gap between the redirection.
On-Page Optimization | | rajatsharma0 -
SEO Issues with Avactis Shopping Cart Please Help
The home page title duplicates on all cms pages. this is causing the title to be over 70 characters. This is my first experience with Avactis so I am not exactly sure how to handle. Does anyone know?
On-Page Optimization | | MACameron0