Submit Your Article Webforumz RegistrationAnnouncements Contact Webforumz StaffContact
Home Resources Blogs Meet the Team Contact Register
 

Go Back   WebForumz.com > The Code > HTML, XHTML and CSS

Reply
 
LinkBack Thread Tools
Old April 3rd, 2008, 07:07 PM   #1
New Member
 

Join Date: Mar 2008
Location: Georgia
Age: 18
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Altering Power: 0 Bradfordp26 is on a distinguished road
Whats wrong?

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

CSS
Code:
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:
<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
Bradfordp26 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Old April 4th, 2008, 07:37 AM   #2
Reputable Member
SuperMember
 
Emzi's Avatar
 

Join Date: Sep 2007
Location: Manchester
Age: 26
Posts: 182
Thanks: 0
Thanked 3 Times in 3 Posts
Rep Altering Power: 0 Emzi is on a distinguished road
Re: Whats wrong?

Have you got the website uploaded anywhere so we can look at it properly?
Emzi is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Old April 4th, 2008, 05:36 PM   #3
New Member
 

Join Date: Mar 2008
Location: Georgia
Age: 18
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Altering Power: 0 Bradfordp26 is on a distinguished road
Re: Whats wrong?

Sorry no. Just locally, but that is what I see.
Bradfordp26 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Old April 4th, 2008, 05:44 PM   #4
Reputable Member
 

Join Date: Jun 2007
Location: uk
Posts: 461
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Altering Power: 0 dab42pat is on a distinguished road
Re: Whats wrong?

can you post your entire code.
dab42pat is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Old April 4th, 2008, 06:02 PM   #5
New Member
 

Join Date: Mar 2008
Location: Georgia
Age: 18
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Altering Power: 0 Bradfordp26 is on a distinguished road
Re: Whats wrong?

That is.
Bradfordp26 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Old April 4th, 2008, 06:10 PM   #6
Reputable Member
 

Join Date: Jun 2007
Location: uk
Posts: 461
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Altering Power: 0 dab42pat is on a distinguished road
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
dab42pat is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Old April 4th, 2008, 06:24 PM   #7
New Member
 

Join Date: Mar 2008
Location: Georgia
Age: 18
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Altering Power: 0 Bradfordp26 is on a distinguished road
Re: Whats wrong?

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

Code:
<!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>
Bradfordp26 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Old April 4th, 2008, 06:52 PM   #8
Reputable Member
 

Join Date: Jun 2007
Location: uk
Posts: 461
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Altering Power: 0 dab42pat is on a distinguished road
Re: Whats wrong?

Try removing class="topleft" /> from your img
dab42pat is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Old April 4th, 2008, 07:51 PM   #9
Most Reputable Member
SuperMember
 

Join Date: Nov 2005
Age: 28
Posts: 1,546
Thanks: 1
Thanked 11 Times in 11 Posts
Rep Altering Power: 0 saltedm8 will become famous soon enough saltedm8 will become famous soon enough
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 edited by saltedm8; April 4th, 2008 at 07:54 PM..
saltedm8 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Old April 4th, 2008, 09:48 PM   #10
New Member
 

Join Date: Mar 2008
Location: Georgia
Age: 18
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Altering Power: 0 Bradfordp26 is on a distinguished road
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....
Bradfordp26 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Old April 4th, 2008, 09:49 PM   #11
New Member
 

Join Date: Mar 2008
Location: Georgia
Age: 18
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Altering Power: 0 Bradfordp26 is on a distinguished road
Re: Whats wrong?

Quote:
Originally Posted by dab42pat View Post
Try removing class="topleft" /> from your img
Worked! Thanks!!!
Bradfordp26 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Old April 5th, 2008, 06:14 AM   #12
Most Reputable Member
SuperMember
 

Join Date: Nov 2005
Age: 28
Posts: 1,546
Thanks: 1
Thanked 11 Times in 11 Posts
Rep Altering Power: 0 saltedm8 will become famous soon enough saltedm8 will become famous soon enough
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 edited by saltedm8; April 5th, 2008 at 06:17 AM..
saltedm8 is offline  
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

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
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 0 May 11th, 2007 03:29 PM
Whats wrong with this? MaccGaz Other Languages 1 November 4th, 2006 05:12 PM
Whats wrong with this? (Ajax) php_coder JavaScript 1 May 24th, 2006 04:48 PM
Whats wrong with tables and why css mrnthere HTML, XHTML and CSS 7 March 16th, 2006 07:38 PM
Whats wrong with this? TheShadow Classic ASP 5 May 26th, 2005 08:55 AM


Search Engine Optimization by vBSEO 3.2.0 RC8