It appears you have not yet registered with DEVPPL. To register please click here... (it's fast, easy and free!)

Forum

Log In Sponsors
Board index Programming CSS Forum

CSS + IE + Domain Forwarding

CSS + IE + Domain Forwarding

Postby echoesofury on Tue Jul 25, 2006 6:35 pm

Alright, I created a layout for a page I am working on. Basically, the page looks fine when viewed directly from the IP address of the server I'm using in both IE and Firefox.

However, when I view the page in IE using the domain I registered, it turns into garbly gook.

Here's the URL so you can see what I mean:
http://www.sans-seraphrpg.com

The div on the left side of the screen repeats on top of itself over and over, making it completely unreadable. It only does this when viewed from the domain name. If you view it in Firefox you can see what the page should look like.
echoesofury
 
Posts: 4
Joined: Tue Jul 25, 2006 6:30 pm

Postby johneva on Tue Jul 25, 2006 7:23 pm

Not that this helps but why are you using a strict doctype on a frameset?

You should be using the frameset doctype.

Code: Select all
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN"
   "http://www.w3.org/TR/html4/frameset.dtd">


Infact why are you using frames at all? Frames suck!
Image
Only God Can Judge Me.
User avatar
johneva
500+ Club
 
Posts: 565
Joined: Sat Oct 29, 2005 1:16 pm
Location: Stafford, England

Postby nighthawk on Tue Jul 25, 2006 8:36 pm

johneva wrote:Infact why are you using frames at all? Frames suck!


Amin!
User avatar
nighthawk
250+ Club
 
Posts: 420
Joined: Sun Jun 11, 2006 1:53 pm
Location: SFRJ

Postby echoesofury on Wed Jul 26, 2006 5:31 pm

:shock:

Where are you seeing frames?

Here's what my code should look like:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>sans seraph + v.01</title>

<script type="text/javascript">
<!--// Stylesheet Switcher
if ((navigator.appName).indexOf("Microsoft")!=-1) {
document.write('<link rel="stylesheet" href="styleIE.css" type="text/css">');
}
else {
document.write('<link rel="stylesheet" href="style.css" type="text/css">');
}
//-->
</script>
<noscript>
<link rel="stylesheet" href="style.css" type="text/css">
</noscript>

</head>
<body>
<div id="top">
<h1>sans seraph...</h1>
<p class="header"><a href="index.html">index</a> + <a href="world.html">about</a> + <a href="rules.html">rules</a> + <a href="creation.html">creation</a> + <a href="forum.html">forum</a> + <a href="credits.html">credits</a> + <a href="links.html">links</a></p>
</div>


<div id="div">
<h2>Credits</h2>
<p>The pixel star brush used on the layout image can be found at <a href="http://www.xshock.de/" target="_blank">xshock</a>.</p>
<p>The feather brushes used in the layout can be found at <a href="http://debi-chiru.deviantart.com/" target="_blank">debi-chiru.deviantart.com</a>.
<p>The photograph used as a template for creating the lineart for this page can be found at <a href="http://www.sxc.hu/" target="_blank">sxc.hu</a>.

</div>
<div id="bot"><p class="footer">© Kara Medema 2006</p></div>
</body>
</html>


Could the re-direct be...adding frames? Or something?
echoesofury
 
Posts: 4
Joined: Tue Jul 25, 2006 6:30 pm

Postby johneva on Wed Jul 26, 2006 5:43 pm

No mate.

Code: Select all
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
   "http://www.w3.org/TR/html4/strict.dtd">
<html>

<head>
  <title>www.sans-seraphrpg.com</title>
 
</head>
<frameset rows="100%,*" border="0">
  <frame src="http://66.72.53.77:2505/" frameborder="0" />
  <frame frameborder="0" noresize />
</frameset>

<!-- pageok -->
<!-- 02 -->
<!-- 5.1-->
</html>


Is what is the soure code says when you right click the page in Firefox or IE.

Then inside that frame is the code you have just posted.

Thing is it only has one frame anyways, I dont know what your doing but I have never seen anything like it.

What server have you put the site on?

And who set it up?
Image
Only God Can Judge Me.
User avatar
johneva
500+ Club
 
Posts: 565
Joined: Sat Oct 29, 2005 1:16 pm
Location: Stafford, England

Postby echoesofury on Wed Jul 26, 2006 6:32 pm

Yeah, after you said that I looked and saw that too.

It has to be something with my hosting because I didn't do that myself.

My site is hosted on a friend's server. I registered a domain through Godaddy.com and he told me to just use the domain forwarding thing. It must have added that code O.o
echoesofury
 
Posts: 4
Joined: Tue Jul 25, 2006 6:30 pm

Postby echoesofury on Wed Jul 26, 2006 6:43 pm

I figured out it was the 'Domain Masking' option that was making it do that. They just paste your page inside a frame so it'll still show the URL that you want. I disabled that and now it just shows the IP when I go to it, but the original problem is fixed.

Gonna ask my friend if I can not use that crappy redirect.
echoesofury
 
Posts: 4
Joined: Tue Jul 25, 2006 6:30 pm


Who is online

Users browsing this forum: No registered users and 1 guest