Re: [css-d] shadow and blur pitfalls?

2010-10-19 Thread Philippe Wittenbergh

On Oct 19, 2010, at 5:05 AM, Al Sparber wrote:

  So 3 duplicate rules, all with the same values are needed:
 
 box-shadow
 -moz-box-shadow
 -webkit-box-shadow

Hmm. Al. Care to put that in the correct order so that you can leverage the 
cascade ? First the vendor-pefixed properties !

-moz-box-shadow {}
-webkit-box-shadow {}
box-shadow {}

(Fx 4 will suport the non-prefixed property with some small changes since the 
original -moz-box-shadow landed. All for the better, it is assumed)

http://emps.l-c-n.com/notebook/css-vendor-prefixes-and-the-cascade
(linking to my own rants :-))

 You might also want to visit the W3.org web site and read the box-shadow spec.
for people who have a hard time to find those things:
http://www.w3.org/TR/css3-background/#the-box-shadow

- your friendly neighbourhood grumpy old nitpicker….

Philippe
---
Philippe Wittenbergh
http://l-c-n.com/





__
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 policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/


Re: [css-d] shadow and blur pitfalls?

2010-10-19 Thread Al Sparber

From: Philippe Wittenbergh e...@l-c-n.com


On Oct 19, 2010, at 5:05 AM, Al Sparber wrote:


 So 3 duplicate rules, all with the same values are needed:

box-shadow
-moz-box-shadow
-webkit-box-shadow


Hmm. Al. Care to put that in the correct order so that you can leverage the 
cascade ? First the vendor-pefixed properties !

-moz-box-shadow {}
-webkit-box-shadow {}
box-shadow {}

(Fx 4 will suport the non-prefixed property with some small changes since the original -moz-box-shadow landed. All for the better, 
it is assumed)


http://emps.l-c-n.com/notebook/css-vendor-prefixes-and-the-cascade
(linking to my own rants :-))


You might also want to visit the W3.org web site and read the box-shadow spec.

for people who have a hard time to find those things:
http://www.w3.org/TR/css3-background/#the-box-shadow

- your friendly neighbourhood grumpy old nitpicker….


Thanks Grumps ;-)

You're right. I was sloppy. It is duly noted and hopefully the original poster 
has noted it as well.

--
Al Sparber - PVII
http://www.projectseven.com
Dreamweaver Menus | Galleries | Widgets
http://www.projectseven.com/go/hgm
The Ultimate Web 2.0 Carousel



__
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 policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/


[css-d] :: ie/6.0 ::

2010-10-19 Thread David Laakso

 I quit.
What's causing our little friend to throw an h-scroll bar at 800?
Signature link.

Best,
Bill

--
:: desktop and mobile ::
http://chelseacreekstudio.com/

__
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 policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/


[css-d] Has anyone used www.webtype.com?

2010-10-19 Thread Sandy

Has anyone used a font from
http://www.webtype.com/

is it possible that it's as easy as they make it sound? Have you run 
into any trouble?


thanks!
Sandy
__
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 policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/


Re: [css-d] Has anyone used www.webtype.com?

2010-10-19 Thread shaf

Not sure about this one but what about TypeKit?
 
http://www.typekit.com
 
http://css-tricks.com/video-screencasts/69-first-ten-minutes-with-typekit/
 
On Tue, 19 Oct 2010 11:32:06 -0400, Sandy  wrote:
Has anyone used a font from
  http://www.webtype.com/
 
  is it possible that it's as easy as they make it sound? Have you run
  into any trouble?
 
  thanks!
  Sandy
  __
  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 policies -- http://css-discuss.org/policies.html
  Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
 
 

 


__
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 policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Re: [css-d] Has anyone used www.webtype.com?

2010-10-19 Thread Sandy



Not sure about this one but what about TypeKit?

http://www.typekit.com

http://css-tricks.com/video-screencasts/69-first-ten-minutes-with-typekit/


thanks - I hadn't heard of it. Have you tried typekit? Are you happy 
with it?


Sandy
__
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 policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/


Re: [css-d] Has anyone used www.webtype.com?

2010-10-19 Thread Shanna Cramer
 I use typekit and like it. The downside is load time. Also watch for 
font rendering. It's different in different browsers.


Shanna Cramer
http://thewebshoppe.net


On 10/19/10 10:43 AM, Sandy wrote:



Not sure about this one but what about TypeKit?

http://www.typekit.com

http://css-tricks.com/video-screencasts/69-first-ten-minutes-with-typekit/ 



thanks - I hadn't heard of it. Have you tried typekit? Are you happy 
with it?


Sandy
__
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 policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

__
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 policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/


Re: [css-d] Has anyone used www.webtype.com?

2010-10-19 Thread Sandy



I use typekit and like it. The downside is load time. Also watch for
font rendering. It's different in different browsers.

Shanna Cramer
http://thewebshoppe.net


thanks Shanna.
That's strange about the font rendering - I thought the whole point was 
that this could replace image fonts altogether ...


thanks for your input.

Sandy
__
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 policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/


Re: [css-d] Has anyone used www.webtype.com?

2010-10-19 Thread Christian Montoya
On Tue, Oct 19, 2010 at 1:08 PM, Sandy sfeld...@sympatico.ca wrote:

 I use typekit and like it. The downside is load time. Also watch for
 font rendering. It's different in different browsers.

 Shanna Cramer
 http://thewebshoppe.net

 thanks Shanna.
 That's strange about the font rendering - I thought the whole point was that
 this could replace image fonts altogether ...

Well yeah, sure, it can, but different operating systems render fonts
differently, and depending on the settings, they vary even more. Just
because a font looks smooth and anti-aliased on your machine doesn't
mean it will look the same on others... it's not pixel-perfect like
images are. That being said, if one font looks blocky on someone's
windows 95 box with IE 6, then all fonts look blocky, so they wouldn't
know the difference.

-- 
--
Christian Montoya
mappdev.com :: christianmontoya.net
__
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 policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/


Re: [css-d] Has anyone used www.webtype.com?

2010-10-19 Thread Sandy



That being said, if one font looks blocky on someone's
windows 95 box with IE 6, then all fonts look blocky, so they wouldn't
know the difference.

good point Christian. So - worth using? Do the load times have you 
sitting there drumming your fingers wondering what's wrong, or is it 
just a hair longer than you expect? Do you have a link to a site which 
uses this service you could pass along?


thanks!
s.
__
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 policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/


[css-d] Formatting nested lists

2010-10-19 Thread Peter Bradley

Hi,

I'm working on a project concerned with legislation and one of the 
requirements is to format some of the data exactly as it appears in the 
appropriate statute.  Basically this means that level one ordered lists 
should number (1), (2), (3) etc; level two ordered lists should go (a), 
(b), (c) etc, and level three should go (i), (ii), (iii) etc.


For an idea of what I mean, for levels one and two anyway, take a look at:

http://www.legislation.gov.uk/ukpga/1998/24/section/2

The chapter number on that page can be ignored.  I just need the 
internal contents.  Interestingly, the site above does not use lists to 
format the data, so my question - below - might be something of a 
forlorn hope: but I thought I'd ask anyway, since the data is going to 
have to be entered by end users (after my contract has finished) using 
an HTML editor like TinyMCE and I'm not looking forward to having to 
train them in how to do that properly if we have to finish up with a 
solution such as the one used on the UK Government site above.  I guess 
I would have to train them to edit the HTML produced by the editor in 
order to allocate the correct classes to things: maybe even to add 
elements like span and so on.  Nightmare.


I know that it's possible to use standard CSS to do the following:

  1. First level item 1
  2. First level item 2
  3. First level item 3
1. Second level item 1
2. Second level item 2
  1. Third level item 1
  2. Third level item 2
  3. Third level item 3
3. Second level item 3
  4. First level item 4

style
ol {
list-style-type: decimal;;
}

ol ol {
list-style-type: lower-alpha;;
}

ol ol ol {
list-style-type: lower-roman;
}
/style
/head
body
div
ol
liFirst level item 1/li
liFirst level item 2/li
liFirst level item 3
ol
liSecond level item 1/li
liSecond level item 2
ol
liThird level item 1/li
liThird level item 2/li
liThird level item 3/li
/ol
/li
liSecond level item 3/li
/ol
/li
liFirst level item 4/li
/ol
/div
...

The problem, of course, is that the parentheses are missing.  Is there 
any way I can use CSS to include the parentheses or am I stuck with the 
standard list style types?  Or is there some other magic I can use?


Given the alternative, I might be able to persuade my customers to 
settle for the standard CSS, but I'm trying not to give up without a 
fight.  So any suggestions would be most gratefully received.


Thanks in advance.



Peter

--
http://www.peredur.net

__
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 policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/


Re: [css-d] Has anyone used www.webtype.com?

2010-10-19 Thread Shanna Cramer
 I only use it on H tags because of the load time. Removing unused 
options like bold and italic helps, too. I have no patience for slow 
computers, plus page speed is a ranking factor for Google now. I am 
using typekit on these sites:


http://nawbogrrv.org/
http://customdesigntools.com/
http://korbyimagery.com/
http://thewebshoppe.net/

Shanna Cramer
http://TheWebShoppe.net




On 10/19/10 1:47 PM, Sandy wrote:



That being said, if one font looks blocky on someone's
windows 95 box with IE 6, then all fonts look blocky, so they wouldn't
know the difference.

good point Christian. So - worth using? Do the load times have you 
sitting there drumming your fingers wondering what's wrong, or is it 
just a hair longer than you expect? Do you have a link to a site which 
uses this service you could pass along?


thanks!
s.
__
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 policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

__
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 policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/


[css-d] drop down menu

2010-10-19 Thread TriState Advantage, Kris Jacobson
I am trying to learn a new drop down menu. I was using Son of Suckerfish as a 
tutorial but I am missing something.
http://www.tristateadvantage.com/trial-pages/dropdownmenu.html
It is suppose to be horizontal. 
http://www.tristateadvantage.com/trial-pages/dropdownmenu.css
I have display inline on the nav div. I had it on the nav li but it didn't make 
any difference.

This list requires some java script to make work in IE. I tried placing it in 
the html, which didn't work, placed it in the css and it works but I am not 
sure that it is correct. 

Another question. I would not mind using this as a vertical menu but the drop 
downs cover the next item. I tried changing the size of the ul and li and I 
have left clear on the nav li but it didn't seem to help. Any suggestions on 
how to make this work as a vertical menu?
Kris Jacobson
__
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 policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/


Re: [css-d] Has anyone used www.webtype.com?

2010-10-19 Thread Sandy



I only use it on H tags because of the load time. Removing unused
options like bold and italic helps, too. I have no patience for slow
computers, plus page speed is a ranking factor for Google now. I am
using typekit on these sites:

http://nawbogrrv.org/
http://customdesigntools.com/
http://korbyimagery.com/
http://thewebshoppe.net/

Shanna Cramer
http://TheWebShoppe.net


hey Shanna,

Thanks for the links. I think the load times are usable.

TheWebShoppe.net is gorgeous!

cheers,
Sandy
__
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 policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/


Re: [css-d] Has anyone used www.webtype.com?

2010-10-19 Thread Christian Montoya
On Tue, Oct 19, 2010 at 2:47 PM, Sandy sfeld...@sympatico.ca wrote:

 That being said, if one font looks blocky on someone's
 windows 95 box with IE 6, then all fonts look blocky, so they wouldn't
 know the difference.

 good point Christian. So - worth using? Do the load times have you sitting
 there drumming your fingers wondering what's wrong, or is it just a hair
 longer than you expect? Do you have a link to a site which uses this service
 you could pass along?

I don't have any links but to answer your question, the load time
isn't bad compared to using images for all your headers, and it's
probably way better than using other techniques that involve
generating SWFs or generating images on-the-fly for dynamic text, but
I would say don't use it for body copy because that would take too
long. As Shanna said, try to stick to headers only.

-- 
--
Christian Montoya
mappdev.com :: christianmontoya.net
__
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 policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/


Re: [css-d] Has anyone used www.webtype.com?

2010-10-19 Thread Sandy



the load time
isn't bad compared to using images for all your headers, and it's
probably way better than using other techniques that involve
generating SWFs or generating images on-the-fly for dynamic text


yes - did you take a look at the links Shanna sent? The load times are 
really not bad at all. Another advantage of this approach is that the 
text size will grow if you increase text size.


Sandy
__
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 policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/


Re: [css-d] :: ie/6.0 ::

2010-10-19 Thread Bruno Fassino
On Tue, Oct 19, 2010 at 3:47 PM, David Laakso
da...@chelseacreekstudio.com wrote:

  I quit.
 What's causing our little friend to throw an h-scroll bar at 800?
 Signature link.

 Best,
 Bill

 --
 :: desktop and mobile ::
 http://chelseacreekstudio.com/


The scrollbar seems to disappear giving   margin-right:0 to #q

You indeed have
  * html #q { margin: 0 }
in the IE6 section, but this doesn't override an above
  #q { margin: 0 15% 0 0 !important; }

I haven't looked too much into the details...

Bruno

--
Bruno Fassino http://www.brunildo.org/test
__
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 policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/


Re: [css-d] Background bullet for paragraphs

2010-10-19 Thread Lundgren, Chad
Philippe Wittenbergh e...@l-c-n.com wrote:

You can control the size of background images: that is what the 
background-size property is for. Supported by Gecko 1.9.2 (Fx 3.6). WebKit 
(Safari 5+, recent Chrome) Opera 10.5 +. Probably IE 9beta, although I can't 
test that one.

I tested with IE9 Beta and it does support multiple background images and 
background-size. IE9 uses the official tag, eg, background-size. 

Now if IE9 would just add CSS3 gradients and text-shadow before shipping. Am I 
the only one who is miffed those are missing?

Chad Lundgren

__
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 policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/


Re: [css-d] :: ie/6.0 ::

2010-10-19 Thread David Laakso

 On 10/19/10 4:35 PM, Bruno Fassino wrote:



  I quit.
What's causing our little friend to throw an h-scroll bar at 800?
Signature link.

Best,
Bill

--
:: desktop and mobile ::
http://chelseacreekstudio.com/


The scrollbar seems to disappear giving   margin-right:0 to #q

You indeed have
   * html #q { margin: 0 }
in the IE6 section, but this doesn't override an above
   #q { margin: 0 15% 0 0 !important; }

I haven't looked too much into the details...

Bruno





Yes! Way to go. Thanks...!

Best,
Bill


--
:: desktop and mobile ::
http://chelseacreekstudio.com/

__
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 policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/


Re: [css-d] Selecting a br following a paragraph of a given class

2010-10-19 Thread Linda Miller, DVM
Is there a way to select all br tags that follow a paragraph with a given 
class? i.e. p class=myclassThis is a paragraph/pbr

There may be other br in the HTML so I cannot use this:
br {display:none;} 
and I cannot delete all br tags.  

There are about 700 pages and I do not want to go through each of them to make 
sure if the br is needed or not.  I do know that it is not needed following a 
paragraph with the class of myclass.

TIA,
Linda


__
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 policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/


Re: [css-d] ADMIN: Has anyone used www.webtype.com?

2010-10-19 Thread Eric A. Meyer

Folks,

   This thread has, to date, had exactly nothing to do with CSS.  If 
people want to discuss how to efficiently write CSS in support of 
such services, that might be all right.  If we wanted to discuss 
practical CSS that replaces the need for such services, that would be 
fine.
   As things stand, none of that nor anything faintly resembling it 
is happening, and so the thread needs to end now.  Thank you.


--
Eric A. Meyer (http://meyerweb.com/eric/), List Chaperone
CSS is much too interesting and elegant to be not taken seriously.
  -- Martina Kosloff (http://mako4css.com/)
__
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 policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/


Re: [css-d] Formatting nested lists

2010-10-19 Thread Peter Bradley

Ar 19/10/10 23:52, ysgrifennodd Andrew Cunningham :

ol { counter-reset: item; }
ol li { display: block; }
ol li:before {
content: ( counter(item, decimal) ) ;
counter-increment: item;
}

ol ol li:before {
 content: ( counter(item, lower-alpha) ) ;
 counter-increment: item;
}

ol ol ol li:before {
 content: ( counter(item, lower-roman) ) ;
 counter-increment: item;
}
   


Hi Andrew,

Certainly does work for me: in Firefox, anyway.  I guess that IE results 
might be mixed.  Would that be right?  I haven't got IETester handy at 
the moment.  Assuming that's so, and if I get decent results in IE8, I 
could probably persuade the client that they can live with that.  I'll 
just use ordinary list formatting for any problematic IEs.


Do you have a reference where I could check that stuff out?  Preferably 
something I'll have a fighting chance of understanding (given that I'm 
pretty happy with the basics of CSS).


:-)

But thanks a lot for that.  It's good stuff.

Cheers


Peter
--

http://www.peredur.net

__
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 policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/


Re: [css-d] drop down menu

2010-10-19 Thread David Laakso

 On 10/19/10 3:13 PM, TriState Advantage, Kris Jacobson wrote:

I am trying to learn a new drop down menu. I was using Son of Suckerfish as a 
tutorial but I am missing something.
http://www.tristateadvantage.com/trial-pages/dropdownmenu.html




I regret that I am not able to give you any advice other than to point 
you to a drop-down menu that I have used [1] and found it to be both Web 
Standards Compliant and addresses Accessibility Guidelines. It is not 
exactly the easiest feat to pull-off  but with patience and perseverance 
it will work well for you...
[1] 
http://www.tjkdesign.com/articles/keyboard_friendly_dropdown_menu/default.asp


Best,
~d

--
:: desktop and mobile ::
http://chelseacreekstudio.com/

__
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 policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/


Re: [css-d] Selecting a br following a paragraph of a given class

2010-10-19 Thread Paul Burney
Hi Linda,

You may be able to use an adjacent sibling selector to do it,
something like this:

.myclass + br {
display: none;
}

I don't think that will work in IE 6, but it seems to be supported in
most other browsers.

BR in general is a difficult tag to style, see for example:

http://stackoverflow.com/questions/899252/can-you-target-br-with-css

You might want to look into changing the source code itself using a
perl script or a tool like BBEdit that could process those 700 pages
in a few seconds.

Hope that helps,

-Paul Burney
http://www.burney.ws/

On Tue, Oct 19, 2010 at 5:24 PM, Linda Miller, DVM anm...@bellsouth.net wrote:
 Is there a way to select all br tags that follow a paragraph with a given 
 class? i.e. p class=myclassThis is a paragraph/pbr

 There may be other br in the HTML so I cannot use this:
 br {display:none;}
 and I cannot delete all br tags.

 There are about 700 pages and I do not want to go through each of them to 
 make sure if the br is needed or not.  I do know that it is not needed 
 following a paragraph with the class of myclass.

 TIA,
 Linda


 __
 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 policies -- http://css-discuss.org/policies.html
 Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

__
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 policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

[css-d] Background problem

2010-10-19 Thread Carol Swinehart

http://www.tishstreasures.biz/store

The transparent white background is only covering the footer but has 
been applieed to the main content.


Thanks for any help.

C



__
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 policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/


[css-d] extra vertical height in box and lines in IE7 in navigation

2010-10-19 Thread shumdesign
Hi CSS Discuss list,

Would appreciate guidance in fixing the IE 7 problem in my navigation.
The current selected nav item is too tall and the lines to the right
of the list items in the nav are also too tall.

This is my development url: http://211bayarea.org/wp/?page_id=21

Also, the hit area is very small on my nav. It is working fine on this
template: http://211bayarea.org/wp/?page_id=29

Thanks,
Linda
__
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 policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/