Solved

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

Posted on 2013-05-10
2
359 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
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

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

Introduction If you're like most people, you have occasionally made a typographical error when you're entering information into an online form.  And to your consternation, the browser remembers the error, and offers to autocomplete your future entr…
CSS is a visual language used to classify objects and define rules about how they should be displayed. CSS skills aren’t restricted to developers anymore, there is a big benefit to having a basic understanding of the language, regardless of your occ…
This video teaches viewers how to create their own website using cPanel and Wordpress. Tutorial walks users through how to set up their own domain name from tools like Domain Registrar, Hosting Account, and Wordpress. More specifically, the order in…
The purpose of this video is to demonstrate how to prevent comment spam on a WordPress Website. This will be demonstrated using a Windows 8 PC. Plugin Akismet will be used. Go to your WordPress login page. This will look like the following: myw…

705 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now