tedd wrote:
http://www.clanjones.org/stnicks/20081214.php
http://www.webbytedd.com/b4/css-centers/
see: http://www.webbytedd.com/b4/css-centers/a.css
setting the width and height of the
images is not really needed either and can be done (if needed) in css.
However, if setting
At 4:21 AM -0500 1/4/09, David Laakso wrote:
The lower IEs often need both height and width of an image. Easier to
include physical dimension in the html than not. Sometimes the
dimensions need to be set in both the html and the css to avoid image
distortion.
David:
Ah, the reason is to keep
The lower IEs often need both height and width of an image. David:
Ah, the reason is to keep image distortion from happening for IE6 and
under.
Interesting, I've never seen that happen with IE6 and considering
that IE5 fell below 1% this year, I don't think I'll clutter up my
html with
tedd wrote:
At 4:21 AM -0500 1/4/09, David Laakso wrote:
The lower IEs often need both height and width of an image. Easier to
include physical dimension in the html than not. Sometimes the
dimensions need to be set in both the html and the css to avoid image
distortion.
David:
Bob Rosenberg wrote:
At 15:09 -1000 on 01/01/2009, david wrote about Re: [css-d] Centering
images with caption in a column:
As long as visitors (like me) can use their browsers at widths narrower
than 1024, we should accommodate them. Also, the web reaches beyond the
desktop. Users
Gunlaug Sørtun wrote
I don't understand what you want, which makes it a bit difficult to even
suggest solutions. So, before going into practical matters, have a look
at this on varying window-sizes in a reasonably CSS-aware browser...
http://www.gunlaug.no/tos/alien/bs/test_09_0101.html
bruce.som...@web.de wrote:
http://www.maireadnesbitt.com/CSSversion.html
Your understanding of proportional image-scaling is correct, and that
part of your final looks ok in all good browsers.
Note that I declared the 'max-width:' quite small (80%) because you have
margins, paddings and
At 11:32 PM +0100 1/1/09, bruce.som...@web.de wrote:
david gn...@hawaii.rr.com wrote
Hmmm, something like this?
http://www.clanjones.org/stnicks/20081214.php
--
David
A few minor comments for the author of the above page to consider:
First, the css can be simplified, like so:
Scott Demontluzin wrote
Hi Bruce, I did a test page that I think will work for you
http://scottdemontluzin.com/test/centered_images.html
I placed the images in an unordered list and floated the list to the left.
Best, Scott
bruce.som...@web.de wrote:
Scott Demontluzin wrote
Hi Bruce, I did a test page that I think will work for you
http://scottdemontluzin.com/test/centered_images.html I placed the
images in an unordered list and floated the list to the left. Best,
Scott
bruce.som...@web.de wrote:
I don't yet see a solution.
I don't understand what you want, which makes it a bit difficult to even
suggest solutions. So, before going into practical matters, have a look
at this on varying window-sizes in a reasonably CSS-aware browser...
david gn...@hawaii.rr.com wrote
Hmmm, something like this?
http://www.clanjones.org/stnicks/20081214.php
--
David
Thanks David. Looks very promising, of course. It will require some study on my
part. I feel that I'm about to learn something -- that's always good.
Bruce.
Scott Demontluzin scottdemontlu...@gmail.com wrote
change
#wrapper { width: 55%; } to
#wrapper { width: 520px;}
Scott
Thank you Scott. That takes me down to a width of 1024px at any rate. I don't
yet understand why it works, but I hope to.
I wonder how much longer we will have to worry
Georg wrote
I don't understand what you want, which makes it a bit difficult to even
suggest solutions. So, before going into practical matters, have a look
at this on varying window-sizes in a reasonably CSS-aware browser...
http://www.gunlaug.no/tos/alien/bs/test_09_0101.html
regards
Georg
--
bruce.som...@web.de wrote:
david wrote
Hmmm, something like this?
http://www.clanjones.org/stnicks/20081214.php
Thanks David. Looks very promising, of course. It will require some study on
my part. I feel that I'm about to learn something -- that's always good.
It works in FF and IE.
bruce.som...@web.de wrote:
Scott Demontluzin scottdemontlu...@gmail.com wrote
change
#wrapper { width: 55%; } to
#wrapper { width: 520px;}
Scott
Thank you Scott. That takes me down to a width of 1024px at any rate. I don't
yet understand why it works, but I hope to.
I wonder how
At 15:09 -1000 on 01/01/2009, david wrote about Re: [css-d] Centering
images with caption in a column:
As long as visitors (like me) can use their browsers at widths narrower
than 1024, we should accommodate them. Also, the web reaches beyond the
desktop. Users of iPhones/iTouches and other
On Jan 2, 2009, at 2:02 PM, Bob Rosenberg wrote:
At 15:09 -1000 on 01/01/2009, david wrote about Re: [css-d] Centering
images with caption in a column:
As long as visitors (like me) can use their browsers at widths
narrower
than 1024, we should accommodate them. Also, the web reaches
Mustafa Quilon mustafavizcomr...@gmail.com
Re: [css-d] Centering images with caption in a column
#figure {
text-align: center; /*This should do what you want*/
}
- Mustafa
__
Thank you, but I hadn't made it clear. It's
The page at http://www.maireadnesbitt.com/CSSexp.html has fixed-width
columns at the left and right (not of the same width) and a column of
variable width, depending on the screen size, in the middle - shown
temporarily with a blue border. In that middle column, I have a pair of
images with
The page at http://www.maireadnesbitt.com/CSSexp.html has fixed-width columns
at the left and right (not of the same width) and a column of variable width,
depending on the screen size, in the middle - shown temporarily with a blue
border. In that middle column, I have a pair of images with
On Thu, Dec 25, 2008 at 4:20 PM, bruce.som...@web.de wrote:
The page at http://www.maireadnesbitt.com/CSSexp.html has fixed-width columns
at the left and right (not of the same width) and a column of variable width,
depending on the screen size, in the middle - shown temporarily with a blue
#figure {
text-align: center; /*This should do what you want*/
}
- Mustafa
__
css-discuss [cs...@lists.css-discuss.org]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List
On Wed, 4 Jul 2007 11:19:37 -0700 (PDT), Robert Morgan wrote:
First post!!!
I'm wanting to center my images yet be able have the text set to the right OR
left of
the images. One look at the page and you'll see what I'm going for...
First post!!!
I'm wanting to center my images yet be able have the text set to the right OR
left of the images. One look at the page and you'll see what I'm going for...
http://www.9worldstudios.com/portfolio/galleryBlockPrints.htm
I'm reasonably certain that this is the wrong approach, but it
And I see that it's jumbled in IE---Hopefully you can check it in Firefox to
see what I'm going for...Thanks
Robert
-
Need a vacation? Get great deals to amazing places on Yahoo! Travel.
Mark Lundquist wrote:
On Jan 12, 2007, at 3:12 PM, david wrote:
Diane Ross wrote:
I don't know what I'm doing wrong. When I want to center an image I
can only
get it to work if I select div align=center. If I use a class
.txtcenter, .center { text-align: center; }
Or #test img {
On Jan 13, 2007, at 12:50 PM, david wrote:
My understanding is, no, text-align is only supposed to align text.
That's incorrect; see
http://www.w3.org/TR/CSS21/text.html#alignment-prop:
This property describes how inline content of a block is aligned
[etc...]
All of this section is
Mark Lundquist wrote:
On Jan 13, 2007, at 12:50 PM, david wrote:
My understanding is, no, text-align is only supposed to align text.
That's incorrect; see http://www.w3.org/TR/CSS21/text.html#alignment-prop:
This property describes how inline content of a block is aligned [etc...]
On Jan 13, 2007, at 1:17 PM, david wrote:
Then the W3C's choice of TEXT-align is a bad choice. It specifies
text when it's really talking about something broader than what
people
think of as text.
I agree :-)
—ml—
__
On 1/13/07 1:19 PM, Mark Lundquist [EMAIL PROTECTED] wrote:
On Jan 13, 2007, at 1:17 PM, david wrote:
Then the W3C's choice of TEXT-align is a bad choice. It specifies
text when it's really talking about something broader than what
people
think of as text.
I agree :-)
ml
From a
On 1/12/07 7:04 PM, Gunlaug Sørtun [EMAIL PROTECTED] wrote:
Should be...
.img_center {display: block; margin: 0 auto;}
It's working now. Thank YOU!!
I didn't find a class .img_center in your on-line stylesheet, so I can't
say why it didn't work. I added one with the styles from my
Diane Ross wrote:
#main {overflow: hidden; margin: 0; }
* html #main {overflow: visible; height: 1%; }
* html #sidebar {overflow-x: hidden;}
I'm not quite sure if I should remove clear from the hr and add a
clear class if needed or add the corrected css you suggested above.
Or do I really
On 1/13/07 3:27 PM, david [EMAIL PROTECTED] wrote:
I'm not quite sure if I should remove clear from the hr and add a clear
class if needed or add the corrected css you suggested above. Or do I really
need hr in my style sheet?
I don't think you need HR in your HTML unless you want to have a
On 1/13/07 4:52 PM, Gunlaug Sørtun [EMAIL PROTECTED] wrote:
Since your page...
http://www.test.entourage.mvps.org/atest/
...is already broken in IE6, I suggest you add the extra css to the
bottom of your stylesheet - and both the clearing hr problem and IE6'
bugs will be gone. You can always
I don't know what I'm doing wrong. When I want to center an image I can only
get it to work if I select div align=center. If I use a class
.txtcenter, .center { text-align: center; }
Or #test img { text-align: center; } the image does not center.
Here is my example:
Diane Ross wrote:
I don't know what I'm doing wrong. When I want to center an image I can only
get it to work if I select div align=center. If I use a class
.txtcenter, .center { text-align: center; }
Or #test img { text-align: center; } the image does not center.
Because an image is not
Diane Ross wrote:
When I want to center an image I can only get it to work if I select
div align=center
http://www.test.entourage.mvps.org/faq/center_images.html
Note that text-align: center should not be targeting the image.
Instead: target the container - the div, p or other block-element
On 1/12/07 3:23 PM, Gunlaug Sørtun [EMAIL PROTECTED] wrote:
Note that text-align: center should not be targeting the image.
Instead: target the container - the div, p or other block-element - and
text and images /inside/ the container will be centered.
You can also center images directly
Diane Ross wrote:
OK, now I have another question...
The majority of the images on the site will be centered while a few
will be wrapped in a paragraph.
I tried a class, but this did not work.
http://www.test.entourage.mvps.org/atest/image_center.html
.img_center {margin: 0 auto; }
I must be missing something in centering images. The following CSS is
set up to contain the contents of a page, and center the contents
regardless of the size the browser window is set.
#pagewrapper {
min-width:780px;
max-width:950px;
margin-left:auto;
Linda Quinn wrote:
I must be missing something in centering images. The following CSS is
set up to contain the contents of a page, and center the contents
regardless of the size the browser window is set.
#pagewrapper {
min-width:780px;
max-width:950px;
No it doesn't.
david wrote:
Does IE7 understand max- or min-width?
__
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7 information -- http://css-discuss.incutio.com/?page=IE7
List
Daniel wrote:
No it doesn't.
david wrote:
Does IE7 understand max- or min-width?
Then for IE7, it would think the original poster's container (with only
max-width and min-width specified) has no width specified and default to
auto, yes?
--
David
[EMAIL PROTECTED]
authenticity, honesty,
without a specific width it'll default to 100% or whatever the windows
width is (someone could correct me if I'm wrong)
so something like
#pagewrapper {
width:780px;
min-width:780px;
max-width:950px;
margin: 0 auto inherent; /*not sure about the inherent*/
padding: 5px 0 0
Daniel wrote:
without a specific width it'll default to 100% or whatever the
windows width is (someone could correct me if I'm wrong)
so something like
#pagewrapper {
width:780px;
min-width:780px;
max-width:950px;
margin: 0 auto inherent; /*not sure about the inherent*/
Thanks for the followup discussion on min/max width in IE. Daniel's
suggestion of adding a width declaration above the min/max width
declarations does make the page look better in IE. Thanks!
__
css-discuss [EMAIL PROTECTED]
47 matches
Mail list logo