Solved

CSS/HTML: Reducing space below header on our website

Posted on 2014-04-01
4
375 Views
Last Modified: 2014-04-01
What's the exact part of my CSS/HTML to make smaller the space right under my header on www.youthdiapers.com?

Thanks!
0
Comment
Question by:weikelbob
4 Comments
 
LVL 52

Accepted Solution

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

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.
0
 
LVL 4

Assisted Solution

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

on last row
0
 
LVL 7

Author Comment

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

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


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

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

Open in new window

0
 
LVL 52

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.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

I've been asked to discuss some of the UX activities that I'm using with my team. Here I will share some details about how we approach UX projects.
Find out what you should include to make the best professional email signature for your organization.
In this tutorial viewers will learn how to embed custom externally-hosted Google Fonts using the Google Font API in CSS Go to the Google Fonts website at google.com/fonts: Browse or search based on font properties or name to find a suitable font for…
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)

911 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

27 Experts available now in Live!

Get 1:1 Help Now