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 TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

table formatting

Status
Not open for further replies.

thumbelina

Programmer
Jun 4, 2001
58
CA
Using a table is the best way I know to do this but I think that there might be a better way. I want to create a coloum 175 pix wide that runs down the right hand side of the page. Leaving the rest of the page to what ever width the users browser allows for. I think using div tags might be a better idea but I can't find enough information about them to figure them out. I also thought about using frames, but this coloum will only be present on the home page. Anyone have any ideas on a solution to this problem? I'm not sure if it matters but that coloum on the right hand side will contain 5 or 6 icons that link to other web sites, the widest of these is 173 pix.
 
I would just use frames for your homepage. As for your other pages, they don't have to load in the left frame, just add "target="_top" to each of the links in your navigation bar.
 
<div style=&quot;width:175; height:?; position:absolute; right:0;top:0;&quot;>everything in here<div>

It might help to also put

overflow:hidden;

Rick
 
IMHO A table might still be a good option, it might give you better contron over the position of your icons. And you can fit it neatly into the left of your page, just set left and top margins (bodytable) to zero.

É
 
The div tag worked out pretty well but to keep the rest of the information from running over it I had to use this:
<table>
<tr>
<td> rest of site here </td>
<td width=&quot;175&quot;></td>
</tr>
</table>
Just thought you would be interested in knowing what worked.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top