Page Templates Layout Markup
Hi,
When looking at the original markup for the layout templates everthing looks compliant, this changes when applying class names to containers and renders upper case. For XHTML all tags and attribute names must be lowercase?
After class names are added
<
div
class
=
"sfPublicWrapper"
>
<
DIV
class
=
"sf_cols header-branding"
>
<
DIV
style
=
"WIDTH: 100%"
class
=
"sf_colsOut sf_1col_1_100"
>
<
DIV
id
=
"T9A7DE46C000_Col00"
class
=
"sf_colsIn sf_1col_1in_100"
></
DIV
></
DIV
></
DIV
><
DIV
class
=
"sf_cols main-content"
>
<
DIV
style
=
"WIDTH: 75%"
class
=
"sf_colsOut sf_2cols_1_75"
>
<
DIV
id
=
"T9A7DE46C001_Col00"
class
=
"sf_colsIn sf_2cols_1in_75"
></
DIV
></
DIV
>
<
DIV
style
=
"WIDTH: 25%"
class
=
"sf_colsOut sf_2cols_2_25"
>
<
DIV
id
=
"T9A7DE46C001_Col01"
class
=
"sf_colsIn sf_2cols_2in_25"
></
DIV
></
DIV
></
DIV
><
DIV
class
=
"sf_cols footer-contact-information"
>
<
DIV
style
=
"WIDTH: 100%"
class
=
"sf_colsOut sf_1col_1_100"
>
<
DIV
id
=
"T9A7DE46C002_Col00"
class
=
"sf_colsIn sf_1col_1in_100"
></
DIV
></
DIV
></
DIV
>
</
div
>
Hi Neil,
In XHTML, element and attribute names must be all lowercase. This is a bug which have been fixed in our internal builds.
Best wishes,
Ivan Dimitrov
the Telerik team
Hi,
Still seeing uppercase DIVS and does not seem to have been fixed in your internal builds.
Best Regards,
Neil
Hi Neil,
Can you please double check if you are using custom layout controls? Please take a look at the attached image for how layout controls are currently loaded.
All the best,
Radoslav Georgiev
the Telerik team
Hi,
Hello Neil,
Please take a look at the output image from IE 9 Beta. This is taken from the SKD sample site which ships with the Sitefinity 4.0 RC. Can you please verify if this is the case on your side?
Sincerely yours,
Radoslav Georgiev
the Telerik team
Hi,
I have checked again after viewing the image you sent and have attached one also.
In the SDK telerik hospital page I toggle the layout button and added class name for the wrapper and clicked done, looking again at the markup shows.
Using the browser right click context menu the markup is UPPERCASE
Using IE9 Beta Developer Tools F12 HTML tab is lowercase, when selecting the script tab still UPPERCASE.
There seems to be a dark force at work.
Best Regards,
Neil