Saturday, January 13, 2007

Testing method of avoiding large white space created by standard way of coding table

I have a post detailing how to write the HTML for a table in this post How to avoid large space above table when writing the HTML for a table in Blogger. There were two methods, the one I used is cumbersome. MLA commented in that post and asked for my opinion of his way of avoiding large white space above tables when writing HTML for tables in the standard format. I said I will test it, so I am testing it first in a New Blogger blog. If it works here, I believe it should also work in the old (classic) Blogger. So here goes. If you don't see any large white space between this paragraph, and the table, that means MLA's method works:


Well, there are no large space between the paragraph above and the table as you can see, so MLA's method works.

This is how MLA did it. He created a class "nobr" using CSS, like this:
<style type="text/css">.nobr br { display: none }</style>
Then below the CSS, he created a division <div> specifying the class. He will then type the HTML for the table in the standard format within that division. For example, this is the script I used to create the above table:

<style type="text/css">.nobr br { display: none }</style>
<div class="nobr">
<table border="1">

If you understand the method, well and good. If not, you can also see MLA's post: Table formatting in Blogger

1 comment:

Anonymous said...

Hi, thanks for your ideal info, can I make a copy to my blog?

I'm starting to play with make money online and a website with following keywords:
[url=]best forex trading platform[/url],
[url=]future forex trading, [/url]
[url=]forex trading for dummies,[/url]
[url=]forex trading advice,[/url]
[url=]forex trading indicator,[/url]
[url=]forex trading programs[/url]

what should i do to make my site be spread to many audiences to start earing?