Anyway, I now know another concept on css: Adjacent Sibling
Selector. And I believe there is a Child and a Parent selector too.
I will investigate when the need arrive.
These will not work in IE6 either. Your safest route is probably to follow
Brian's suggestion and define a class that you
These will not work in IE6 either. Your safest route is probably to
follow
Brian's suggestion and define a class that you can apply.
No worries, I'm using a class. :)
Thanks for the suggestions.
Regards,
Márcio
__
what's the point?see http://www.jquery.com
and you won't need a class anymore ^^/
2009/7/9 MEM tal...@gmail.com
These will not work in IE6 either. Your safest route is probably to
follow
Brian's suggestion and define a class that you can apply.
No worries, I'm using a class. :)
what's the point?
see http://www.jquery.com
and you won't need a class anymore ^^/
And so I asked: How can I clean this little dot on my car left mirror;
And so they reply: Here, take this Airplane - dot free!;
;) Thanks for the tip. Unfortunately, learning a framework it's out of reach
for
what's the point?see http://www.jquery.com and you won't need
a class anymore ^^/
The point, in the original question, was to get this *basic* display aspect
handled without resorting to scripting tactics.
Rob Emenecker @ Hairy Dog Digital
2009/7/9 Gabriele Romanato gabriele.roman...@gmail.com:
what's the point?see http://www.jquery.com
and you won't need a class anymore ^^/
Oh dear :-(
It's bad enough that every single JavaScript question on
StackOverflow.com gets answered with use jQuery (even when it's
wildly
MEM wrote:
All h1 that are followed by a p will have a padding-bottom of X.
Is this possible?
As the discussion has shown, the practical way is to use a class. On the
other hand, normally a page should have one h1 element (one highest-level
heading) only, so I don't quite see why you can't
As the discussion has shown, the practical way is to use a
class. On the other hand, normally a page should have one h1
element (one highest-level
heading) only, so I don't quite see why you can't just use
the selector h1.
That is true. I don't usually have more than a single h1 on a
To create spacing between a
heading and
a paragraph, it is normally best to use margin, because one day you
might
want to set background color for the heading, and then it would extend
to
the padding.
Thanks a lot, precious information!
As the discussion has shown, the practical way
It's not so much a rule as a convention. H1 is a top-level heading, and
the theory goes that
there should only be one top, and thus one top-level heading.
...
We all agree that markup should be semantic, but sometimes that's
somewhat subjective.
Despite some web creators believes, isn't
I didn't know that we should only use one h1 per page.
Why is that ?
It's not so much a rule as a convention. H1 is a top-level heading, and the
theory goes that there should only be one top, and thus one top-level heading.
Recently, I've decided that that logic isn't necessarily true. On
Gabriele Romanato wrote:
what's the point?see http://www.jquery.com
and you won't need a class anymore ^^/
2009/7/9 MEM tal...@gmail.com
These will not work in IE6 either. Your safest route is probably to
follow
Brian's suggestion and define a class that you can apply.
No worries,
Hello,
Without .js, is there a way to establish a rule in CSS that says:
All h1 that are followed by a p will have a padding-bottom of X.
Is this possible?
Thanks a lot,
Márcio
__
css-discuss [cs...@lists.css-discuss.org]
On Wed, Jul 8, 2009 at 3:20 PM, MEMtal...@gmail.com wrote:
All h1 that are followed by a p will have a padding-bottom of X.
Is this possible?
No, but you could apply the reverse:
h1 + p { padding-top: 3em; }
So instead of any h1 that precedes a p you're styling any p that
immediately
MEM wrote:
Hello,
Without .js, is there a way to establish a rule in CSS that says:
All h1 that are followed by a p will have a padding-bottom of X.
Is this possible?
Thanks a lot,
Márcio
__
css-discuss
No, but you could apply the reverse:
h1 + p { padding-top: 3em; }
So instead of any h1 that precedes a p you're styling any p that
immediately follows an h1. (Note, this doesn't work for IE6. And for
it to work properly in IE7, you'll want to make sure that you never
have a comment
16 matches
Mail list logo