Jump to content
Sign in to follow this  
cheapskatemate

Having Trouble With Columns

Recommended Posts

I'm having trouble with the columns on this page:http://www.financialcharting.com/eza/searc...%2Bteddy%2BbearIt's the table with two columns containing Google and Yahoo data.Each column is a bit too thin and there is wasted white space next to each. That is due to table-layout:fixed;word-wrap:break-word;However, if I take out that css code, the columns become too wide and overflow the boundaries.Does anyone know how I can get rid of the white space without letting the content overflow outwards.

Share this post


Link to post
Share on other sites

Specifically, what part of your code is the problem?

Share this post


Link to post
Share on other sites

Here are a few good articles on liquid layout columns using CSS and HTML:http://matthewjamestaylor.com/blog/perfect...n-left-menu.htmhttp://www.maxdesign.com.au/articles/css-layouts/two-liquid/http://inobscuro.com/tutorials/common-layout-codes-29/Without digging through all that code, it helps to set padding and margins to 0 to get rid of extra white space.

Share this post


Link to post
Share on other sites
Specifically, what part of your code is the problem?
The part of my code is :
<table style="table-layout:fixed;"><tr><td valign="top" width="50%"><a name="google_serps_summary"></a><h2>Google Search Results Summary</h2><a href="http://www.google.com/search?q=how+to+make+your+own+teddy+bear">Search Yourself</a><table style="table-layout:fixed;word-wrap:break-word;" class="sticky-enabled">  <thead><tr><th>Result Details</th><th>Page Rank</th> </tr></thead> <tbody>

So I have a table within a table. The second table only uses around 60% of the <td> tag that it within.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...