Webmaster Forums - Webmaster forum for HTML, PHP, ASP, CSS and more

Go Back   Webmaster Forums - Webmaster forum for HTML, PHP, ASP, CSS and more > Web Design Forum > HTML / CSS
User Name
Password

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old 02-14-2007, 01:20 PM   #1 (permalink)
weber
Junior Member
 
weber's Avatar
 
Join Date: Dec 2006
Posts: 40
Question Auto-resizeable page

Hello!

I want to write code that right column autoresizes according to windows width change. But when it changes and reaches to right columns content then changes center column that must be unresizeable.

<table width=100% border=1>
<tr><td colspan=3>banner</td></tr>
<tr><td width=150>left</td><td width=400>center</td><td>right</td></tr>
</table>
weber is offline   Reply With Quote
Sponsored Links
Old 02-14-2007, 07:08 PM   #2 (permalink)
itorrentguy
Junior Member
 
Join Date: Feb 2007
Posts: 40
Wink Re: Auto-resizeable page

I am not certain that is what you need but, that's what I was able to read out of your question.

With the table below, insert a transparent gif spacer (even a pixel high is enough) at the top of the left and center cells. Those gifs will have the exact width you need your cell to be fixed at. Insert said gifs in the appropriate cells. As for the right cell, it will adjust according to resolution/window resizing.

Then, all you have to do is insert content ("under" your gifs, so to speak)

<table width="100%" border="1">
<tr>
<td colspan="3">banner</td>
</tr>
<tr>
<td>left cell</td>
<td>center cell</td>
<td width="100%">right cell/td>
</tr>
</table>


Have fun, it might just work. I haven't played with HTML in a long time, so I maybe just way out there.

It was fun for me too, kinda felt like school and early exercises, good old days of freedom and no responsabilities to speak of. Hello World!
itorrentguy is offline   Reply With Quote
Old 05-03-2007, 06:27 PM   #3 (permalink)
surfspeedy
Junior Member
 
Join Date: May 2007
Posts: 14
Default Re: Auto-resizeable page

Yeah, as itorrentguy suggested, give absolute values for first 2 columns and give 100% for the right one.
surfspeedy is offline   Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Points Per Thread View: 1.00
Points Per Thread: 11.00
Points Per Reply: 5.00



» Sponsors

» Links

» Affiliates
Web Hosting
Online Backup Reviews
Marketing Find
Merchant Select
SiteMap Builder
Host Compare
Dedicated Servers

» Links

» Sports Network
Paintball Forum
Football Forum
Hockey Forum
Golf Forum
Boxing Forum
Lacrosse Forum
Baseball Forum
SnowBoarding Forum
Soccer Forum
MMA Forum


All times are GMT -4. The time now is 09:40 AM.



LinkBacks Enabled by vBSEO 3.0.0 RC8
Webmaster Forums