[css-d] Viewport vs. device dimensions

2013-03-08 Thread Markus Ernst
Hello In the www-style list, there is a discussion going on about handling media queries on rotatable devices. Some is about width/height/aspect radio vs. device-width/device-height/device-aspect-ratio. Is there any useful thing about knowing device-* values? I understand how to use media

[css-d] fluid image inside div puts extra padding below

2013-03-08 Thread Laura Valentino
Hi, I have a fluid image inside a div and it is putting some padding below the image (the div is colored blue so you can see it in the example). How can I remove it? I've tried various things with the margins and padding of the image and the div, but to no avail. The example is here, and I've

[css-d] gap between image and background

2013-03-08 Thread Angela French
I'm working on my first Twitter Bootstrap site. Here is my link: http://168.156.9.250/WELA/ . At full viewport everything is fine, but at around 906px a light colored line appears at the bottom edge of the colored background area of the image where it meets the background color of the div

Re: [css-d] fluid image inside div puts extra padding below

2013-03-08 Thread Jon Reece
On Fri, Mar 8, 2013 at 11:08 AM, Laura Valentino la...@vidmot.com wrote: I have a fluid image inside a div and it is putting some padding below the image (the div is colored blue so you can see it in the example). How can I remove it? I've tried various things with the margins and padding of

Re: [css-d] fluid image inside div puts extra padding below

2013-03-08 Thread Laura Valentino
On Fri, Mar 8, 2013 at 4:57 PM, Jon Reece jon.re...@gmail.com wrote: Because images, like text, are inline by default, there is extra space added below for descenders. The 2 easiest ways to prevent this from happening are 1) apply display: block to the image, or 2) add vertical-align:

Re: [css-d] gap between image and background

2013-03-08 Thread Chris F.A. Johnson
On Fri, 8 Mar 2013, Angela French wrote: I'm working on my first Twitter Bootstrap site. Here is my link: http://168.156.9.250/WELA/ . At full viewport everything is fine, but at around 906px a light colored line appears at the bottom edge of the colored background area of the image where

Re: [css-d] gap between image and background

2013-03-08 Thread Philippe Wittenbergh
Le 9 mars 2013 à 01:54, Angela French afre...@sbctc.edu a écrit : At full viewport everything is fine, but at around 906px a light colored line appears at the bottom edge of the colored background area of the image where it meets the background color of the div that the image is in (they

Re: [css-d] Viewport vs. device dimensions

2013-03-08 Thread Philippe Wittenbergh
Le 9 mars 2013 à 00:49, Markus Ernst derer...@gmx.ch a écrit : In the www-style list, there is a discussion going on about handling media queries on rotatable devices. Some is about width/height/aspect radio vs. device-width/device-height/device-aspect-ratio. Are you talking about this

Re: [css-d] Viewport vs. device dimensions

2013-03-08 Thread Philippe Wittenbergh
Le 9 mars 2013 à 00:49, Markus Ernst derer...@gmx.ch a écrit : In the www-style list, there is a discussion going on about handling media queries on rotatable devices. Some is about width/height/aspect radio vs. device-width/device-height/device-aspect-ratio. Are you talking about this