, at 10:50 AM, Paul Ingraham wrote:
I've been studying CSS steadily for about a three weeks now, and I
have yet
to come across any information about writing stylesheets for
media=print.
I know that they exist, but I don't know anything about them. Is this
because:
(a) it's so simple
Thanks John and Nelson.
Hey Paul, I just realized that I was incorrect saying that you can
apply text-align: center; directly to the image. If would have to be
wrapped in another tag, with that rule applied to the parent.
So it looks the answer to my original question is, Yes, to center an
So it looks the answer to my original question is, Yes, to center an image
using css, it really is necessary to wrap it in a block level element with
text-style:center defined. Huh!
No, it isn't. As Nelson suggested, using {display : block; margin : 0
auto;} you're not wrapping the img in
That's a great trick, too.. simplicity all the way.
Yep, that was definitely the kind of solution I was hoping for.
Re the egg thing, Noa wrote:
Stranger in a Strange Land, OBVIOUSLY. *rolls eyes*
:-) I didn't figure it would be particularly hard, although I did get a
couple of wrong
Thanks for the clarifications, Russ. So...
Before you jump for joy at this solution you should be aware that it is not
supported across older browsers...
It's not a big issue, but it's not trivial either: if I want to center an
img AND have it supported by older browsers (which shouldn't be
The short answer is that if you want to support IE5 and IE5.5 (which are
both still very popular browsers) then one method you could use is to wrap
your image in a container and use text-align: center;
Okay, got that one nailed down now, I think. ;-)
To your other question...
[snip]
A
Okay, you guys made good short work of my first simple css question, and it
was a great introduction to this list. Thank you all. Now it's time for
another!
I want a sidebar, and I've created one. Looks lovely. A couple paragraphs
inside a div, floated off to the right and breaking the right
it in fullness.
Cheers
James
Paul Ingraham wrote:
Okay, you guys made good short work of my first simple css question, and it
was a great introduction to this list. Thank you all. Now it's time for
another!
I want a sidebar, and I've created one. Looks lovely. A couple paragraphs
? Then we can grok it in fullness.
Cheers
James
Paul Ingraham wrote:
Okay, you guys made good short work of my first simple css question,
and it
was a great introduction to this list. Thank you all. Now it's time
for
another!
I want a sidebar, and I've created one. Looks lovely
] wrote:
Paul Ingraham wrote:
Just one problem. The top of the sidebar is always on the same line as the
adjacent paragraph. I'd rather have this:
main content main content main content
main content main content main content
main content main sidebar sidebar sidebar sidebar
your Site looks good to me. One thing I would change is the message at
the top of the page. It may be confusing for people using screen readers
or other assistive technologies. I would replace the text with a Skip
to content link (or similar).
Tony, can you explain that a little bit more? I
11 matches
Mail list logo