Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

General Questions

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

problems with all browsers except firefox


Reply

4 Posts   940 Views

Avatar
canoodle

2 June 2010 at 5:36am Community Member, 3 Posts

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" xml: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>

Avatar
Greg1

2 June 2010 at 12:01pm Community Member, 28 Posts

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>

Avatar
canoodle

2 June 2010 at 6:43pm Community Member, 3 Posts

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?

Avatar
Greg1

2 June 2010 at 7:09pm Community Member, 28 Posts

Just happy to help :)