[css-d] Droid RAZR problem

2012-08-30 Thread BHomis
Hi. I'm rebuilding a very old website, and I've got a page designed that seems to work properly on all platforms, except on the Droid RAZR. Contents within a p tag don't fill their entire containing div. It only seems to fill the left half of a div. I'm not an expert, but I'm

Re: [css-d] Droid RAZR problem

2012-08-30 Thread Philip TAYLOR
32 HTML errors and 68 warnings; once these are corrected, there is a far greater chance that the site will behave correctly and consistently across all platforms. http://validator.w3.org/check?uri=http://www.sportsmansresource.com/flocalxnewyork_1a.htm Philip Taylor

Re: [css-d] liquid layout - how to make images to scale ?

2012-08-30 Thread Micky Hulse
Looks like images are scaling in Firefox latest on Mountain Lion. What browser are you not seeing scaling? The only image that does not scale is the #highlight-wrapper because it's a bg image. Maybe I'm missing something? __

Re: [css-d] liquid layout - how to make images to scale ?

2012-08-30 Thread mem
On Aug 30, 2012, at 19:59 , Micky Hulse wrote: Looks like images are scaling in Firefox latest on Mountain Lion. What browser are you not seeing scaling? The only image that does not scale is the #highlight-wrapper because it's a bg image. Hm… Here's my test case, and what I do expect to

Re: [css-d] liquid layout - how to make images to scale ?

2012-08-30 Thread mem
On Aug 30, 2012, at 19:59 , Micky Hulse wrote: Maybe I'm missing something? No. But I was. :) I was thinking that the max-width will format my img to be as wide as the container but it doesn't. I either should use width. Or upload a bigger image and use max-width to get the desired effect.

[css-d] Inline media queries?

2012-08-30 Thread Micky Hulse
Throwing this one out there: Is it possible to inline a media query in a style= attribute? For example: div style=background-image: url(foo.png); @media only screen and (min-width: 1005px) { /* styles here */ }/div Is that a crazy idea? Better yet, is that a valid idea? Back story: I'm

Re: [css-d] liquid layout - how to make images to scale ?

2012-08-30 Thread Micky Hulse
On Thu, Aug 30, 2012 at 3:37 PM, mem talofo.l...@gmail.com wrote: I was thinking that the max-width will format my img to be as wide as the container but it doesn't. I either should use width. Or upload a bigger image and use max-width to get the desired effect. Ahhh, I see now! Yah, I've

Re: [css-d] Inline media queries?

2012-08-30 Thread Micky Hulse
Correction: Better yet, is that a valid idea? I meant to say valid code. I've just tested: div style=height: 20px; background-color: #000; @media only screen and (min-width: 1005px) { background-color: #eee; }/div It don't work none. :( Back to the drawing board! :D Thanks, M

Re: [css-d] Droid RAZR problem

2012-08-30 Thread BHomis
Thanks for the tip. I cleared most of the errors, other than the alt attributes (which I will get to later), and still the same problem on the RAZR. I can't imagine that missing alt attributes would cause this. Any other suggestions? _http://www.sportsmansresource.com/flocalxnewyork_1a.htm_

Re: [css-d] Droid RAZR problem

2012-08-30 Thread Philip TAYLOR
Well, I still see 29 errors, Bruce, of which approximately 50% are the use of unescaped where amp; is required. I doubt whether fixing these will improve the RAZR problem, but as I have no idea what a Droid RAZR is, I am not going to be able to be of much further help. Philip Taylor

Re: [css-d] Inline media queries?

2012-08-30 Thread Alan Gresley
On 31/08/2012 8:47 AM, Micky Hulse wrote: Correction: Better yet, is that a valid idea? I meant to say valid code. I've just tested: div style=height: 20px; background-color: #000; @media only screen and (min-width: 1005px) { background-color: #eee; }/div It don't work none. :( Back to

Re: [css-d] Inline media queries?

2012-08-30 Thread Micky Hulse
On Thu, Aug 30, 2012 at 5:01 PM, Alan Gresley a...@css-class.com wrote: Media queries usually contain selectors. Ha! Good point! I totally missed that. I'm so used to writing inline styles without selectors (for obvious reasons), I did not think to add a selector to the inline MQ. :D I assume

Re: [css-d] Droid RAZR problem

2012-08-30 Thread David Laakso
On Thu, Aug 30, 2012 at 2:22 PM, bho...@aol.com wrote: Hi. I'm rebuilding a very old website, and I've got a page designed that seems to work properly on all platforms, except on the Droid RAZR. Contents within a p tag don't fill their entire containing div. It only seems to fill the

Re: [css-d] Droid RAZR problem

2012-08-30 Thread BHomis
It's not geared toward any specific browser or mobile device, and it seems fine in every browser and mobile device, except that one phone - the Droid RAZR. If having a device-width meta tag or a 480 media query is something that will help, then I'll admit it's new to me and something I

Re: [css-d] Droid RAZR problem

2012-08-30 Thread Chris F.A. Johnson
On Thu, 30 Aug 2012, bho...@aol.com wrote: _http://www.sportsmansresource.com/flocalxnewyork_1a.htm_ http://b.cfaj.ca/sportsmansresource.jpg (The page continues like that all the way to the bottom.) -- Chris F.A. Johnson, http://cfajohnson.com/ Author: Pro Bash Programming: