Re: [css-d] Inline Style

2010-07-25 Thread Philip Taylor (Webmaster, Ret'd)
John D wrote: >> Well, you can, but not using a pseudoelement and inline CSS. Why would you >> be restricted to inline CSS? > > Because Google Websites (http://sites.google.com) does not allow editing of > headers to introduce external style sheets or header styles. That is the > problem. It i

Re: [css-d] Inline Style

2010-07-25 Thread John D
> I don't use google pages so I don't know if they will accept a > section. > Just tried it and it says my page contains unsafe material and will be removed. So it doesn't work unfortunately. Regards, __ css-discuss [cs..

Re: [css-d] Inline Style

2010-07-25 Thread John D
> I don't use google pages so I don't know if they will accept a > section. > > >p.testfl:first-letter { >color:#ff; >font-size:xx-large; >margin-right: -6px; > } > > > This is a text. > This is more text > So what you are saying is that I should just c

Re: [css-d] Inline Style

2010-07-25 Thread Claude Needham
On Sun, Jul 25, 2010 at 11:09 AM, John D wrote: > It works and I can live with it for now.  I am restricted because of > restrictions imposed by Google Sites.  See my previous message. > Thanks for the wonderful trick. > Regards, If you are trying to create a teaching situation with free websites

Re: [css-d] Inline Style

2010-07-25 Thread John D
> Well, as far as I can see, it can be "inside of ... " > but not "inside of ". In other words : > > > You can use the > :first-letter pseudo-element to add a special effect to the first > character of a text! > > > but perhaps I'm missing something. Oh no you didn't miss anything; it is

Re: [css-d] Inline Style

2010-07-25 Thread John D
> > Well, you can, but not using a pseudoelement and inline CSS. Why would you > be restricted to inline CSS? Because Google Websites (http://sites.google.com) does not allow editing of headers to introduce external style sheets or header styles. That is the problem. It is a free site and t

Re: [css-d] Inline Style

2010-07-25 Thread Jukka K. Korpela
John Dick wrote: > How do you style the following using inline style: > > p:first-letter You don't. Pseudoelemnts do not exist in markup, so you can't assign inline styles to them. > { > color:#ff; > font-size:xx-large; > } Questionable, since you don't set background, you use pure red as

Re: [css-d] Inline Style

2010-07-25 Thread Philip Taylor (Webmaster, Ret'd)
John Dick wrote: > How do you style the following using inline style: > > p:first-letter > { > color:#ff; > font-size:xx-large; > } > HTML is as follows: > > > You can use the :first-letter pseudo-element to add a special effect to the > first character of a text!

[css-d] Inline Style

2010-07-25 Thread John Dick
How do you style the following using inline style: p:first-letter { color:#ff; font-size:xx-large; } HTML is as follows: You can use the :first-letter pseudo-element to add a special effect to the first character of a text! I want the style to

Re: [css-d] Inline style works, Class does not

2006-01-27 Thread Blake Haswell
On 1/28/06, cj <[EMAIL PROTECTED]> wrote: > > my guess would be that your image is no longer referenced correctly. > make sure the url in your css is relative to the css file's location. I agree, this is the most likely problem. If the directory looks like this: --[-]my webpage [-]css --

Re: [css-d] Inline style works, Class does not

2006-01-27 Thread cj
my guess would be that your image is no longer referenced correctly. make sure the url in your css is relative to the css file's location. __ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d List wik

[css-d] Inline style works, Class does not

2006-01-27 Thread Jonathan Prugh
Hi. When I apply this inline style to my the orangedot.gif shoes up as it should: When I move this to the stylesheet like so: ul.orange-bullet { list-style-image: url(images/orangedot.gif); } and apply the class: the style is ignored. There are no other or styles in the style sheet. Anyo