CSS/HTML: Reducing space below header on our website

Posted on 2014-04-01
Last Modified: 2014-04-01
What's the exact part of my CSS/HTML to make smaller the space right under my header on

Question by:weikelbob
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
LVL 52

Accepted Solution

Carl Tawn earned 167 total points
ID: 39968922
Well, at the moment it is this TR element that is causing the extra spacing:
    <td><!--START: username--><!--END: username--></td>

Open in new window

There will no doubt be a whole load of comments shortly about not using tables for layout....which I would agree with, but I don't imagine you have any plans to rebuild the entire site.

Assisted Solution

ravikantninave earned 167 total points
ID: 39968981
<td> </td>

on last row

Author Comment

ID: 39969015
Here's the code for that part of the template.

                  <!--END: FRAME_SEARCH--></td>

                        <td><!--START: username-->
                          <table width="100%" cellspacing="0" cellpadding="0">
                              <td align="right" valign="top" class="greeting">&nbsp;[account_greeting] [username]</td>
                          <!--END: username--></td>

      <td><table width="100%" cellspacing="0" cellpadding="0">
            <!--START: LEFT BAR-->

Open in new window

LVL 53

Assisted Solution

by:Scott Fell, EE MVE
Scott Fell,  EE MVE earned 166 total points
ID: 39969818
You have tables with inline styles that are setting height.  You can adjust those as well.

I would be one to say start over.  It is not hard to convert what you have from tables inside of tables inside of tables to a grid.  Using a responsive grid like bootstrap or foundation will help you make the site responsive in order for the 50% of your users that are on an ipad/tablet or phone to use the site.

Featured Post

Tutorials alone can't teach real engineering

So we built better training tools.

-Hands-on Labs
-Instructor Mentoring
-Scenario-Based Tests
-Dedicated Cloud Servers

All at your fingertips. What are you waiting for?

Question has a verified solution.

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

Developer portfolios can be a bit of an enigma—how do you present yourself to employers without burying them in lines of code?  A modern portfolio is more than just work samples, it’s also a statement of how you work.
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
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.

724 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