HTML Tutorial


 Forum HomeForum Home   FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
RegisterRegister - Not registered yet? Got something to say? Join HTML Code Tutorial!
Help With Table
Post new topic   Reply to topic    HTML Help Forum Index -> HTML Table
View previous topic :: View next topic  
Author Message
pineapple76



Joined: 26 Apr 2008
Posts: 1

PostPosted: Sat Apr 26, 2008 12:37 pm     Help With Table Reply with quote

Hello,

I've just added social media links onto my blogger blog. I added them as a table, and now I have a huge gap between the post and the social media links.
How can I fix this?

to see go www.marketingbystephanie.blogspot.com
Corey Bryant
Site Admin


Joined: 15 May 2004
Posts: 8199
Location: Castle Rock CO USA

PostPosted: Sat Apr 26, 2008 1:15 pm     Reply with quote



(I reformatted the code using Microsoft Expression Web so this part might be a bit different, I just did it so it would be easier to read.)

Code:
<table>
   <br />
   <tr>
      <td>
      <a href="http://www.stumbleupon.com/submit?url= http://marketingbystephanie.blogspot.com/2008/04/kelseys-where-everyone-knows-my-name.html">
      <img align="left" src="http://ecotality.com/life/wp-content/uploads/2007/11/stumble-upon-logo.jpg" height="35" width="35"></a></td>
      <br />
      <td>
      <a href="http://del.icio.us/submit?url= http://marketingbystephanie.blogspot.com/2008/04/kelseys-where-everyone-knows-my-name.html title=Kelseys: Where everyone knows my name?">
      <img align="center" src="http://swik.net/swikIcons/img-160-96x96.jpg" height="35" width="35"></a></td>
      <br />
      <td>
      <a href="http://www.facebook.com/sharer.php?u= http://marketingbystephanie.blogspot.com/2008/04/kelseys-where-everyone-knows-my-name.html title=Kelseys: Where everyone knows my name?">
      <img align="right" src="%20http://www.freewebs.com/spotlightweb/facebook-icon.gif" height="35" width="35"></a></td>
      <br />
      <br />
      <td>
      <a href="http://myweb2.search.yahoo.com/myresults/bookmarklet?u= http://marketingbystephanie.blogspot.com/2008/04/kelseys-where-everyone-knows-my-name.html title=Kelseys: Where everyone knows my name?">
      <img src="http://hitechstartups.files.wordpress.com/2007/07/yahoo-icon.gif" height="35" width="35" /></a><br />
      <br />
      </td>
   </tr>
</table>
All these <br /> will be adding a space. They are not needed and in the wrong place. Get rid of them and see if that fixes the problem.

_________________
Corey
Hosting Solutions | Mile High Merchant Accounts | Expression Web Blog
mjpliv



Joined: 11 May 2004
Posts: 406
Location: Nova Scotia

PostPosted: Sat Apr 26, 2008 1:22 pm     Reply with quote

Cory is right.

Remove the unecessary <br> tags. IE places them outside of the table causing the extra spaces.

I removed them and it looks fine
Straystudio



Joined: 14 Apr 2008
Posts: 238
Location: Nord Italy

PostPosted: Sat Apr 26, 2008 1:37 pm     Reply with quote

I know by my experiences on Blogger, code We can work out by " View Page Source / HTML " utilities in Browser, may be slightly different somewhere, than the HTML Code You really find in Editing Template.

Open HTML Template.
Check where each text (Your posts) is stored; it might appear as a very long, uniterrupted string (not as a block) there within <div> tags, starting <div class='post-body'>.
i.e., Your 2nd post:

<div class='post-body'>
<p>Over the next several posts I will flesh out each idea from <a href="http://marketingbystephanie.blogspot.com/2008/04/marketing-five-step-plan.html">Marketing: a Five Step Plan </a>out further. ( text goes regularly on with some <br/> tags there and here ..... )<br />Do you conduct research before you plan out your marketing?<br />( Check whether bunch of single <br/><br/><br /> or coupled <br></br><br><br/> at here, and delete on You own.) ( Now social media links are inside the following <table> which has no fault )<table><br /><tr><td><a href="http://www.stumbleupon.com/submit?url=http://marketingbystephanie.blogspot.com/2008/04/step-one-research.html"><img align=left src=http://ecotality.com/life/wp-content/uploads/2007/11/stumble-upon-logo.jpg HEIGHT="35" WIDTH="35"></a></td><br /><td><a href="http://del.icio.us/submit?url= http://marketingbystephanie.blogspot.com/2008/04/step-one-research.html title=Step One: Research"><img align=center src="http://swik.net/swikIcons/img-160-96x96.jpg" HEIGHT="35" WIDTH="35"></a></td><br /><td><a href="http://www.facebook.com/sharer.php?u= http://marketingbystephanie.blogspot.com/2008/04/step-one-research.html/&t=Step One: Research"><img src=" http://www.freewebs.com/spotlightweb/facebook-icon.gif" HEIGHT="35" WIDTH="35"></a></td><br /><br /><td><a href="http://myweb2.search.yahoo.com/myresults/bookmarklet?u= http://marketingbystephanie.blogspot.com/2008/04/step-one-research.html&title=Step One: Research"><img src="http://hitechstartups.files.wordpress.com/2007/07/yahoo-icon.gif" height="35" width="35" /></a></td><br /><br /></tr></table></p>
<div style='clear: both;'></div>

</div>



P.S.: Still writing, now doing Preview I see others already posted sharing my same mind.
mjpliv



Joined: 11 May 2004
Posts: 406
Location: Nova Scotia

PostPosted: Sat Apr 26, 2008 1:42 pm     Reply with quote

Here is a little tidbit that I noticed working on this problem. Looking at the page in IE I highlighted the content which clearly showed the <br> above the table itself. The neat part was that as I highlighted each <br> tag it also highlighted the corrosponding image even though the curser hadn't reached it yet. Thats when I went to look for <br> tags in the table contents.

Cool! Try it yourself!
Straystudio



Joined: 14 Apr 2008
Posts: 238
Location: Nord Italy

PostPosted: Sat Apr 26, 2008 2:04 pm     blogger.com reports posts in master HTML Template. Reply with quote

Most likely She/He could find as simpler Editing each single Post, since any <br /> tag may come from breaking row made at the end of message (bottom empty space in textarea).
Straystudio



Joined: 14 Apr 2008
Posts: 238
Location: Nord Italy

PostPosted: Sat Apr 26, 2008 5:00 pm     Reply with quote

mjpliv wrote:
... as I highlighted each <br> tag it also highlighted the corrosponding image even though the curser hadn't reached it yet.

Curser hit table-border before of image; You have highlighted a table-cell, driwing highlight on the image, too.

In Netscape N9 now, holding CTRL down, I hit clicking along the table border and cells' square shape get highlighted.
mjpliv



Joined: 11 May 2004
Posts: 406
Location: Nova Scotia

PostPosted: Sun Apr 27, 2008 2:57 am     Reply with quote

[quote="Straystudio"
Curser hit table-border before of image; You have highlighted a table-cell, driwing highlight on the image, too.

In Netscape N9 now, holding CTRL down, I hit clicking along the table border and cells' square shape get highlighted.[/quote]

In IE the effect of the <br> tags were completely outside of the table cells. I added a border value to the table to visually define it when I first checked to see if it was the table or the DIV formatting that was cause the problem in the first place.
Display posts from previous:   
Post new topic   Reply to topic    HTML Help Forum Index -> HTML Table All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
HTML Help Archive
Powered by phpBB © 2001, 2005 phpBB Group
HTML Help topic RSS feed 

 
HOSTING / DESIGN
MAKE MONEY

Home
  |   Tutorials   |   Forum   |   Quick List   |   Webmaster Directory   |   About
Copyright ©1997-2002 Idocs and ©2002-2007 HTML Code Tutorial