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.

CSS Forum


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



Reply
Semi-Newbie Needs Some Expert Advice Please
Old 09-17-2008, 04:05 PM Semi-Newbie Needs Some Expert Advice Please
Skilled Talker

Posts: 66
Trades: 0
I've been trying to learn CSS and I'm having a bit of a problem that I hope one of the experts here can help me with. I'm pretty sure it's a simple problem, but I just can't figure out how to fix it.

Anyway, you can see my end results here. What I am trying to get is on the right side is an image to show correctly. For some reason I just can't get it to show. Any suggestions?

My code so far is as follows:

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta name="verify-v1" content="ymb8D6xloPywy+TF2wZDeU5vjH+g0YFQ8QkIz3XFs cU=" />
<title>Home Of Creative Video Productions</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="copyright" content="&copy;2007 Creative Video Productions">
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css">
body {
background-color: rgb(21,0,0);
margin:0;
padding:0;
}
#container {
width:1000px;
margin:0 auto;
height:623px;
}
#banner {
background-image: url('../new/images/header.jpg');
background-repeat: no-repeat;
width: 881px;
height: 172px;
}
#nav {
float:left;
height:100%;
width:196px;
height:651px;
background-image: url('../new/images/left.jpg');
background-repeat: no-repeat;
text-align:left;
}
#mid {
text-align: left;
background-image: url('../new/images/mid.jpg')
background-repeat: no-repeat;
padding-top: 0px;
padding-left: 15px;
width: 391px;
height: 651px;
margin:0;
float:left;
color: #FFF;
}
#right {
background-image: url('../new/images/right-test.jpg')
background-repeat: no-repeat;
width: 292px;
height: 651px;
}
#copyright {
background-color: rgb(21,0,0);
width: 681px;
height: 30px;
text-align: center;
color: #FFF;
font-size: 11px;
margin-left: 75px;
clear:both;
}
div.menu {
width:175px;
padding: 0.9px;
margin-top: 0.8em;
margin-left:0.3em;
border:0px;
text-align:left;
}
div.menu a {
display:block;
font-size:17px;
font-family: "elephant";
width:100%;
padding: 0.15em;
margin-left: .0em;
border-top:1px ;
color: rgb(239,145,39);
text-decoration:none;
line-height:38px;
}
html>body div.menu a {width: auto;}
div.menu a:hover {
color: #FFF;
font-size:18px;
font-style: italic;
}
img.special {
display: block;
margin-left: 17px;
margin-right: auto;
margin-top: 5.0em;
border: none;
}
h2 {text-align: center;
font-weight: bold;
color: rgb(239,145,39);
}
p {color: rgb(254,251,154);
</style>
</head>
<body>
<div id="container">
<div id="banner">
</div>
<div id="nav"><br><br><br>
<div class="menu">
<a href=>Home</a>
<a href=>About Us</a>
<a href=>Why Us</a>
<a href=>FAQ's</a>
<a href=>Video Services</a>
<a href=>Pricing</a>
<a href=>Request Info</a>
<a href=>Contact Us</a>
</div>
<a href="..//intro.html"><img class="special" src="../images/introad.gif" alt="specials" height="169" width="125"></a>
</div>
<div id="mid">
<!--[if IE]>
<br>
<![endif]-->

<p>&nbsp;</p>
<p>This is a test to check spacing and overall layout.</p>

<p>This is the place where introductory information will go. So these comments are just for marking space where important
information will go.</p>

<p>So here is where the fun starts.</p>

<p>&nbsp;</p>
<h2>Contact Us Today! &nbsp;&nbsp;&nbsp; (724) 968-8679</h2>
</div>
<div id="right">
</div>
<div id="copyright"><br><br>
&copy; 2007 &nbsp;&nbsp;&nbsp; Creative Video Productions
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; All Rights Reserved <br><br>
</div>

</div>
</body>
</html>


If anyone can tell me what I am doing wrong with my code and how to fix it, I would really appreciate it.

Thanks
JustAGuy is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 09-17-2008, 05:16 PM Re: Semi-Newbie Needs Some Expert Advice Please
LadynRed's Avatar
Defies a Status

Posts: 10,017
Location: Tennessee
Trades: 0
Float it ...

Quote:
#right {
float: right;
background-image: url('../new/images/right-test.jpg')
background-repeat: no-repeat;
width: 292px;
height: 651px;
}
Put #right.. over where it belongs.. on the right side.
__________________
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 09-17-2008, 05:48 PM Re: Semi-Newbie Needs Some Expert Advice Please
Skilled Talker

Posts: 66
Trades: 0
Thanks LadynRed. I added the float back to #right but that did not do the trick. Had the float in originally but for some reason this image refuses to show up. I've been pulling what little hair I have left out over.

Any other suggestions???


Thanks
JustAGuy is offline
Reply With Quote
View Public Profile
 
Old 09-17-2008, 06:05 PM Re: Semi-Newbie Needs Some Expert Advice Please
Novice Talker

Posts: 11
Trades: 0
Have you checked that ensure that your pictures at "<img class="special" src="../images/introad.gif" alt="specials" height="169" width="125">" is located at the right path?
__________________

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

No Image Ads. No Pop-Ups. Just a faster Whois.
beewhois is offline
Reply With Quote
View Public Profile
 
Old 09-17-2008, 06:09 PM Re: Semi-Newbie Needs Some Expert Advice Please
Skilled Talker

Posts: 66
Trades: 0
Yes Beewhois, I double checked everything before asking for help.

I did figure out what the problem was and as I suspected, it was simple. Somehow or another, I missed a ";" at the end of the background-image line. Once I corrected that little oversight, the image popped right up.

Thanks for your help. I'll be back with more questions.
JustAGuy is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Semi-Newbie Needs Some Expert Advice Please
 

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.52310 seconds with 12 queries