|
|
 |
April 3rd, 2008, 08: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
|
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
|
|
|
April 4th, 2008, 08:37 AM
|
#2
|
|
Reputable Member
SuperMember
Join Date: Sep 2007
Location: Manchester
Age: 26
Posts: 182
Thanks: 0
Thanked 3 Times in 3 Posts
Rep Altering Power: 0
|
Re: Whats wrong?
Have you got the website uploaded anywhere so we can look at it properly?
|
|
|
April 4th, 2008, 06: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
|
Re: Whats wrong?
Sorry no. Just locally, but that is what I see.
|
|
|
April 4th, 2008, 06: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
|
Re: Whats wrong?
can you post your entire code.
|
|
|
April 4th, 2008, 07: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
|
Re: Whats wrong?
That is.
|
|
|
April 4th, 2008, 07: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
|
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
|
|
|
April 4th, 2008, 07: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
|
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>
|
|
|
April 4th, 2008, 07: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
|
Re: Whats wrong?
Try removing class="topleft" /> from your img
|
|
|
April 4th, 2008, 08:51 PM
|
#9
|
|
Most Reputable Member
SuperMember
Join Date: Nov 2005
Location: webprocafe
Age: 28
Posts: 1,544
Thanks: 1
Thanked 11 Times in 11 Posts
Rep Altering Power: 0
|
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 08:54 PM..
|
|
|
April 4th, 2008, 10: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
|
Re: Whats wrong?
Quote:
Originally Posted by saltedm8
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....
|
|
|
April 4th, 2008, 10: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
|
Re: Whats wrong?
Quote:
Originally Posted by dab42pat
Try removing class="topleft" /> from your img
|
Worked! Thanks!!!
|
|
|
April 5th, 2008, 07:14 AM
|
#12
|
|
Most Reputable Member
SuperMember
Join Date: Nov 2005
Location: webprocafe
Age: 28
Posts: 1,544
Thanks: 1
Thanked 11 Times in 11 Posts
Rep Altering Power: 0
|
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 07:17 AM..
|
|
|
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|