On 29 Okt., 18:24, Jay <[EMAIL PROTECTED]> wrote:
> http://www.w3.org/TR/REC-html40/struct/global.html#h-7.5.4
> I haven't had time to do an exhausitve search but nowhere in the span
> tag description does it specifically state what tags it may or may not
> enclose.
This part of the DTD is import
hehe. It's easy once you get to know the intrincacies between CSS and
XHTML.
LOL! Maybe someday.
in your code I see two problems:
1. style="float:right; color=green;"
that causes a parsing error, should be style="float:right,color:green"
Sorry, typo.
You were right, ricardo is wrong.
Th
On Wed, Oct 29, 2008 at 1:59 PM, Robert Koberg <[EMAIL PROTECTED]> wrote:
>
>
> On Oct 29, 2008, at 1:39 PM, Jay wrote:
>
>
>>
>>
>> On Oct 29, 12:28 pm, ricardobeat <[EMAIL PROTECTED]> wrote:
>>
>>> hehe. It's easy once you get to know the intrincacies between CSS and
>>> XHTML.
>>>
>>
>> LOL! M
On Oct 29, 2008, at 1:39 PM, Jay wrote:
On Oct 29, 12:28 pm, ricardobeat <[EMAIL PROTECTED]> wrote:
hehe. It's easy once you get to know the intrincacies between CSS and
XHTML.
LOL! Maybe someday.
in your code I see two problems:
1. style="float:right; color=green;"
that causes a pa
On 29 Okt., 18:28, ricardobeat <[EMAIL PROTECTED]> wrote:
> 2.
>
> You can't self close a DIV, even if it's empty. The XHTML specs allow
> it, but browser currently can't handle it:
> (found athttp://www.w3.org/TR/xhtml1/#C_3)
> Given an empty instance of an element whose content model is not EMP
On Oct 29, 12:28 pm, ricardobeat <[EMAIL PROTECTED]> wrote:
> hehe. It's easy once you get to know the intrincacies between CSS and
> XHTML.
LOL! Maybe someday.
> in your code I see two problems:
>
> 1. style="float:right; color=green;"
>
> that causes a parsing error, should be style="float:
On 29 Okt., 18:24, Jay <[EMAIL PROTECTED]> wrote:
> > What? no rules were used when you coded in assembly?
>
> There are always rules in everything. In assembler they're predictable
> and absolute though.
> With html a lot of things are only 'hints' and it invisibly does
> whatever it wants withou
> http://validator.w3.org/
Thanks Robert.
hehe. It's easy once you get to know the intrincacies between CSS and
XHTML.
A span is an in-line element, it's purpose is to separate a 'span' of
text. That's why you can't put a block element (i.e a ) inside.
Most elements are either in-line or block level, so it's easy to know
what fits.
in y
Care to share a link to what you use for xhtml validation?
I use my editor, but if you don't have a validating editor, you could
use:
http://validator.w3.org/
On Oct 29, 11:34 am, "Richard D. Worth" <[EMAIL PROTECTED]> wrote:
>
> A div is a better fit than span in that case.
Thanks Richard. That works as well as what I had and I'm closer to
good practice.
> What? no rules were used when you coded in assembly?
There are always rules in everything. In assembler they're predictable
and absolute though.
With html a lot of things are only 'hints' and it invisibly does
whatever it wants without telling you what happened.
Add to that different browsers d
On Wed, Oct 29, 2008 at 12:04 PM, Jay <[EMAIL PROTECTED]> wrote:
>
> I'll go read up on what the span tag is supposed to do. It seems valid
> to me that
> if I wanted to apply format attributes to a bunch of elements I could
> surround it
> with a span.
A div is a better fit than span in that ca
On Oct 29, 2008, at 12:10 PM, Jay wrote:
On Oct 29, 11:08 am, "chris thatcher" <[EMAIL PROTECTED]>
wrote:
Hey Jay, I remember having some confusion about the span tag at
some point.
the html specs do significantly limit the types of tags that can be
used
inside it and browsers will do une
On Oct 29, 11:08 am, "chris thatcher" <[EMAIL PROTECTED]>
wrote:
> Hey Jay, I remember having some confusion about the span tag at some point.
> the html specs do significantly limit the types of tags that can be used
> inside it and browsers will do unexpected things if you try. definitely
> loo
Hey Jay, I remember having some confusion about the span tag at some point.
the html specs do significantly limit the types of tags that can be used
inside it and browsers will do unexpected things if you try. definitely
look at the w3c site to get some more specifics.
On Wed, Oct 29, 2008 at 12:
On Oct 29, 10:46 am, "John Resig" <[EMAIL PROTECTED]> wrote:
> I'm fairly certain that's incorrect syntax (putting a div inside a
> span - especially one that's self-closing). The browser will
> automatically force the div outside the span.
Why does it work as I expected if the tag is not self cl
I'm fairly certain that's incorrect syntax (putting a div inside a
span - especially one that's self-closing). The browser will
automatically force the div outside the span.
--John
On Wed, Oct 29, 2008 at 11:38 AM, Jay <[EMAIL PROTECTED]> wrote:
>
> Has someone else already posted this bug?
>
18 matches
Mail list logo