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
-
Best site Template, Structure, etc. for SEO
If I were to spin up a new site what do people recommend as the best template, services, etc. Do you have an example of the perfect structure, I want to point my team to an example page and say - This is perfect, do this but for our product (structure, content amount, etc) Thank you,
On-Page Optimization | | Jamesmcd030 -
SEO audit on a beta site
HI there, Is there much point conducting an SEO site audit on a site that has not yet launched and is protected behind a login? Presumably none of the usual SEO tools (Moz, Screaming Frog etc) can crawl this site becuase it is all locked behind a login. Would it be better to launch it and then do a site audit? Thanks
On-Page Optimization | | CosiCrawley0 -
SEO Optimization for Sales Page
Hi, I am new to eCommerce. Traditionally I have run a couple of semi-successful websites relying largely on Adsense revenue and affiliate income. So I have a bit of experience with on page and off page SEO. This time around I am creating a membership site and also sell eBooks as bundles that non members can buy. My question is, should I SEO optimize the sales page for my eBook or use another content page that links to the sales page. For example, if I am selling an ebook on Dog Training and targeting the main KW "Dog Training Tips", should my sales page be optimized for "Dog Training Tips"? The reason I ask is because typically Sales pages do not provide a lot of useful information but are more geared around selling the product. The other option would be to create a helpful information page targeted for "Dog Training Tips" and lead users to my sales page through contextual links, banners, popups (I hate popups), etc. This would be the approach for the other LSI keywords anyways. Any thought would be appreciated.
On-Page Optimization | | dwautism0 -
How does a collapsed section affect on page SEO?
A client recently asked me whether a tabbed collapsed section of text that is expanded (i.e. revealed) when clicked, is an OK thing to do without negatively effecting SEO. I told him that for starters, he may want to rethink why he would want to hide the text in the first place (this is not an FAQ type scenario). The reason has to do with the aesthetic of the page. Anyway, aesthetic aside, any thoughts on whether a collapsed (hidden from view) negatively affects on-page SEO? Thanks.
On-Page Optimization | | stephanwb
Stephan0 -
Is it SEO-wise to edit an already published article?
One of the pages on the website is #7 on the first page for a highly competetive keyword. Since I would like to improve rankings and the page is not optimized (e.g. keyword density is 0), is it SEO-wise to edit an article and create a good on-page optimization? Of course, the ultimate goal is to be in TOP 3 for a specific keyword.
On-Page Optimization | | zorsto1 -
Two Word Company Name (Combined to One) & SEO
Hi All, I'm dealing with a company that has a two word name like "GreatCompany". They rank #1 for that but not for "Great Company". The phrase is not super competitive, but obviously they are not writing the company name with two words anywhere on their site. Has anyone had to deal with something like this? Thinking about creative solutions but I'm fairly sure we're going to need to use the name both ways to have an effect here (or use PPC to augment) but I don't really love the idea of doing that... will feel very odd and inconsistent for visitors. Thanks!
On-Page Optimization | | ketanmv0 -
SEO for Japan
Google and Yahoo are the two major search engines in Japan. You can search using Western characters, and you often see English language results with Japanese (Chinese) characters next to them. As I don't speak Japanese, how do I approach SEO for my Japanese-language site? would appreciate any experiences and educational sources on the topic.
On-Page Optimization | | KnutDSvendsen0 -
Best SEO structure for blog
What is the best SEO page/link structure for a blog with, say 100 posts that grows at a rate of 4 per month? Each post is 500+ words with charts/graphics; they're not simple one paragraph postings. Rather than use a CMS I have a hand crafted HTML/CSS blog (for tighter integration with the parent site, some dynamic data effects, and in general to have total control). I have a sidebar with headlines from all prior posts, and my blog home page is a 1 line summary of each article. I feel that after 100 articles the sidebar and home page have too many links on them. What is the optimal way to split them up? They are all covering the same niche topic that my site is about. I thought of making the side bar and home page only have the most recent 25 postings, and then create an archive directory for older posts. But categorizing by time doesn't really help someone looking for a specific topic. I could tag each entry with 2-3 keywords and then make the sidebar a sorted list of tags. Clicking on a tag would then show an intermediate index of all articles that have that tag, and then you could click on an article title to read the whole article. Or is there some other strategy that is optimal for SEO and the indexing robots? Is it bad to have a blog that is too heirarchical (where articles are 3 levels down from the root domain) or too flat (if there are 100s of entries)? Thanks for any thoughts or pointers.
On-Page Optimization | | scanlin0