17488 Posts in 4473 Topics by 1978 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 1699 Views |
-
<hr /> turning into <hr >

2 May 2007 at 5:56pm Last edited: 2 May 2007 5:56pm
Hey guys, hope you can help here.
When i put an <hr /> into my SS templates, the HR wont show in the browser and looking at code shows it as <hr >.
Is this something I have done?
-
Re: <hr /> turning into <hr >

2 May 2007 at 5:58pm
Same thing happens when I put an <hr> into my content via admin.
-
Re: <hr /> turning into <hr >

10 May 2007 at 8:20pm Last edited: 10 May 2007 8:20pm
Is this the output of placing the <hr> directly in the template itself, using $Content in your template, or using modifiers like $Content.Summary, or $Content.FirstParagraph?
I don't recall ever having a problem generating <hr> tags...
Cheers,
Sean -
Re: <hr /> turning into <hr >

3 June 2007 at 4:36pm
It's probably the content negotiation - XHTML will not be sent as XHTML unless you specify the <?xml header as well as a correct XHTML doctype.
Something about IE being annoying when you send it XML when it's not expecting it.
| 1699 Views | ||
|
Page:
1
|
Go to Top |



