Solved

Wordpress custom theme: mysterious additional height (2px) in header

Posted on 2013-05-10
2
379 Views
Last Modified: 2013-05-10
Hey experts --

So, I'm plugging away at building a really minimal theme for a client, and right here at the start I've got a gremlin.

URL: http://sullivanandco.com/wr-test/

As you can see, I have an anchor tagged image in the header, 286px by 64px, but the header itself (which is nothing BUT the image) is displaying as 66px.

I've got normalize and reset CSS that's supposed to wipe out things like that. NO idea where it's coming from. Any guesses?

500 points for speed (maybe difficulty, who knows) -- thanks in advance!
0
Comment
Question by:amateur6
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 30

Accepted Solution

by:
LZ1 earned 500 total points
ID: 39156425
Give the anchor a class or ID, then display it as block with a width and height:
 display: block;
    height: 64px;
    width: 286px;

Open in new window

0
 
LVL 1

Author Closing Comment

by:amateur6
ID: 39156506
Thanks LZ1! Beautiful.
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction A frequently asked question goes something like this:  "I am running a long process in the background and I want to alert my client when the process finishes.  How can I send a message to the browser?"  Unfortunately, the short answer…
Today, the web development industry is booming, and many people consider it to be their vocation. The question you may be asking yourself is – how do I become a web developer?
This video teaches users how to migrate an existing Wordpress website to a new domain.
The purpose of this video is to demonstrate how to set up the permalinks on a WordPress Website. This will be demonstrated using a Windows 8 PC. Go to your WordPress login page. This will look like the following: mywebsite.com/wp-login.php : Go t…

719 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question