21287 Posts in 5733 Topics by 2603 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 767 Views |
-
problems with all browsers except firefox

2 June 2010 at 5:36am
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 %> » $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"> </td>
<td colspan="3"> </td>
<td width="346"></td>
<td width="18"> </td>
</tr>
<tr>
<td height="218"> </td>
<td colspan="3" valign="top"><img src="$ThemeDir/images/LOGO.gif" width="928" height="129" alt=""></td>
<td> </td>
</tr>
<tr>
<td height="311"> </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"> </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> </td>
</tr>
</table>
<!-- Save for Web Slices (VIRGIN_separate_BG_v13.psd) --><!-- End Save for Web Slices -->
</body>
</html> -
Re: problems with all browsers except firefox

2 June 2010 at 12:01pm
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> -
Re: problems with all browsers except firefox

2 June 2010 at 6:43pm
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?
| 767 Views | ||
|
Page:
1
|
Go to Top |


