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
Div pushes other div down, at the end of my rope!!
Old 09-29-2009, 01:25 AM Div pushes other div down, at the end of my rope!!
Junior Talker

Posts: 3
Name: James
Trades: 0
First off here is the link to the page I'm making for fun:
http://www.jcathcart.com/layout1/index.html

Now the problem I'm having can be seen when you click the Roster link. It is a div with a margin-top of 150px and for some reason it pushes the navigation div down equally. I have no idea why or how to fix it even after hours and hours of looking. Maybe CSS just can't do it? Anyway here is my css code:

body {
font-family:Trebuchet MS;
background:#000 url(bg.jpg) no-repeat center top;
color:#FFF;
text-align:center;
}

#container {
margin:0 auto;
width:900px;
}

#masthead {
height:538px;
}

#nav {
width:900px;
}

#close {
float:right;
}

#content {
margin:150px auto;
padding:5px;
text-align:left;
width:500px;
height:300px;
background:url(transparent.png);
border:1px solid #666;
}
jcathcart is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 09-29-2009, 04:45 PM Re: Div pushes other div down, at the end of my rope!!
LadynRed's Avatar
Defies a Status

Posts: 10,016
Location: Tennessee
Trades: 0
Quote:
Maybe CSS just can't do it?
Sure it can, it's a matter of HOW it's coded.

What browser are you seeing this in because I'm not seeing a problem in Firefox.
__________________
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-29-2009, 07:09 PM Re: Div pushes other div down, at the end of my rope!!
orionoreo's Avatar
Ultra Talker

Posts: 335
Name: Jerry
Trades: 0
i don't see this happening either..
__________________

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
orionoreo is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Div pushes other div down, at the end of my rope!!
 

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