Irish SEO,  Marketing & Webmaster Discussion

 

Logo on my website not aligning properly

This is a discussion on Logo on my website not aligning properly within the Coding Help forums, part of the Webmaster Help category; Hello, I'd appreciate any pointers on this. The logo in the top left corner of my website Immigrant.ie - Living ...


Go Back   Irish SEO, Marketing & Webmaster Discussion > Webmaster Help > Coding Help

Register Forum Rules FAQDonate Members List Calendar Search Today's Posts Mark Forums Read


Notices

Reply

 

LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 06-04-2007, 03:36 PM
Wannabe Geek
 
Join Date: Sep 2006
Posts: 193
Nominated 0 Times in 0 Posts
TOTW/F/M Award(s): 0
dude will become famous soon enough
Default Logo on my website not aligning properly

Hello,

I'd appreciate any pointers on this.

The logo in the top left corner of my website Immigrant.ie - Living and working in Ireland - Immigration has a small gap at the bottom between itself and the white box.

As you can see from the logo, it has been designed so the white bit around it connects with the white box beneath it.

I can't figure out what's causing the gap.

Any ideas??

Thanks
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #2 (permalink)  
Old 06-04-2007, 03:55 PM
louie's Avatar
Senior Member
 
Join Date: Jan 2006
Location: Dublin, Ireland
Posts: 2,048
Nominated 5 Times in 3 Posts
Nominated TOTW/F/M Award(s): 1
louie will become famous soon enoughlouie will become famous soon enoughlouie will become famous soon enoughlouie will become famous soon enoughlouie will become famous soon enoughlouie will become famous soon enoughlouie will become famous soon enoughlouie will become famous soon enough
Send a message via Yahoo to louie Send a message via Skype™ to louie
Default

the problem there seems to be the adsense, making the height of the td tag higher then 94px which is the height of the image itself.

if you have access to the raw code of the page you can try this:
Code:
<!-- logo -->
<a name="top"></a>
<table border="0" width="100%" cellpadding="0" cellspacing="0" align="center" style="margin:0px; padding:0px;>
<tr>
 <td align="left" valign="bottom"><a href="<A href="http://www.immigrant.ie/"><img">http://www.immigrant.ie/"><img src="http://www.irishwebmasterforum.com/images/misc/vbulletin3_logo_white.gif" border="0" alt="Immigrant.ie - Living and working in Ireland - Immigration" /></a>
</td>
<td align="center" valign="top">
<script type="text/javascript"><!--
google_ad_client = "pub-5837688024799585";
google_ad_width = 728;
google_ad_height = 90;
google_ad_format = "728x90_as";
google_ad_type = "text_image";
//2007-03-20: Immi
google_ad_channel = "2321808298";
google_color_border = "e1e1e3";
google_color_bg = "e1e1e3";
google_color_link = "22229C";
google_color_text = "000000";
google_color_url = "22229C";
//-->
</script>
<script type="text/javascript"
  src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
 </td>
 </tr>
</table>
<!-- /logo -->
or change it to divs.
Code:
<!-- logo -->
<a name="top"></a>
<div style="width:100%;height:94px;">
 <div style="text-align:left; vertical-align:bottom; width:376px; height:94px;">
  <a href="<A href="http://www.immigrant.ie/"><img">http://www.immigrant.ie/"><img src="http://www.irishwebmasterforum.com/images/misc/vbulletin3_logo_white.gif" border="0" alt="Immigrant.ie - Living and working in Ireland - Immigration" /></a>
 </div>
 <div style="width:100%; text-align:center; padding:0px; margin:0px;">
  <script type="text/javascript"><!--
  google_ad_client = "pub-5837688024799585";
  google_ad_width = 728;
  google_ad_height = 90;
  google_ad_format = "728x90_as";
  google_ad_type = "text_image";
  //2007-03-20: Immi
  google_ad_channel = "2321808298";
  google_color_border = "e1e1e3";
  google_color_bg = "e1e1e3";
  google_color_link = "22229C";
  google_color_text = "000000";
  google_color_url = "22229C";
  //-->
  </script>
  <script type="text/javascript"
    src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
  </script>
 </div>
</div>
<!-- /logo -->
also right above the adsense code you have a <br /> tag.
Try removing that, cause it increases the height of the <td> tag by least 5px.
__________________
:. Web Design & Development Web Design Ireland
:. Search Engines Optimization Search Engines Optimization
:. Directory Submission Directory Submission
:. News & Press Release Ireland GiveItSocks.com
:. Used Cars Ireland, Car Parts & Car Audio Cars For Sale, Car Parts & Accessories
:. I Have 2 Find It Directory SEF Directory

Last edited by louie; 06-04-2007 at 04:28 PM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #3 (permalink)  
Old 06-04-2007, 03:57 PM
Wannabe Geek
 
Join Date: Sep 2006
Posts: 193
Nominated 0 Times in 0 Posts
TOTW/F/M Award(s): 0
dude will become famous soon enough
Default

Tried that unfortunately Removing the adsense altogether makes no difference...

Thanks for the attempt though.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #4 (permalink)  
Old 06-04-2007, 04:05 PM
louie's Avatar
Senior Member
 
Join Date: Jan 2006
Location: Dublin, Ireland
Posts: 2,048
Nominated 5 Times in 3 Posts
Nominated TOTW/F/M Award(s): 1
louie will become famous soon enoughlouie will become famous soon enoughlouie will become famous soon enoughlouie will become famous soon enoughlouie will become famous soon enoughlouie will become famous soon enoughlouie will become famous soon enoughlouie will become famous soon enough
Send a message via Yahoo to louie Send a message via Skype™ to louie
Default

give the table a height in the style. The height of the image itself.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #5 (permalink)  
Old 06-04-2007, 04:10 PM
louie's Avatar
Senior Member
 
Join Date: Jan 2006
Location: Dublin, Ireland
Posts: 2,048
Nominated 5 Times in 3 Posts
Nominated TOTW/F/M Award(s): 1
louie will become famous soon enoughlouie will become famous soon enoughlouie will become famous soon enoughlouie will become famous soon enoughlouie will become famous soon enoughlouie will become famous soon enoughlouie will become famous soon enoughlouie will become famous soon enough
Send a message via Yahoo to louie Send a message via Skype™ to louie
Default

the problem it's all here

Code:
</table>
<!-- /logo -->
<!-- content table -->
<!-- open content container -->
<div align="center">
try this
Code:
</table><div align="center">
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #6 (permalink)  
Old 06-04-2007, 04:16 PM
louie's Avatar
Senior Member
 
Join Date: Jan 2006
Location: Dublin, Ireland
Posts: 2,048
Nominated 5 Times in 3 Posts
Nominated TOTW/F/M Award(s): 1
louie will become famous soon enoughlouie will become famous soon enoughlouie will become famous soon enoughlouie will become famous soon enoughlouie will become famous soon enoughlouie will become famous soon enoughlouie will become famous soon enoughlouie will become famous soon enough
Send a message via Yahoo to louie Send a message via Skype™ to louie
Default

i am looking at you and you are playing with the wrong code.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #7 (permalink)  
Old 06-04-2007, 04:19 PM
Wannabe Geek
 
Join Date: Sep 2006
Posts: 193
Nominated 0 Times in 0 Posts
TOTW/F/M Award(s): 0
dude will become famous soon enough
Default

Hah I tried getting rid of

Quote:
<!-- /logo -->
<!-- content table -->
<!-- open content container -->
and it made no difference...
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #8 (permalink)  
Old 06-04-2007, 04:27 PM
louie's Avatar
Senior Member
 
Join Date: Jan 2006
Location: Dublin, Ireland
Posts: 2,048
Nominated 5 Times in 3 Posts
Nominated TOTW/F/M Award(s): 1
louie will become famous soon enoughlouie will become famous soon enoughlouie will become famous soon enoughlouie will become famous soon enoughlouie will become famous soon enoughlouie will become famous soon enoughlouie will become famous soon enoughlouie will become famous soon enough
Send a message via Yahoo to louie Send a message via Skype™ to louie
Default

did you try the div version I gave you above?

tables tend to put a 1-2 px padding
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #9 (permalink)  
Old 06-04-2007, 04:31 PM
Wannabe Geek
 
Join Date: Sep 2006
Posts: 193
Nominated 0 Times in 0 Posts
TOTW/F/M Award(s): 0
dude will become famous soon enough
Default

Whoa! Div works a treat, but my adsense go awol

Nice one.

Any idea on the adsense?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #10 (permalink)  
Old 06-04-2007, 04:33 PM
louie's Avatar
Senior Member
 
Join Date: Jan 2006
Location: Dublin, Ireland
Posts: 2,048
Nominated 5 Times in 3 Posts
Nominated TOTW/F/M Award(s): 1
louie will become famous soon enoughlouie will become famous soon enoughlouie will become famous soon enoughlouie will become famous soon enoughlouie will become famous soon enoughlouie will become famous soon enoughlouie will become famous soon enoughlouie will become famous soon enough
Send a message via Yahoo to louie Send a message via Skype™ to louie
Default

there you are - you have it
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply

Tags
aligning, logo, properly, website

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump

Similar Threads

Thread Thread Starter Forum Replies Last Post
How do I view my website as seen from another coutnry? Tom Webmaster Discussion 4 15-03-2007 03:12 PM
quote for a website addoc Marketplace Requests 7 18-01-2007 11:37 AM
New Jenerate Limited Website LostInIreland Site Reviews / Announcements 14 15-08-2006 08:09 AM


Sponsored links

Paid On Results


All times are GMT +1. The time now is 05:12 AM.


Powered by: vBulletin Version 3.7.3, Copyright ©2000 - 2008, Jelsoft Enterprises Limited.
Hosted in Ireland by Blacknight - Test your ISP |Irish Hosting Directory| Armchair.ie|Logo by Eden Web Design|Avatars by Afterglow |Latest Blog Entries | VPS HostingAd Management by RedTyger

Search Engine Friendly URLs by vBSEO 3.2.0