Forum Moderators: coopster

Message Too Old, No Replies

I need to rearrange how my html shows up.

         

knights1

7:51 pm on Dec 12, 2005 (gmt 0)

10+ Year Member



My navbar's HTML is what the spider's are seeing first and I don't want that. Without having to move my whole site's navigation to the right side of the page, how do i have my navbar html lower but have the navbar in the same spot. Actually it is the whole left divider or column. If you need to see the site sticky me for the url

Derek

dmmh

11:42 pm on Dec 12, 2005 (gmt 0)

10+ Year Member



without really questioning your reasons or motivations to do this, I do wonder why exactly you want this? A lot of site's, including major ones, have their main navigation stuff in a column on the left side of the page and it doesn't seem to affect their ranking etc.

Sadly I dont know an answer. You could simply hide it from the search engines altogether though :)

Span

12:03 am on Dec 13, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



If you have a table-based layout you could use the "table trick". Goes like this:

<table>
<tr valign="top">
<td></td>
<td rowspan="2">Content</tr>
<tr valign="top">
<td>navigation</td></tr></table>

if your site is CSS driven, you could absolute position your left column:


#content {
margin-left:200px;
}
#navigation {
position:absolute;
left:0;
top:0;
width:200px;
}
<div id="content">content</div>
<div id="navigation">navigation</div>

But this is not PHP related. Better ask in the CSS forum [webmasterworld.com]..

whoisgregg

4:18 pm on Dec 13, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



This will also work, but I have no idea what the cross-browser support looks like.

CSS:

#body { direction: rtl; }
#body td { direction: ltr; }

HTML:

<table id="body"> 
<tr>
<td>Content</td>
<td>navigation</td>
</tr>
</table>