hi,

I have this css code

#leftcol { 
	position:relative;
	top:-10px;
	left:-10px;
	float:left;
	width:220px;  
	voice-family: "\"}\"";
	voice-family:inherit;
	width:200px; 
	margin:0 0 -10px 0;
	padding:10px;
	background:#FFFFFF;
	z-index:100;
	}
#rightcol {
	position:relative;
	top:-10px;
	right:-10px;
	float:right;
	width:220px;  
	voice-family: "\"}\"";
	voice-family:inherit;
	width:200px;
	margin:0 0 -10px 0;
	padding:10px;
	background:#FFFFFF;
	z-index:99;
	}
#centercol {
	position:relative;
	padding:0 240px;
	}

basically they are all aligned...

i want the space between left menu/col and centercol to be less. but it is giving me headache. i tried padding-right.

but it doesnt work help please

Recommended Answers

All 2 Replies

Perhaps adjusting the margin attribute could help, for example if your left column had something like "margin-right: 10px;"

Negative margin values are nonstandard, and can fail.

The capital letters in the color definition may be causing Firefox to throw out the style.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.