Second Site News #027

26 January 2007

In this issue:
advertisement

Second Site Version 1.9 (Build 13) Released

This is a maintenance release that includes a couple new features and fixes some issues discovered since the last release. Please see the Change Log for details.

utf-8

Some users publish their sites on servers that assume that pages have been written in the utf-8 format. This caused problems where question marks and other unwanted characters appeared in the output. Second Site now includes support for utf-8 format pages, and so those users can avoid the problem with those web hosts. See HTML Character Set.

Internet Explorer 7

People using Internet Explorer 7 (IE7) reported a problem where exhibit images were not formatted properly when pages were viewed in that browser. As a result, I changed the image_page_template.htm file in all Themes. As shown below, the width parameter was moved from the inner DIV to the outer DIV:

Old

<DIV CLASS=id><%=Wrapper("<DIV CLASS=ic STYLE=""width: " & _
Exhibit.Width & "px;"">", Exhibit.Caption, _
"</DIV>")%><%=Exhibit.ImageTag%><%=Exhibit.Text%></DIV>

New

<DIV CLASS=id STYLE="width: <%=Exhibit.Width%>px;"><%=Wrapper("<DIV CLASS=ic>", _
Exhibit.Caption, "</DIV>")%><%=Exhibit.ImageTag%><%=Exhibit.Text%></DIV>

I removed the following line from site.sss in all Themes:

StyleOutput " display: table; width: 0px;"

Carla Graphics Theme and Generic Graphics Theme

The Carla Graphics Theme and Generic Graphics Theme required further changes for IE7. I removed the following line in the "#border" style:

StyleOutput " height:expression(""100%"");" ' only for IE '

I added the following lines in scripts.ssi in the Carla Graphics Theme and Generic Graphics Theme:

Page.LineOut " <!--[if lte IE 6]>"
Page.LineOut "  <style type=""text/css"">@import url(ie5and6.css);</style>"
Page.LineOut " <![endif]-->"

Downloads

Second Site is available via download only. See the Downloads page.

Purchases

For purchasing information, see the Purchases page.

This copyrighted material may not be redistributed.

This issue: https://www.secondsite8.com/ssn027.htm. If you do not currently receive this newsletter, click subscribe to send an e-mail that will add you to the mailing list. See the Newsletters page for access to back issues.

If you do not want to receive any further editions of this newsletter, click unsubscribe to send an e-mail that will remove you from the mailing list.