PDA

View Full Version : CSS Div layers for each screen size?


helixfire
Nov 2, 2006, 11:32 PM
HI!

I was wondering if anyone knew if there is a way (and if so how) to auto resize div layers according to a persons screen resolution and if not, is there a way (and if so how) to either call an external css file accordingly or code internal css to do the same thing?
That's a mouthful! But your help would be much much appreciated and would save me countless hours of trial and error options and of course mental pain! ;)

LTheobald
Nov 6, 2006, 09:45 AM
You can use percentages in your CSS. So:



div {
width: 50%;
}


Would give you a div with a width of 50%.

helixfire
Nov 8, 2006, 04:40 AM
Thanks a lot!