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
design falling a part
Old 05-03-2009, 01:27 PM design falling a part
Webmaster Talker

Latest Blog Post:
Sopa, pipa, acta & tpp?
Posts: 749
Name: Barry O' Brien
Location: Ireland
Trades: 0
I'm having a problem with my design falling a part.

can you see anything wrong?

Code:
#container {
	width:860px;
	margin:0 auto;
}
#header {
	left:0px;
	top:0px;
	width:860px;
	height:145px;
	z-index:1;
	background-image: url(s/header.jpg);
	float: left;
	min-height: 145px;
	overflow: hidden;
	background-repeat: no-repeat;
}
#header-n-l {
	left:0px;
	top:145px;
	width:593px;
	height:57px;
	z-index:2;
	background-image: url(s/h-nav-l.jpg);
	background-repeat: no-repeat;
	float: left;
	overflow: hidden;
	min-height: 57px;
}
#header-n-r {
	left:593px;
	top:145px;
	width:267px;
	height:57px;
	z-index:3;
	background-image: url(s/h-nav-r.jpg);
	background-repeat: no-repeat;
	float: right;
	overflow: hidden;
	min-height: 57px;
}
#main-img {
	left:0px;
	top:202px;
	width:141px;
	height:163px;
	z-index:4;
	background-image: url(s/main-l.jpg);
	background-repeat: no-repeat;
	min-height: 163px;
	float: left;
	overflow: hidden;
}
#main-top {
	left:141px;
	top:202px;
	width:719px;
	height:107px;
	z-index:5;
	background-image: url(s/main-r-t.jpg);
	background-repeat: no-repeat;
	float: right;
	overflow: hidden;
	min-height: 107px;
}
#main-btm {
	left:141px;
	top:309px;
	width:719px;
	height:56px;
	z-index:6;
	background-image: url(s/main-t-b.jpg);
	background-repeat: no-repeat;
	float: left;
	min-height: 56px;
	overflow: hidden;
	background-position: top;
}
#menu {
	left:0px;
	top:416px;
	width:238px;
	height:122px;
	z-index:10;
	background-image: url(s/menu.jpg);
	background-repeat: no-repeat;
	float: left;
	overflow: hidden;
	min-height: 162px;
	background-position: top;
	padding: 20px;
}
#sec-n-l {
	left:0px;
	top:365px;
	width:211px;
	height:51px;
	z-index:7;
	background-image: url(s/second-n-l.jpg);
	background-repeat: no-repeat;
	float: left;
	min-height: 51px;
	overflow: hidden;
}
#download {
	left:0px;
	top:578px;
	width:238px;
	height:125px;
	z-index:12;
	background-image: url(s/download.jpg);
	background-repeat: no-repeat;
	float: left;
	min-height: 165px;
	overflow: hidden;
	background-position: top;
	padding: 20px;
}
#content-top {
	left:299px;
	top:416px;
	width:533px;
	height:224px;
	z-index:11;
	background-image: url(s/content-t.jpg);
	background-repeat: no-repeat;
	background-position: top;
	float: right;
	min-height: 244px;
	overflow: hidden;
	padding-top: 20px;
	padding-left: 15px;
	padding-right: 15px;
}
#follow {
	left:0px;
	top:743px;
	width:238px;
	height:121px;
	z-index:13;
	background-image: url(s/follow.jpg);
	background-repeat: no-repeat;
	float: left;
	min-height: 161px;
	overflow: hidden;
	background-position: top;
	padding: 20px;
}
#content-btm {
	left:299px;
	top:660px;
	width:548px;
	height:233px;
	z-index:14;
	background-image: url(s/content-b.jpg);
	background-repeat: no-repeat;
	float: right;
	min-height: 253px;
	overflow: hidden;
	background-position: top;
	padding-top: 20px;
	padding-left: 15px;
}
#footer-top {
	left:0px;
	top:913px;
	width:860px;
	height:30px;
	z-index:15;
	background-image: url(s/footer-top.jpg);
	background-repeat: no-repeat;
	float: left;
	min-height: 44px;
	overflow: hidden;
	background-position: top;
	padding-top: 14px;
}
#footer-btm {
	left:0px;
	top:957px;
	width:860px;
	height:30px;
	z-index:16;
	background-image: url(s/footer-b.jpg);
	background-repeat: no-repeat;
	float: left;
	min-height: 43px;
	background-position: top;
	padding-top: 13px;
}
body,td,th {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 12px;
	color: #333333;
}
body {
	background-color: #f6f6f6;
	padding:0;
	bottom:0;
}
#sec-n-m {
	left:211px;
	top:365px;
	width:427px;
	height:51px;
	z-index:8;
	background-image: url(s/second-n-m.jpg);
	background-repeat: no-repeat;
	float: left;
	min-height: 51px;
	overflow: hidden;
}
#sec-n-r {
	left:638px;
	top:365px;
	width:222px;
	height:36px;
	z-index:9;
	background-image: url(s/second-n-r.jpg);
	background-repeat: no-repeat;
	float: right;
	min-height: 51px;
	overflow: hidden;
	padding-top: 17px;
}
a {
	font-size: 12px;
	color: #0066CC;
}
a:link {
	text-decoration: none;
	color: #0077A4;
}
a:visited {
	text-decoration: none;
	color: #0077A4;
}
a:hover {
	text-decoration: underline;
	color: #0099FF;
}
a:active {
	text-decoration: none;
	color: #0077A4;
}
#ajaxSearch_form fieldset{
    border: 0;
}
.clearer { clear:both; }
__________________

Please login or register to view this content. Registration is FREE
-
Please login or register to view this content. Registration is FREE
audiomad is offline
Reply With Quote
View Public Profile Visit audiomad's homepage!
 
 
Register now for full access!
Old 05-03-2009, 01:34 PM Re: design falling a part
LadynRed's Avatar
Defies a Status

Posts: 10,016
Location: Tennessee
Trades: 0
Ok, you're wasting your time with all the z-indexing - it ONLY works on elements that are POSITIONED - it has NO effect on anything else.

IE6 and below does not support min/max width or height.

The top, bottom, left, and right properties will push things around based on an element's parent - so unless you've got your parent-child relationships worked out, using these properties on floated elements isn't your best choice. Use margins and padding to 'push' floated elements around where you want them.

Why do you have overflow:hidden on everything ??
__________________
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 05-03-2009, 01:44 PM Re: design falling a part
GeekSpecialties's Avatar
Super Talker

Posts: 132
Name: Leonard
Location: Minnesota, USA
Trades: 0
You should post a link.
How is it breaking and in what browsers?

For starters some things to check.
Have you cleared you floats? (see stick in this CSS discussion area)
min-height, not supported by IE6 (you have several id's with height specified then in the same id specify a larger min-height)

Reason for layering everything? (z-index)
GeekSpecialties is offline
Reply With Quote
View Public Profile Visit GeekSpecialties's homepage!
 
Old 05-10-2009, 12:15 PM Re: design falling a part
Webmaster Talker

Latest Blog Post:
Sopa, pipa, acta & tpp?
Posts: 749
Name: Barry O' Brien
Location: Ireland
Trades: 0
here is the page please help irlmusic.net/index.php
__________________

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

Last edited by audiomad; 05-13-2009 at 06:26 AM..
audiomad is offline
Reply With Quote
View Public Profile Visit audiomad's homepage!
 
Old 05-10-2009, 01:33 PM Re: design falling a part
fdansv's Avatar
Skilled Talker

Posts: 70
Name: Fran
Trades: 0
Are you using any class??
Remember classes are contained in CSS using periods, like

.classname

I say it because I see only ids (#)
__________________

Please login or register to view this content. Registration is FREE
- Industrial design, web design, packaging and graphic art.

Please login or register to view this content. Registration is FREE
- Collaborative blog in Spanish

Please login or register to view this content. Registration is FREE
fdansv is offline
Reply With Quote
View Public Profile
 
Old 05-10-2009, 02:18 PM Re: design falling a part
Super Moderator

Posts: 1,576
Location: Kokkola, Finland
Trades: 1
and 'Download's' should be 'Downloads'
davemies is online now
Reply With Quote
View Public Profile Visit davemies's homepage!
 
Old 05-10-2009, 02:31 PM Re: design falling a part
Webmaster Talker

Latest Blog Post:
Sopa, pipa, acta & tpp?
Posts: 749
Name: Barry O' Brien
Location: Ireland
Trades: 0
Quote:
Originally Posted by davemies View Post
and 'Download's' should be 'Downloads'
whats that got to do with css?
__________________

Please login or register to view this content. Registration is FREE
-
Please login or register to view this content. Registration is FREE
audiomad is offline
Reply With Quote
View Public Profile Visit audiomad's homepage!
 
Old 05-11-2009, 02:20 PM Re: design falling a part
kcmartz's Avatar
Super Talker

Latest Blog Post:
~Gri to Kcmartz~
Posts: 120
Name: Kenson
Location: Washington, USA
Trades: 0
Your site looks bare, almost nothing on it, like my site right now.
*SORRY FOR BEING OFF TOPIC*
__________________
Thanks,

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
for problems/site.
kcmartz is offline
Reply With Quote
View Public Profile Visit kcmartz's homepage!
 
Old 05-11-2009, 03:35 PM Re: design falling a part
Super Moderator

Posts: 1,576
Location: Kokkola, Finland
Trades: 1
Quote:
Originally Posted by audiomad View Post
whats that got to do with css?
oh sorry - thought you might like to know. It has, of course, nothing to do with css so please just feel free to leave it as it is
davemies is online now
Reply With Quote
View Public Profile Visit davemies's homepage!
 
Old 05-11-2009, 04:23 PM
Webmaster Talker

Latest Blog Post:
Sopa, pipa, acta & tpp?
Posts: 749
Name: Barry O' Brien
Location: Ireland
Trades: 0
Quote:
Originally Posted by kcmartz View Post
Your site looks bare, almost nothing on it, like my site right now.
*SORRY FOR BEING OFF TOPIC*
of course its bare im still working on it!

update : fixed most of it but in IE its off have a look irlmusic.net/index.php any idea's how to fix it?
__________________

Please login or register to view this content. Registration is FREE
-
Please login or register to view this content. Registration is FREE
audiomad is offline
Reply With Quote
View Public Profile Visit audiomad's homepage!
 
Old 05-12-2009, 05:50 PM Re: design falling a part
Webmaster Talker

Latest Blog Post:
Sopa, pipa, acta & tpp?
Posts: 749
Name: Barry O' Brien
Location: Ireland
Trades: 0
Help please
__________________

Please login or register to view this content. Registration is FREE
-
Please login or register to view this content. Registration is FREE
audiomad is offline
Reply With Quote
View Public Profile Visit audiomad's homepage!
 
Old 05-12-2009, 09:06 PM Re: design falling a part
LadynRed's Avatar
Defies a Status

Posts: 10,016
Location: Tennessee
Trades: 0
If you remove the float:right on #content-top, it pulls that section back over and stops pulling the container out of whack.
__________________
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 05-13-2009, 06:23 AM Re: design falling a part
Webmaster Talker

Latest Blog Post:
Sopa, pipa, acta & tpp?
Posts: 749
Name: Barry O' Brien
Location: Ireland
Trades: 0
only problem is everything else falls apart when i do that any idea's?
__________________

Please login or register to view this content. Registration is FREE
-
Please login or register to view this content. Registration is FREE
audiomad is offline
Reply With Quote
View Public Profile Visit audiomad's homepage!
 
Old 05-13-2009, 10:59 AM Re: design falling a part
LadynRed's Avatar
Defies a Status

Posts: 10,016
Location: Tennessee
Trades: 0
Given the mass of <div>s in there, it'll take some time to figure that out. I did notice that you're re-using ID's, which is incorrect. If you want to re-use style rules, make it a class. The one that popped out at me was the #inner ID.
__________________
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 05-18-2009, 06:38 PM Re: design falling a part
Webmaster Talker

Latest Blog Post:
Sopa, pipa, acta & tpp?
Posts: 749
Name: Barry O' Brien
Location: Ireland
Trades: 0
I still hav'nt been able to fix it. I cant figure it out.
__________________

Please login or register to view this content. Registration is FREE
-
Please login or register to view this content. Registration is FREE
audiomad is offline
Reply With Quote
View Public Profile Visit audiomad's homepage!
 
Old 05-18-2009, 07:23 PM Re: design falling a part
LadynRed's Avatar
Defies a Status

Posts: 10,016
Location: Tennessee
Trades: 0
Unfortunately, my pc at home crashed and burned yesterday, so I won't be able to look at it at all - my evenings this week will be spent trying to get the thing working again!
__________________
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
 
Reply     « Reply to design falling a part
 

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