?
Solved

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

Posted on 2013-05-10
2
Medium Priority
?
382 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 2000 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

Are You Using the Best Web Development Editor?

The worlds of web hosting and web development are constantly evolving. Every year we see design trends change, coding standards adapt and new frameworks/CMS created. With such a quick pace of change it’s easy to get lost trying to keep up.

See if your editor made the list.

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…
This article demonstrates how to create a simple responsive confirmation dialog with Ok and Cancel buttons using HTML, CSS, jQuery and Promises
This video teaches users how to migrate an existing Wordpress website to a new domain.
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.
Suggested Courses
Course of the Month10 days, 4 hours left to enroll

762 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