[advanced search]
 

Go Back   NamePros.com > Discussion > Web Design & Development > Programming

Programming PHP, Perl, Ruby on Rails, AJAX, HTML, XHTML, CSS, JavaScript, MySQL and any other coding topics.


Closed Thread
 
LinkBack Thread Tools
Old 12-30-2006, 10:41 AM   #1 (permalink)
Munky Designs
 
Join Date: May 2005
Posts: 997
417.00 NP$ (Donate)

Albino is a jewel in the roughAlbino is a jewel in the roughAlbino is a jewel in the rough


css layout problem 100NP$ for help!

pretty much, I am an idiot. I forgot to test it in IE until It was too late.

Can anyone have a look and see if they can fix it? in the attatchment are the images, the css, the actual page, and also a jpg of how the divs are layed out.

ignore the really bad usuage of class's and id's haha.

thanks to anyone that can help! I might throw some more NP$ in depending on the speed/explanation etc!
Attached Files
File Type: zip BOM TEST IE.zip (41.9 KB, 5 views)
Albino is offline  
Old 12-30-2006, 12:38 PM   #2 (permalink)
NamePros Regular
 
Join Date: Mar 2006
Location: United Kingdom
Posts: 344
482.75 NP$ (Donate)

lee101 is a jewel in the roughlee101 is a jewel in the roughlee101 is a jewel in the rough


I was just wondering if it should look as it does in FF, as i see a strip of the background colour there, and was just wondering wheather or not it should be there

edit:
Here's a bit of an updated css file, it looks better in IE but there is an issue with FF now, although neither work great
Code:
body{
text-align:center;
background-color:#4D4747;
padding:0px;
margin:0px;
}


#container{
margin-left:auto;
margin-right:auto;
width:889px;
overflow:hidden;
}


	.leftcol{
	float:left;
	width:686px;
	margin:0px;
	padding:0px;
	}
		
		.banner{
		float:left;
		width:686px;
		height:175px;
		background-image:url(images/banner.gif);
		}
		#leftcontainer{
		float:left;
		width:158px;
		margin:0px;
		padding:0px;

		}
			#leftcontainer .leftcoltop{
			height:7px;
			width:158px;
			background-image:url(images/left_col_top.gif);
			background-repeat:no-repeat;
			}
			#leftcontainer .menu{
			float:left;
			width:158px;
			background-image:url(images/menu_main.gif);
			padding:0px;
			height:auto;

			}
		.main{
		float:left;
		padding-right:7px;
		padding-left:5px;
		width:528px;
		background-image:url(images/main_back.gif);
		padding-bottom: 20010px;  /* X + padding-bottom */
		margin-bottom: -20000px;  /* X */
		}
		
		
	.rightcol{
	float:left;
	width:203px;
	background-image:url(images/side_back.gif);
	padding-bottom: 20010px;  /* X + padding-bottom */
	margin-bottom: -20000px;  /* X */
	}
	
		.rightcoltop{
		float:left;
		width:203px;
		height:5px;
		background-image:url(images/right_col_top.gif);
		background-repeat:no-repeat;
		}
	
		.rightcoltitle{
		float:left;
		width:196px;
		height:21px;
		padding:8px 0px 0px 7px; 
		background-repeat:no-repeat;
		font-family: sans-serif;
		font-size:14px;
		background-image:url(images/side_title.gif);
		}
		.rightcolfiller{
		float:left;
		width:196px;
		height:12px;
		}
	

/* Overall Footer */
.footer{
	float:left;
	font-size:11px;
	line-height:20px;
	color:#FFFFFF;
	font-family:Arial, sans-serif;
	width:889px;
	height:20px;
	background-image:url(images/footer.gif);
}
__________________
http://bypasstopsite.com - Submit your proxy!
http://biggertwitter.com - Make twitter a bit bigger!
Currently Developing - Linux Screenshots

Last edited by lee101; 12-30-2006 at 12:56 PM.
lee101 is offline  
Old 12-30-2006, 01:58 PM   #3 (permalink)
Munky Designs
 
Join Date: May 2005
Posts: 997
417.00 NP$ (Donate)

Albino is a jewel in the roughAlbino is a jewel in the roughAlbino is a jewel in the rough


hey, Ill check that out.

yea, it looks how it should in FF, if you mean the strip through the left hand side, that is supposed to be there

ok, Ive done it.

I had to change my layout slightly, and use a "_" hack but it is complete and works fine

the reason I had to use the "_" hack, was because ie decided to add a 12px gap under one of my divs, and I can see no reason for this? confusing. thanks anyway lee, some np$ your way for helping
Albino is offline  
Closed Thread


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

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 On
Pingbacks are On
Refbacks are On


Site Sponsors
Advertise your business at NamePros

All times are GMT -7. The time now is 12:50 AM.


Powered by: vBulletin® Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0
Template-Modifications by TMS
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85