Jump to:

23460 Posts in 18907 Topics by 2877 members

General Questions

SilverStripe Forums » General Questions » problems with all browsers except firefox

General questions about getting started with SilverStripe that don't fit in any of the categories above.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Page: 1
Go to End
Author Topic: 928 Views
  • canoodle
    Avatar
    Community Member
    3 Posts

    problems with all browsers except firefox Link to this post

    hi,
    please check out this site:
    http://www.angelgroup.eu

    ... it loads fine with firefox (v3.6)
    it won't load (after flash intro) in opera, safari , internet explorer (7...)

    i guess it has to do with css... but this is my first site in SS.
    i actually took the blackcandy template and tried to build in a photoshop sliced design.

    was pretty hard to adjust all the css so that it atleast displays content + menu correctly.

    a good video tutorial on how to build silverstripe themes with photoshop + dreamweaver would be great.

    here is my Page.ss:

    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml" lang="en" >
    <head>
    <% base_tag %>

    <title><% if MetaTitle %>$MetaTitle<% else %>$Title<% end_if %> &raquo; $SiteConfig.Title</title>
    $MetaTags(false)
    <link rel="shortcut icon" href="/favicon.ico" />

    <% require themedCSS(layout) %>
    <% require themedCSS(typography) %>
    <% require themedCSS(form) %>

    <!–[if gte IE 6]>
    <style type="text/css">
    @import url(themes/angelgroup/css/ie6.css);
    </style>
    <![endif]–>

    <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
    <style type="text/css">
    <!--
    body {
    background-repeat: no-repeat;
    background: url("$ThemeDir/images/BACKGROUND.jpg") fixed center no-repeat;}
    </style>
    </style></head>

    <body width="100%" height="100%" border="0" align="center">
    <table>
    <tr>
    <td width="368" height="20">&nbsp;</td>
    <td colspan="3">&nbsp;</td>
    <td width="346"></td>
    <td width="18">&nbsp;</td>
    </tr>
    <tr>
    <td height="218">&nbsp;</td>
    <td colspan="3" valign="top"><img src="$ThemeDir/images/LOGO.gif" width="928" height="129" alt=""></td>
    <td>&nbsp;</td>
    </tr>
    <tr>
    <td height="311">&nbsp;</td>
    <td width="186" valign="top">

    <% if Menu(2) %>
    <% include SideBar %>
    <div id="Content">
    <% end_if %>

    <!-- <% if Level(2) %>
    <% include BreadCrumbs %>
    <% end_if %>
    -->
    </td>
    <td width="22" valign="top">&nbsp;</td>
    <td width="685" align="left" valign="top" bgcolor="#EFEFEF">

    <div id="Container">
    <div id="Navigation">
    <% if Menu(1) %>
    <ul>
    <% control Menu(1) %>
    <li><a href="$Link" title="Go to the $Title page" class="$LinkingMode">$MenuTitle</a></li>
    <% end_control %>
    </ul>
    <% end_if %>
    </div>

    <div id="ContentContainer">
    <div id="Content" class="typography">
    $Content
    $Form
    <!-- $Breadcrumbs -->
    </div>
    </div>

    </div>

    </td>
    <td>&nbsp;</td>
    </tr>
    </table>
    <!-- Save for Web Slices (VIRGIN_separate_BG_v13.psd) -->

    <!-- End Save for Web Slices -->
    </body>
    </html>

  • Greg1
    Avatar
    Community Member
    28 Posts

    Re: problems with all browsers except firefox Link to this post

    It might help to learn HTML as your code is a real mess. The main problem seems to be the comment that isnt closed:

    <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
    <style type="text/css">
    <!--
    body {
    background-repeat: no-repeat;
    background: url("$ThemeDir/images/BACKGROUND.jpg") fixed center no-repeat;}
    </style>
    </style></head>

    Try replacing it with this:

    <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
    <style type="text/css">
    <!--
    body {
    background-repeat: no-repeat;
    background: url("$ThemeDir/images/BACKGROUND.jpg") fixed center no-repeat;}
    -->
    </style></head>

  • canoodle
    Avatar
    Community Member
    3 Posts

    Re: problems with all browsers except firefox Link to this post

    THANKS GREG! U SAVED MY ASS!

    (OMG! such an evil typo!)

    i am very sorry and

    want an free webserver? ;) hehe (but the upload is very limited)
    or need a project management?(jira)
    how can i be of help to you?

  • Greg1
    Avatar
    Community Member
    28 Posts

    Re: problems with all browsers except firefox Link to this post

    Just happy to help

    928 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.