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
Old 12-13-2006, 05:37 PM CSS Layout Problems
Junior Talker

Posts: 2
Trades: 0
I am having a problem with a theme file I am making. I have been playing with this for hours and I can't seem to get it right.

I have the following code in my page:

Code:
 
<div class=\"mainbody\"> <!-- Navigation Panel --> <div class=\"navigationcontainer\"> <img src=\"/themes/jbcomp/images/navtop.gif\" /> $links <center> <img src=\"/themes/jbcomp/images/navbottom.gif\" /> </center> </div> <!-- Link Bar & Content --> <div class=\"contentlinks\"> <a href=\"../index.php?l=about\" class=\"links\">About Us</a> <a href=\"../index.php?l=portfolio\" class=\"links\">Portfolio</a> <a href=\"../index.php?l=quote\" class=\"links\">Free Quote</a> <a href=\"../index.php?l=contact\" class=\"links\">Contact Us</a> <br /><br /> <div class=\"contentheader\"> <div align=\"left\"> <img class=\"floatleft\" src=\"../themes/jbcomp/images/contentleft.gif\" /> </div> $storytitle <div align=\"right\"> <img class=\"floatright\" src=\"../themes/jbcomp/images/contentright.gif\" /> </div> </div> <br /> <div class=\"contentbody\"> $content </div> </div> </div>



and here is the css
Code:
.mainbody {
margin: 2px;
}

.contentlinks {
}

.navigationcontainer {
width: 224px;
float: left;
}

.linkcontainer {
height: 29px;
border-width: 1px;
border-color: #b5b4b4;
margin-bottom: 2px;
margin-top: 2px;
margin-left: 2px;
margin-right: 2px;
}

.contentbody {
width: 100%;
border: 1px;
border-color: #8596a0;
}


And here is what I get:



See how the images to the left seem to be above the bottombar section. Any ideas on what might cause this? Thanks.

Last edited by jjb123; 12-13-2006 at 05:38 PM..
jjb123 is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 12-13-2006, 05:56 PM Re: CSS Layout Problems
chrishirst's Avatar
Missing! presumed drunk.

Posts: 41,517
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
you could always try the CSS forum
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
A foolish consistency is the hobgoblin of little minds
Thought for today:- I SEO the only industry where all the cowboys are Indians?
chrishirst is offline
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 12-13-2006, 06:04 PM Re: CSS Layout Problems
Junior Talker

Posts: 2
Trades: 0
I am sorry, I looked for it but didn't see it because it was a sub forum, can you pleas move it mod?
jjb123 is offline
Reply With Quote
View Public Profile
 
Old 12-13-2006, 06:41 PM Re: CSS Layout Problems
chrishirst's Avatar
Missing! presumed drunk.

Posts: 41,517
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
not my forum to move from, but it's flagged for someone to come along and move it
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
A foolish consistency is the hobgoblin of little minds
Thought for today:- I SEO the only industry where all the cowboys are Indians?
chrishirst is offline
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Reply     « Reply to CSS Layout Problems
 

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