Click to See Complete Forum and Search --> : <bdo> and dir=


Benoni
10-08-2004, 01:11 PM
Hello,
I am very confused about the 'dir' attribute and the <bdo> element. The W3C spec isn't too clear either.
Some sources suggest that the 'dir' attribute, which can be used in most tags changes the direction of the text; however it only changes alignment and punctuation placement. When used within the <bdo> element, however, it does change the text direction.
Could someone please explain the use of this element and the attribute.

Also, another source said that the div element is "strictly an organizational tool, without any sort of formatting associated with it. Yet I use it to make floating menus, etc, using CSS. The other is that the span element is deprecated. I never knew that!

Any help would be great.
Thanks very much
Benoni

soccer362001
10-08-2004, 01:28 PM
Hope this helps http://www.w3schools.com/tags/tag_bdo.asp

Paul Jr
10-08-2004, 02:35 PM
Originally posted by Benoni
Also, another source said that the div element is "strictly an organizational tool, without any sort of formatting associated with it.
That is true. The DIV element is a generic block-level element; it contains no default margin, padding, border, font-size, line-height, ect.

Originally posted by Benoni
The other is that the span element is deprecated. I never knew that!
I don’t know who told you that, but they are incorrect. The SPAN is not deprecated.

Benoni
10-09-2004, 12:50 PM
Originally posted by soccer362001
Hope this helps http://www.w3schools.com/tags/tag_bdo.asp

I had forgoton about the w3school. I used that years ago. It doesn't say about the dir attribute not doing what it should in tags other than the <bdo> tag.

Thanks for the help on the other things. That's great.
Benoni