Moz Q&A is closed.
After more than 13 years, and tens of thousands of questions, Moz Q&A closed on 12th December 2024. Whilst we’re not completely removing the content - many posts will still be possible to view - we have locked both new posts and new replies. More details here.
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
-
Seeking Advice on Improving On-Page SEO for my Website
I'm looking for some expert advice on improving the on-page SEO for my website, CCTV Camera Installation. Despite following best practices, I feel that my site isn't performing as well as it could be in search engine rankings. Here are a few specific areas where I'd appreciate some guidance: Content Optimization: I've ensured my content is keyword-rich and valuable to my audience. Are there any advanced techniques or tools that can help further optimize my content? Meta Tags and Descriptions: I've written unique meta titles and descriptions for each page, but I'm unsure if they're as effective as they could be. What are some tips for crafting compelling meta tags that improve click-through rates? Internal Linking: I've set up a basic internal linking structure. How can I enhance this to better distribute link equity and improve user navigation? Page Load Speed: While my site's load speed is decent, I'm aware that even minor improvements can have a significant impact on SEO. Are there any specific optimizations or tools you recommend for speeding up my website? Technical SEO: I've covered the basics like XML sitemaps and robots.txt files. Are there any advanced technical SEO practices that I should be aware of? Here is the link to my website for your reference: https://www.acssllc.ae/ Thank you in advance for your help! Best regards,
On-Page Optimization | | Htdbf
Israr Khan0 -
OnPage SEO
I am about to start my website http://i-love-skiing.com/. I would like to know what OnPage ranking factors should I consider while launching or building my website. I want to rank higher on search results.
On-Page Optimization | | TheresaWoods0 -
Does homepage SEO exist at all?
hi Just read a Yoast article explaining that the homepage should never be optimized for a specific keyword and should only be optimized for its business or brand name. i have a large site that I'd like to rank (or increase traffic for as I know people get irritated with that term now) for 'Campervan hire'. It has plenty of sub pages going after 'Campervan hire 'location'' for example. it makes sense to me for the homepage keyword - my core keyword - to be 'Campervan hire' and for the homepage to be optimised for this. However, the article I've just read (https://yoast.com/homepage-seo/) suggests a separate page for this keyword. What are your thoughts pls?? thanks
On-Page Optimization | | CamperConnect142 -
Choosing a title tag in seo (H1 or H2 or H3)
I look many times on google that what is the best tag to set in title for seo, H1 or H2 or H3 In many forums and sites they are asking that you need to put only H2 tag in title and someone ask to put H1 in title and i am confused, Some body tell me the correct tag for seo in google, or any other search engine.
On-Page Optimization | | seom20140 -
SEO for luxury brands!?
Hi all, It is widely known fact that you will be a bit in trouble if you will need to do SEO for luxury brand that is not willing to sacrifice design, layout etc. for SEO purposes. So basically - there is no content to optimize and there is almost no keywords to rank! 😉 Just wondering - how would be the best to approach such kind of terrible situation? Regards, Jungle
On-Page Optimization | | Jungles0 -
What is the most SEO friendly Shopping Cart?
What is the most SEO friendly shopping cart? I have been using zen-cart for 6 years. Seems Google doesn't like it as much as other carts. I started a new site about 6 months ago using Magento. When I build links to this site the terms move. The terms are very similar. So I would imagine the competition is the same. I am curious if anybody has tried with different carts and found anyone to be better than the others. Also the new site has about one tenth the amount of products but has a lot more pages indexed.
On-Page Optimization | | kicksetc0 -
HAVING A POPUP WINDOW ON HOMEPAGE AFFECTS SEO?
Good evening, I currently have a blog that uses a popup window after 15 seconds that is used to add visitor to my newsletter. My question is : Does it have a negative effect in SEO? Thanks in advance Maria Jesus
On-Page Optimization | | goperformancelabs0 -
External vs inline for CSS menu
Which is better for search engines: external or inline menus? And which language: CSS, Javascript, or both?
On-Page Optimization | | teatable0