Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

HTML Forum


You are currently viewing our HTML Forum as a guest. Please register to participate.
Login



Post a Project »

Find a Professional HTML Freelancer!

Find a Freelancer to help you with your HTML projects

FREE Outsourcing eBook!

Reply
Web Page Renders Incorrectly
Old 06-14-2007, 03:42 PM Web Page Renders Incorrectly
Average Talker

Posts: 26
Name: Michael
Trades: 0
Here is my code:

Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">

<head>

<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />

<link rel="stylesheet" href="style.css" type="text/css" />

<title>

Space Xscape Home Page

</title>

</head>

<body>

<div id="container">

<div id="header">

<h1>Space Xscape Home Page</h1>

</div>

<div id ="navigation">

<a href="index.php">Home</a><br />

<a href="play.php">Play</a><br />

<a href="download.php">Download</a><br />

<a href="about.php">About</a><br />

<a href="screenshots.php">Screenshots</a><br />

<a href="todo.php">To Do List</a><br />

<a href="bugs.php">Bugs</a><br />

<a href="awards.php">Awards</a><br />

<a href="links.php">Links</a><br />

<a href="license.php">License</a>

</div>

<div id="content">

<p>test</p>

</div>

<div id="adbar">

<p>ads</p>

</div>

<div id="footer">

<p>Copyright 2007 Space Xscape Community</p>

</div>

</div>

</body>

</html>
Here is my css:
Code:
h1, p {

margin: 6px 12px; /* adds space between columns *\

}

#containter {

width: 700px;

border: solid 1px;
}

#header {

background: #CCCCCC;

padding: 15px;
}

#navigation {

float: left;

width: 150px;

background: #EEEEEE;
}

#content {

float: left;

width: 400px;
}

#adbar {

float: left;

width: 150px;

background: #EEEEEE;
}

#footer {

clear: both; /* starts the footer below the floated content */

padding: 15px;

background: #666666;
}
And here is what my site link:

http://spacexscape.freepgs.com

Thanks
Attached Images
File Type: jpg badsite.jpg (48.4 KB, 46 views)

Last edited by Space Xscape; 06-14-2007 at 03:47 PM.. Reason: Added snapshot of site
Space Xscape is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 06-14-2007, 09:53 PM Re: Web Page Renders Incorrectly
LadynRed's Avatar
Defies a Status

Posts: 10,017
Location: Tennessee
Trades: 0
It looks ok to me in Firefox, and not at all like your screenshot, did you fix it ?
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

LadynRed is offline
Reply With Quote
View Public Profile
 
Old 06-15-2007, 09:51 AM Re: Web Page Renders Incorrectly
HighVoltage123's Avatar
Ultra Talker

Posts: 262
Trades: 0
why http://spacexscape.freepgs.com/news.php 's header image is different in IE and in FF?!?
HighVoltage123 is offline
Reply With Quote
View Public Profile Visit HighVoltage123's homepage!
 
Old 06-15-2007, 02:26 PM Re: Web Page Renders Incorrectly
Average Talker

Posts: 26
Name: Michael
Trades: 0
Sorry installed e107 meanwhile i'm working on it.

Here is the link:

http://spacexscape.freepgs.com/site_test/
Space Xscape is offline
Reply With Quote
View Public Profile
 
Old 06-15-2007, 02:54 PM Re: Web Page Renders Incorrectly
LadynRed's Avatar
Defies a Status

Posts: 10,017
Location: Tennessee
Trades: 0
Ok.. so what, exactly, is wrong with it ?
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

LadynRed is offline
Reply With Quote
View Public Profile
 
Old 06-15-2007, 02:57 PM Re: Web Page Renders Incorrectly
Average Talker

Posts: 26
Name: Michael
Trades: 0
Quote:
Originally Posted by LadynRed View Post
Ok.. so what, exactly, is wrong with it ?
Header is supposed to be on the top, navigation on the left, content on the center, ads on the right and footer on the bottom. Instead content,ads and footer stack on each other.

Example:


Last edited by Space Xscape; 06-15-2007 at 02:58 PM..
Space Xscape is offline
Reply With Quote
View Public Profile
 
Old 06-15-2007, 08:54 PM Re: Web Page Renders Incorrectly
LadynRed's Avatar
Defies a Status

Posts: 10,017
Location: Tennessee
Trades: 0
Ooh.. you are so going to kick yourself for this one

This is your problem:

Quote:
h1, p {

margin: 6px 12px; /* adds space between columns *\

}
Your comment (in red) is incorrect !! It should be /*adds space between columnts */ ! Since the comment syntax is wrong, it's commenting out the rest of your stylesheet !!
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

LadynRed is offline
Reply With Quote
View Public Profile
 
Old 06-16-2007, 12:52 AM Re: Web Page Renders Incorrectly
Average Talker

Posts: 26
Name: Michael
Trades: 0
Oh my god, your a genius! Yes, i did kick myself a few times after fixing it. However i'm still exibiting strange behavior. For some reason my adbar isn't floating all the way to the right and theres a gap between the right edge and the adbar. I have attached a picture to show what i mean.Any ideas?

Space Xscape
Attached Images
File Type: png bug2.png (96.8 KB, 6 views)
Space Xscape is offline
Reply With Quote
View Public Profile
 
Old 06-16-2007, 10:39 AM Re: Web Page Renders Incorrectly
LadynRed's Avatar
Defies a Status

Posts: 10,017
Location: Tennessee
Trades: 0
Umm.. you need to watch your spelling

#containter {

width: 700px;

border: solid 1px;
}
You want #container
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

LadynRed is offline
Reply With Quote
View Public Profile
 
Old 06-16-2007, 04:12 PM Re: Web Page Renders Incorrectly
Average Talker

Posts: 26
Name: Michael
Trades: 0
Hmmm... still having problems. For some reason in IE 6.0 it readers my web page in a wierd way. See the image below. Also is it possible to have my site be displayed in a full screen regardless of the visitors screen resolution?

Thanks

Attached Images
File Type: jpg bug3.jpg (41.7 KB, 38 views)
Space Xscape is offline
Reply With Quote
View Public Profile
 
Old 06-16-2007, 08:10 PM Re: Web Page Renders Incorrectly
LadynRed's Avatar
Defies a Status

Posts: 10,017
Location: Tennessee
Trades: 0
It will look ok in IE once you get some real content inside the div to make it 'stretch' vertically. However, I think you might want to try the faux-columns method to make it look like you have two equal-length columns.
http://www.alistapart.com/articles/fauxcolumns/

If you want the page to stretch horizontally, you're going to have to use percentages for your widths rather than fixed widths.
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

LadynRed is offline
Reply With Quote
View Public Profile
 
Old 06-16-2007, 10:53 PM Re: Web Page Renders Incorrectly
Average Talker

Posts: 26
Name: Michael
Trades: 0
So the only way to stretch my page so it covers the entire web browser virtically is to ad content cause i tried height: 100% and it doesn't work although width:100% does.
Space Xscape is offline
Reply With Quote
View Public Profile
 
Old 06-18-2007, 02:50 PM Re: Web Page Renders Incorrectly
LadynRed's Avatar
Defies a Status

Posts: 10,017
Location: Tennessee
Trades: 0
Height 100% will work, provided you implement it correctly. See this thread:
http://www.webmaster-talk.com/css-fo...l-browser.html
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE


Last edited by LadynRed; 06-18-2007 at 02:52 PM..
LadynRed is offline
Reply With Quote
View Public Profile
 
Old 06-20-2007, 11:12 AM Re: Web Page Renders Incorrectly
Average Talker

Posts: 26
Name: Michael
Trades: 0
Hi,

I'm doing very well with my new site. I'm having problem with my header. I'm using an image that repeats on the x axis from the top left. However i also have a background color which isn't being shown for some reason. Any ideas?
Space Xscape is offline
Reply With Quote
View Public Profile
 
Old 06-20-2007, 04:04 PM Re: Web Page Renders Incorrectly
LadynRed's Avatar
Defies a Status

Posts: 10,017
Location: Tennessee
Trades: 0
Is the header the same dimensions as the graphic ? If so, then you wouldn't see the bg color.
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

LadynRed is offline
Reply With Quote
View Public Profile
 
Old 06-23-2007, 12:33 AM Re: Web Page Renders Incorrectly
Average Talker

Posts: 26
Name: Michael
Trades: 0
I'm not cirtain since i'm new to this. Can you please check and let me know?
Space Xscape is offline
Reply With Quote
View Public Profile
 
Old 06-26-2007, 11:21 AM Re: Web Page Renders Incorrectly
Average Talker

Posts: 26
Name: Michael
Trades: 0
hmmm... it seems it is rendering the entire background and the lower half isn't being rendered transparent. any ideas?
Space Xscape is offline
Reply With Quote
View Public Profile
 
Old 06-26-2007, 03:13 PM Re: Web Page Renders Incorrectly
LadynRed's Avatar
Defies a Status

Posts: 10,017
Location: Tennessee
Trades: 0
In what browser ? It looks the same to me in IE 6 and FF 2.0
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

LadynRed is offline
Reply With Quote
View Public Profile
 
Old 06-27-2007, 01:23 PM Re: Web Page Renders Incorrectly
Average Talker

Posts: 26
Name: Michael
Trades: 0
Both, thats the problem. I discovered it 2 days ago and don't know how to fix it.
Space Xscape is offline
Reply With Quote
View Public Profile
 
Old 06-27-2007, 01:42 PM Re: Web Page Renders Incorrectly
LadynRed's Avatar
Defies a Status

Posts: 10,017
Location: Tennessee
Trades: 0
Ok, I don't see a problem, it looks fine. If you want something different we're going to have to see a graphic of what you DO want.
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

LadynRed is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Web Page Renders Incorrectly

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.60612 seconds with 13 queries