Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8453205
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T11:42:32+00:00 2026-06-10T11:42:32+00:00

I’m working on a landing page in WordPress that consists of two main components:

  • 0

I’m working on a landing page in WordPress that consists of two main components:

  1. A vertically and horizontally centered DIV (accomplished with Jquery)
  2. A series of buttons with a rollover effect (accomplished with JqueryUI)

While both of these components seem to be functioning well, there is an extra space between the buttons that I can’t seem to find in the HTML editor, which can be seen here. The spaces between the “Main Site,” “Mobile,” and “Donate” buttons are noticeably larger than the space between the title and the first button.

Using inspect element in Chrome, the line following the </div> tag for each button contains a " " , which I think might be responsible for the extra space, but I can’t find it in the WordPress HTML editor. I’ve also downloaded a WP disable wpautop-type plugin, but it hasn’t removed the space.

Finally, when I paste the HTML and associated CSS into JSfiddle, the extra space dissapears. I’m assuming the issue is with WordPress’ automatic formatting. However, I can’t figure out what function is adding the space or how to remove it. Any help is greatly appreciated!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-10T11:42:33+00:00Added an answer on June 10, 2026 at 11:42 am

    I ended up adding a negative bottom margin to the buttons in question and it removed/reduced the space between the DIVs to just what I needed. That being said, if adding negative bottom margins is bad practice, someone feel free to jump in on this post and stop me!

    ShaunOReilly, thanks so much for your help and the jsfiddle – I’ll definitely keep it in mind.

    Marca

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

That's pretty much it. I'm using Nokogiri to scrape a web page what has
Basically, what I'm trying to create is a page of div tags, each has
I'm parsing an RSS feed that has an &#8217; in it. SimpleXML turns this
I'm working with an upstream system that sometimes sends me text destined for HTML/XML
link Im having trouble converting the html entites into html characters, (&# 8217;) i
I have a string like this: La Torre Eiffel paragonata all&#8217;Everest What PHP function
I've got a string that has curly quotes in it. I'd like to replace
I have a French site that I want to parse, but am running into
I am doing a simple coin flipping experiment for class that involves flipping a
I know there's a lot of other questions out there that deal with this

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.