[Webinar] Streamline your web hosting managementRegister Today


table query

Posted on 1999-10-27
Medium Priority
Last Modified: 2010-04-09
I want to enter the HTML for the left hand column of a two column table after the right hand side, for Search Engine optimizing.ie the RH HTML would be above the LH in the source code.
Question by:gardena

Expert Comment

ID: 2164522
Don't think its possible in plain HTML.

Your best bet might be to run a multirow table.

<td>important stuff</td>
<td>important stuff</td>

This would put some of your important stuff higher on the page in the HTML file.

Accepted Solution

nettrom earned 200 total points
ID: 2168223
I have to agree with chewymon.  tables in HTML are populated from top down, and for each row from left to right.  that's your constraints and you'll have to find some way of making it possible to have the important stuff either on the left hand side, or higher up in the document.  maybe do:

<tr><td><h1>Heading of not-so-important stuff</h1>
  <td rowspan="2">Important stuff goes here... </td>
<tr><td><p>text of not-so-important stuff...</p></td></tr>

This would of course mean that for those with text browsers (and most search engines) the important stuff would be intermingled with the non-important stuff, and the reader would probably be very confused.  the best way is probably to let go of tables alltogether, and use CSS instead:

<div style="float:right;width:200px;">Important stuff goes here...
The other stuff goes here.
[end of page]

this would make text-only browsers get the important stuff first, and the non-important stuff last.  the visitors would need a CSS-compliant browser to see the page as you want to though, but that's in my opinion better than hacking your way around the problem.

Featured Post

Never miss a deadline with monday.com

The revolutionary project management tool is here!   Plan visually with a single glance and make sure your projects get done.

Question has a verified solution.

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

When crafting your “Why Us” page, there are a plethora of pitfalls to avoid. Follow these five tips, and you’ll be well on your way to creating an effective page.
Originally, this post was published on Monitis Blog, you can check it here . Websites are getting bigger and more complicated by the day. Video, images and custom fonts are all great for showcasing your product or service. But the price to pay in…
In this tutorial viewers will learn how add a scalable full-width header using CSS3. Create a new HTML document with an internal stylesheet. Set a tiled background.:  Create a new div and name it Header. Position it with position:absolute at the top…
The viewer will the learn the benefit of plain text editors and code an HTML5 based template for use in further tutorials.
Suggested Courses

611 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