Didn't Steve Martin made an album, news to me !
Tim Arnold <mailto:tim.arn...@gmail.com>
Saturday, November 22, 2014 10:11 PM
(why the reference to Steve Martin ?)
Most likely because it's Saturday night and I am very, very old. But
specifically the reference to "getting small" made me think of
http://en.wikipedia.org/wiki/Let%27s_Get_Small and I couldn't stop myself.
Tim
Crest Christopher <mailto:crestchristop...@gmail.com>
Saturday, November 22, 2014 9:51 PM
I know if you give an image {max-width:100%} when the viewport
(browser window) scales down the image will get smaller (why the
reference to Steve Martin ?)
When I said scale the width of the viewport, I meant the
<div>/container will fits the exact with of the viewport (browser
window) which I don't want. It could be I'm misunderstanding at this
point, soon to understand :-)
Christopher
Tim Arnold <mailto:tim.arn...@gmail.com>
Saturday, November 22, 2014 9:21 PM
Percentage values scale the width of the viewport unlike pixel
values.
Tom / I assume when you say use max-width you mean;
img {
max-width: 123px
}
If so why do that, if you know the image size just give the
container the size of the image ?
Christopher
Christopher,
If you just give the image "max-width: 100%" it will only start
"getting small" (thank you, Steve Martin) when its container forces it
to. What do you mean by "scale the width of the viewport?" Percentage
widths on containers have no affect on the width of the viewport, they
scale proportionally to the viewport.
Tim
Crest Christopher <mailto:crestchristop...@gmail.com>
Saturday, November 22, 2014 9:14 PM
Percentage values scale the width of the viewport unlike pixel values.
Tom / I assume when you say use max-width you mean;
img {
max-width: 123px
}
If so why do that, if you know the image size just give the container
the size of the image ?
Christopher
Tim Arnold <mailto:tim.arn...@gmail.com>
Saturday, November 22, 2014 8:54 PM
Percentages does help make boxes/containers liquid but if you will
be using boxes with images that have a limited width then
percentages won't do, instead I'm left to do multiple MQ, arghh,
ah well.
Hey Christoper,
Tell me more about your images. I'm not sure why that would affect you
ability to use percentage width containers.
Tim
______________________________________________________________________
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/