Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Sliding Cells ?

Status
Not open for further replies.

maverick

MIS
Apr 21, 1999
193
0
0
US
Ok, I know this is a weir one, but... here goes

"I'm try to be a good webmaster and not use frames"

I have a include to my menu in one cell of a table on the left and my main cell for content on the right
when I get a page that loads in the main cell, if the page is very long the menu centers verticly and becomes unvisable

Is there a way to get an included/any page to float to the center of the screen dynamicaly so it is always visable ?

any ideas would be appreciated
thanks

+--------------------------+
| "Hacker by Heart" |
| Yahoo! : saenzcorp |
+--------------------------+
 
learn about DIVS and css to position

zzzzzz
 
Well I found some code to help me do this but now I can't seem to get it to work on two menus,

I have a table with three cells in a row
the middle is content and both sides have menus

I found cool code that makes them float when I scroll but when I put in the code for the second menu,
the first menu stops working/floating

Any Ideas ???

Thanks

+--------------------------+
| "Hacker by Heart" |
| Yahoo! : saenzcorp |
+--------------------------+
 
Any Ideas ???
Not without seeing the code in question, no.

You can stop the text in your table cells from centering themselves vertically by using the [tt]valign[/tt] attribute:
Code:
<table width="100%" height="100%" border="0">
  <tr>
    <td width="20%" [b]valign="top"[/b]>
      Menu goes in here!
    </td>
    <td [b]valign="top"[/b]>
      Content goes in here!
    </td>
  </tr>
</table>
You'll have to delve into CSS to get a frames-like seperate scrolling look, if you really want it.


-- Chris Hunt
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top