Whats wrong?

This is a discussion on "Whats wrong?" within the Web Page Design section. This forum, and the thread "Whats wrong? are both part of the Design Your Website category.


 Subscribe in a reader

Go Back   Webforumz.com > Main Forums > Design Your Website > Web Page Design

Notices




Reply
 
LinkBack Thread Tools
  #1  
Old Apr 3rd, 2008, 23:07
New Member
Join Date: Mar 2008
Location: Georgia
Age: 17
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Whats wrong?

When I add the top_left.gif image to the template the main content disappears.

CSS
Code: Select all
html { font-size: 100%; }

Body{
Margin: 0;
Background: #0c3849;
color: #0c3849;
font-size: 14px;
font-family: trebuchet ms;
}

a{
color: #0c3849;
}


img a{
border: 0;
}

#container{
background: #0c3849;
width: 732px;
margin: 0 auto;
margin-top: 112px;
}

.logo{
float: left;
}

.navigation{
background-image: url(images/navigation.gif);
width: 410px;
height: 46px;
float: right;
margin-top: 42px;
}

#content{
background: #ffffff;
width: 732px;
margin: 0px auto;
margin-top: 100px;
clear: right;
}

.topleft{
float: left;
}
xHTML
Code: Select all
<div id="container">

<div id="header">

<img src="images/logo.gif" class="logo" />
<div class="navigation">
</div>

</div>

<div id="content">
<img src="images/top_left.gif" class="topleft" />

</div>

</div>

Screenshot
Click
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote

  #2  
Old Apr 4th, 2008, 11:37
Emzi's Avatar
SuperMember

SuperMember
Join Date: Sep 2007
Location: Manchester
Age: 25
Posts: 155
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Whats wrong?

Have you got the website uploaded anywhere so we can look at it properly?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #3  
Old Apr 4th, 2008, 21:36
New Member
Join Date: Mar 2008
Location: Georgia
Age: 17
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Whats wrong?

Sorry no. Just locally, but that is what I see.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #4  
Old Apr 4th, 2008, 21:44
Reputable Member
Join Date: Jun 2007
Location: uk
Posts: 459
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Whats wrong?

can you post your entire code.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #5  
Old Apr 4th, 2008, 22:02
New Member
Join Date: Mar 2008
Location: Georgia
Age: 17
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Whats wrong?

That is.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #6  
Old Apr 4th, 2008, 22:10
Reputable Member
Join Date: Jun 2007
Location: uk
Posts: 459
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Whats wrong?

It is very hard to solve your problem.

1. there is no doctype in your html
2. is the css an external file
3.There are no <body> <html> <head> tags
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #7  
Old Apr 4th, 2008, 22:24
New Member
Join Date: Mar 2008
Location: Georgia
Age: 17
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Whats wrong?

Oh, I didnt know you wanted the whole html skeleton.

Code: Select all
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>URLDeliver - Anynomous Proxy</title>
<link rel="stylesheet" type="text/css" href="style.css" />
</head>
<body>

<div id="container">

<div id="header">

<img src="images/logo.gif" class="logo" />
<div class="navigation">
</div>

</div>

<div id="content">
<img src="images/top_left.gif" class="topleft" />

</div>

</div>


</body>
</html>
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #8  
Old Apr 4th, 2008, 22:52
Reputable Member
Join Date: Jun 2007
Location: uk
Posts: 459
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Whats wrong?

Try removing class="topleft" /> from your img
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #9  
Old Apr 4th, 2008, 23:51
saltedm8's Avatar
SuperMember

SuperMember
Join Date: Nov 2005
Location: here
Age: 27
Posts: 1,523
Blog Entries: 2
Thanks: 1
Thanked 11 Times in 11 Posts
Re: Whats wrong?

just a quick note:

generally unless pointing to a specific part of your code, we will need the whole code to solve your problem, or better still a link to a live site
Last Blog Entry: Strict and Transitional Doctype's (Sep 12th, 2008)

Last edited by saltedm8; Apr 4th, 2008 at 23:54.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #10  
Old Apr 5th, 2008, 01:48
New Member
Join Date: Mar 2008
Location: Georgia
Age: 17
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Whats wrong?

Quote:
Originally Posted by saltedm8 View Post
just a quick note:

generally unless pointing to a specific part of your code, we will need the whole code to solve your problem, or better still a link to a live site
You have the whole code....
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #11  
Old Apr 5th, 2008, 01:49
New Member
Join Date: Mar 2008
Location: Georgia
Age: 17
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Whats wrong?

Quote:
Originally Posted by dab42pat View Post
Try removing class="topleft" /> from your img
Worked! Thanks!!!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #12  
Old Apr 5th, 2008, 10:14
saltedm8's Avatar
SuperMember

SuperMember
Join Date: Nov 2005
Location: here
Age: 27
Posts: 1,523
Blog Entries: 2
Thanks: 1
Thanked 11 Times in 11 Posts
Re: Whats wrong?

Quote:
You have the whole code....
we do now

i was referring to the doctype etc, simply so we know what type of html or xml you are using and to make sure its not something simple like a missing head tag etc

( i know it was not the case this time, but it is better to post the whole code )
Last Blog Entry: Strict and Transitional Doctype's (Sep 12th, 2008)

Last edited by saltedm8; Apr 5th, 2008 at 10:17.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply

Thread Tools

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 On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
whats wrong with these 2 ? batman13 JavaScript Forum 0 May 11th, 2007 19:29
Whats wrong with this? MaccGaz Other Programming Languages 1 Nov 4th, 2006 21:12
Whats wrong with this? (Ajax) php_coder JavaScript Forum 1 May 24th, 2006 20:48
Whats wrong with tables and why css mrnthere Web Page Design 7 Mar 16th, 2006 23:38
Whats wrong with this? TheShadow Classic ASP 5 May 26th, 2005 12:55


All times are GMT. The time now is 08:03.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42