This should work: div { height:30px; margin-left:20px }
If there are surrounding elements muddying the picture, the solution might be different, though. Chris On 11/24/06, Jazzcreation <[EMAIL PROTECTED]> wrote: > I'd like to position a div of a certain height (say 30px) so that it starts > 20px from the left hand edge, and runs up to the right edge of the screen. > > I normally try to figure out a way of doing this in css, then give up and > use a table, which provides a pretty straightforward solution. > > Can anyone tell me what the css solution is? > > Thanks, > Peter > > ______________________________________________________________________ > css-discuss [EMAIL PROTECTED] > http://www.css-discuss.org/mailman/listinfo/css-d > IE7 information -- http://css-discuss.incutio.com/?page=IE7 > List wiki/FAQ -- http://css-discuss.incutio.com/ > Supported by evolt.org -- http://www.evolt.org/help_support_evolt/ > -- Chris Ovenden http://thepeer.blogspot.com "Imagine all the people / Sharing all the world" ______________________________________________________________________ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d IE7 information -- http://css-discuss.incutio.com/?page=IE7 List wiki/FAQ -- http://css-discuss.incutio.com/ Supported by evolt.org -- http://www.evolt.org/help_support_evolt/