[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 flexible and to 
expand if need be.


I have read about using inline-block for the display property, which from 
initial tests seems to do the job. However, is this the best way to go, or 
would you suggest another way?


Thanks,
Stephen 


__
css-discuss [css-d@lists.css-discuss.org]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/


[css-d] IE 9 z-index

2011-10-31 Thread Angela French
Hello,
I just discovered on my site, that where a z-index of 10 kept my top nav drop 
downs readable, in IE 9 I had to bump up the z-index number.
Any ideas why that would be different in IE9?
http://sbctc.edu/college/e_index.aspx

Angela French
Internet Specialist
State Board for Community and Technical Colleges
360-704-4316
afre...@sbctc.edu
http://www.checkoutacollege.com/

__
css-discuss [css-d@lists.css-discuss.org]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/


Re: [css-d] Text Size Smaller Than CSS Indicates?

2011-10-31 Thread Philip TAYLOR (Webmaster, Ret'd)



PL wrote:

My client has a number of property pages. I have just added flash slide shows 
to the banner area. I did not change anything in the CSS to do this and the CSS 
remains the same for all property pages as before.

However, on one page, the text appears to have changed to a smaller font than 
called for in the CSS when I uploaded the slideshow to the server:
font-family: Trebuchet MS, sans-serif;
font-size: 14px;

I have compared all the property pages and the rest are fine. The original page 
was a test page and all I did to put it up live was remove the _test from the 
file name and point it to the .xml slide page.

http://www.broadstonere.com/properties/piano_works.php


There are nine HTML errors, of which some at least may be relevant.
However, in validating the page, I see the following :

Error Line 84, Column 913: end tag for element "a" which is not open

…The Piano Works in a larger map   http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/


[css-d] Text Size Smaller Than CSS Indicates?

2011-10-31 Thread PL
My client has a number of property pages. I have just added flash slide 
shows to the banner area. I did not change anything in the CSS to do 
this and the CSS remains the same for all property pages as before.


However, on one page, the text appears to have changed to a smaller font 
than called for in the CSS when I uploaded the slideshow to the server:

font-family: Trebuchet MS, sans-serif;
font-size: 14px;

I have compared all the property pages and the rest are fine. The 
original page was a test page and all I did to put it up live was remove 
the _test from the file name and point it to the .xml slide page.


http://www.broadstonere.com/properties/piano_works.php
Thank you,
Patrice
__
css-discuss [css-d@lists.css-discuss.org]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/