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

How to create a menu bar that stays the same size

Status
Not open for further replies.

Chrissirhc

Programmer
May 20, 2000
926
GB
Hello
I am using tables for my web page. I have a simple layout
a title and then 3 colomns in the row below.

The middle column is the biggest column much like this site.

When I resize the window. The left column with the links in it gets smaller. If I do at tek tips a scroll bar occurs instead. Actually is that my problem I need a scrollbar. Or is there a special attribute that allows me to say this column should never be smaller than 100 pixels wide?.

Thanks in advance,

Chris
 
in ur table cell put a transparent gif 1x100px, it wuld prevent this cell 2 resize less than that gif.. it's simple, & it is not the only way.. regards, vic
 
I see. This seems an easy solution. But it seems unconventional. What other way is there to do it?
 
nested tables
i mean u can put another table in ur <td> & set this table's size hardcoding (like width=100px) but it wont be workin all the times, gif stuff is better..
what do u mean sayin But it seems unconventional??
xplain a bit.. regards, vic
 
What I said isn't really logic just intuitively. I would have expected to have a special attribute maybe something like resizable = &quot;false&quot;. I don't know.
 
use photoshop (i usually make 1x1px transparent doxument & then do &quot;save for web&quot; & save it like gif..)
regards, vic
 
I've created a transperent gif. I thought that I would be able to load the gif and then any text I put would go above it is this not the case this is the code.

<td class=&quot;links&quot; valign=&quot;top&quot; align=&quot;left&quot; rowspan = &quot;3&quot;>
<br /><br />
<img src = &quot;menubar.gif&quot; />
<img src = &quot;forlinks.gif&quot; />
links go in here<br />
maybe put a script in here to set the links for every page?<br />
some other stuff<br />
some other stuff<br />
some other stuff<br />
some other stuff<br />
some other stuff<br />
some other stuff<br />

</td>
 
why do u wanna put all of it in ONE table cell? use dfrnt strokes.. or insert another table in this cell & there use dfrnt strokes regards, vic
 
Have you tried <td width=&quot;150&quot;> ???? DeZiner
gear.gif width=45 align=left
When the gears stop turning,
we all stop learning.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top