[css-d] Expand width of block level element to fit contents

2011-10-31 Thread Stevio
Is it possible in CSS to have a block level element that will expand its width to fit its contents? I have a block level element (a form) containing fields, the values of which are drawn from a database. Therefore, the width of these fields will be unknown, so I need the form width to be fle

[css-d] Expand parent width to contain floated elements

2011-09-16 Thread Stevio
Hi is there a way to expand the width of a parent container so that it fits the contents of the floated elements within it? If I have two floated elements within a parent element, and the width of those two floated elements can change depending on their content, I would like the width of the p

[css-d] Persistant and preferred stylesheet

2006-05-19 Thread Stevio
Is it possible to use both a persistent and a preferred stylesheet, if I specify both in my code? Thanks, Stephen __ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d IE7b2 testing hub -- http://cs

Re: [css-d] Floats Vs Absolute positioning

2006-05-19 Thread Stevio
What about using relative positioning? How does that fit in to this argument? Thanks, Stephen - Original Message - From: "Gunlaug Sørtun" <[EMAIL PROTECTED]> Sent: Friday, May 19, 2006 11:59 AM > Eoin Maguire wrote: >> [...] > >> I am not happy with using positioning instead of floats,

Re: [css-d] text alignment in footer div

2006-05-08 Thread Stevio
What would be wrong with using a table in this instance? It achieves everything that is required without any hacks, like what Francky posted, and will validate? Stephen - Original Message - From: "Helen" <[EMAIL PROTECTED]> Sent: Friday, May 05, 2006 6:22 PM > At the following location

[css-d] Variable background image size

2005-12-16 Thread Stevio
I am trying to have a left column with a different colour that resizes when the font size is resized. I saw this technique a while ago but I can't remember exactly how it works - where basically you have a background image that is larger than what your window will ever be usually, and you use back

Re: [css-d] Simple two columns

2005-08-30 Thread Stevio
Rob, to be honest, that is the solution I have gone for after much messing about trying various suggested solutions. Trying to do simple columns in css is just too complicated (perhaps why there are oodles of pages on the net about finding perfect column solutions). The table solution is so mu

Re: [css-d] Simple two columns

2005-08-30 Thread Stevio
Lol yeah I still believe in using tables at times for layout, so much more reliable and simple and does what you expect and you don't need workarounds. Stephen - Original Message - From: "Rob Agar" <[EMAIL PROTECTED]> Sent: Tuesday, August 30, 2005 2:29 AM How do I stop col2 wrappi

Re: [css-d] Simple two columns

2005-08-29 Thread Stevio
Message - From: "4css" <[EMAIL PROTECTED]> To: "Stevio" <[EMAIL PROTECTED]>; "CSS Discuss" Sent: Friday, August 26, 2005 10:34 PM Subject: Re: [css-d] Simple two columns Hi Stephen How do I go about making two simple columns to sit side by sid

[css-d] Simple two columns

2005-08-26 Thread Stevio
How do I go about making two simple columns to sit side by side to each other using CSS? This is not for the page layout as such, but just for 2 paragraphs of text to sit next to each other with the same width, which will vary according to the width of the page. Paragraph 1 Paragraph 2 Step

[css-d] Keeping a floated item from overlapping when window resized

2005-07-05 Thread Stevio
I'm sure I've done this before, but I have a div element floated to the right. When the window is resized to be smaller, how can I make sure that at some point the element on the right will not start to overlap the content in the middle, but instead the horizontal scroll bar appears? Min-width w

Re: [css-d] Re: meyer's pure css popups

2005-05-15 Thread Stevio
> But what if he starts lecturing in your garage? > http://www.flickr.com/photos/merlin/13374753/ haha simply hillarious. This comment wins it for me: jayallen says: "Fast forward to 2005. How has the web advanced?" "That, my friends, is progress." Lol! -- No virus found in this outgoing message.

[css-d] Two separate CSS layout issues - whitespace and hidden float

2005-04-28 Thread Stevio
I am working on a 2 column layout with a header and footer, with the footer always pushed against the bottom of the page (or at the bottom of the content, if the page content is longer than the available space). Here is the page (ignore the colours - they are just for identifying divs!): http://www