Old 13-05-2005, 18:17   #1 (permalink)
FreakStyley
rejected CSS offspring!
 
Join Date: May 2005
Location: Lost somewhere in western europe!
Posts: 29
min + MAX?

Hi Folks,

I have a couple of questions that I really need help with:

1.
Is there a way in html/css to set a tables "minimum width" and "maximum width" while still stretching between the two? I have a table layout on the left that's just there to balance the look of the page. I want to make it compatable for browsers 800x600 and up. so while at a resolution of 800x600 its @60px, but at 1024x768 its max size is 170px and for browsers of higher resolution it doesn't change. HELP please!

2.
At the moment my page is adjusting itself 100% in width to the users browser (thats great) but how do I make it stretch 100% in height? so that the bottom "footer" section of the page touches the bottom of the browser (without using frames). Is there a way?
  Reply With Quote
Old 13-05-2005, 18:35   #2 (permalink)
gray
i still want paying
 
gray's Avatar
 
Join Date: Oct 2003
Location: newcastle, uk
Posts: 4,728
Code:
<table width="100%" height="100%" border="0"> <tr> <td>&nbsp;</td> <td>&nbsp;</td> <td>&nbsp;</td> </tr> <tr> <td>&nbsp;</td> <td><p>content here </p></td> <td>&nbsp;</td> </tr> <tr> <td>&nbsp;</td> <td>&nbsp;</td> <td>&nbsp;</td> </tr> </table>


i feel so dirty. learn css/xhtml/standards.
and use flash.
  Reply With Quote
Old 13-05-2005, 19:47   #3 (permalink)
FreakStyley
rejected CSS offspring!
 
Join Date: May 2005
Location: Lost somewhere in western europe!
Posts: 29
Flash is a big no, no for my portfolio, I want to keep it just html & CSS. with the odd splash of javascript. I have three tables horizontaly accross my page. 1.the left (the one I'm talking about, 2.the middle (content) and 3.the right (gallery menu)

1. needs to adjust to squash but it ALSO needs to stop at a certain point (if possible).
2. needs to stretch with the browser.
3. static
  Reply With Quote
Old 14-05-2005, 02:50   #4 (permalink)
gray
i still want paying
 
gray's Avatar
 
Join Date: Oct 2003
Location: newcastle, uk
Posts: 4,728
hah i was kidding about flash.

why use three tables?? use one to position the layout, this is basic 1998 web design you shouldnt even use any tables
  Reply With Quote
Old 14-05-2005, 09:10   #5 (permalink)
FreakStyley
rejected CSS offspring!
 
Join Date: May 2005
Location: Lost somewhere in western europe!
Posts: 29
...

hahaha - lol - I was aiming for 1999 actually!

nah seriously, what do you recommend then for a better way of laying out a page that needs to fit to the browser window. it's for my portfolio as I said.

so whats best? 1 table for layout and then divs?

just divs? (with absolute position?)

Please bring me up to date - a link to a good tutorial would be great if anyone has it

- Styley

Last edited by FreakStyley : 14-05-2005 at 10:46.
  Reply With Quote
Old 15-05-2005, 06:01   #6 (permalink)
mike_m
Work faster microphone ..
 
mike_m's Avatar
 
Join Date: Feb 2003
Location: Cambridge, UK
Posts: 1,709
no tables at all well, unless you have a table of information, but that's another kettle of fish..

this is what you need: http://www.kevinleitch.co.uk/projectnew/index.php
__________________
  Reply With Quote
Old 15-05-2005, 13:20   #7 (permalink)
FreakStyley
rejected CSS offspring!
 
Join Date: May 2005
Location: Lost somewhere in western europe!
Posts: 29
thanks mike, great link! I found www.htmldog.com which is pretty good too!

- Styley
  Reply With Quote
Old 15-05-2005, 15:09   #8 (permalink)
gray
i still want paying
 
gray's Avatar
 
Join Date: Oct 2003
Location: newcastle, uk
Posts: 4,728
  Reply With Quote
Old 15-05-2005, 21:17   #9 (permalink)
pgo
i'm done, son
 
Join Date: Jan 2005
Posts: 12,262
  Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search


Contact Us - Web Design Forums - Archive - Top
Search Engine Optimization by vBSEO 3.0.0 RC8