When making a declaration about a group of selectors, and members of the
group are descendant selectors, is it necessary to declare the parent every
time? For instance, I would rather not declare the parent #article 12 times
in a group selector with 12 members...
#article h1, #article p, #artic
ED]> wrote:
> On 04/05/2004, 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 th
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 that there's no need for education resources abo
> 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
m is all the more baffling so because
the wrapping text seems to accommodate changes in the BOTTOM margin of the
sidebar just fine. So why on earth can't the flowing text work with an
altered TOP margin?
If I can't build what I want, I hope to at least understand why!
Paul
On 4/29/04 4:0
it. Should be easy, I'd think.
>>
>> I tried changing the top margin, of course, but that just pushes it
>> downwards without the adjacent paragraph flowing into the space above the
>> sidebar.
>>
>> Paul
>>
>>
>>> Do you hav
hen 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!
>&
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 m
I also tested the site in Safari, Jason, but my results weren't so good as
Nelson's.
I tend to browse using a largish text size, because I have a really lovely
high-resolution monitor. Turns out that was the problem... in fact, the
sentinare.com layout falls apart pretty badly on my screen with j
> 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]
>
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
> 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 gue
>> 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 t
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
x27;m stumped...
Thanks in advance.
Regards,
Paul
--
Paul Ingraham, Registered Massage Therapist
604-782-4321 or http://www.vancouvermassage.ca
massage and exercise therapy for people who want to get better and better...
*
The discussi
15 matches
Mail list logo