[css-d] New to CSS...Why isn't this horizontal?

2005-09-12 Thread Rick Faircloth
Hi, all... I'm new to trying to do things with CSS...considering using CSS instead of tables and seeing what can be done. I'm trying to line up two DIV boxes horizontally. Instead, they are still vertical... What am I doing wrong? UL Style=display: inline-block;

Re: [css-d] New to CSS...Why isn't this horizontal?

2005-09-12 Thread Eric Shepherd
You have nothing set on the li elements to tell them to stack horizontally. You set display: inline-block on the ul, but the items inside the ul will stack as normal, which is vertically. Setting the display property on the ul will force it to sit horizontally with other block-level elements

Re: [css-d] New to CSS...Why isn't this horizontal?

2005-09-12 Thread Steve Clay
Monday, September 12, 2005, 12:58:29 PM, Rick Faircloth wrote: I'm trying to line up two DIV boxes horizontally. Instead, Sounds like you basically want a 2-column layout, minus the header/footer. You don't say what content will go in these boxes, so I'm assuming they should expand as

RE: [css-d] New to CSS...Why isn't this horizontal?

2005-09-12 Thread Rick Faircloth
PROTECTED] Cc: css-discuss Subject: Re: [css-d] New to CSS...Why isn't this horizontal? You have nothing set on the li elements to tell them to stack horizontally. You set display: inline-block on the ul, but the items inside the ul will stack as normal, which is vertically. Setting the display

Re[2]: [css-d] New to CSS...Why isn't this horizontal?

2005-09-12 Thread Steve Clay
Monday, September 12, 2005, 2:17:47 PM, Rick Faircloth wrote: I guess, by your comments, that DIV's need to have a float characteristic to be expandable according to content? Float-based layouts are typically more flexible than absolute positioning at least. Floated elements remain in the