![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
This syntax in CSS doesn't work in IE (IE6)? Can you confim please ? h1+p { font-family: "Courier New", Courier, mono; } |
#3
| |||
| |||
|
|
This syntax in CSS doesn't work in IE (IE6)? Can you confim please ? h1+p { font-family: "Courier New", Courier, mono; } |
#4
| |||
| |||
|
|
That's right. Adjacent selectors are just one of the things that IE doesn't support. |
#5
| |||
| |||
|
|
You probably meant monospace, not mono. |
|
The practical solution to styling the paragraph that follows an h1 element is to assign a class to the p element and use a class selector in CSS. Naturally this only works for pages that you can modify. |
#6
| |||
| |||
|
|
This syntax in CSS doesn't work in IE (IE6)? Can you confim please ? |
#7
| |||
| |||
|
|
IE doesn't know about adjacent selectors. |
|
Annoying, isn't it? |
#8
| |||
| |||
|
|
Hi This syntax in CSS doesn't work in IE (IE6)? Can you confim please ? h1+p { font-family: "Courier New", Courier, mono; } then in my document h1>Lorem ipsum</h1 p>sed do eiusmod tempor incididunt.</p p>Ut enim ad minim veniam</p The first P should be in Courier New. It works on Netscape 7 |
#9
| |||
| |||
|
|
Hi This syntax in CSS doesn't work in IE (IE6)? Can you confim please ? h1+p { |
|
font-family: "Courier New", Courier, mono; } |
![]() |
| Thread Tools | |
| Display Modes | |
| |