View Single Post
ישן 28-10-08, 15:50   # 16
Hezi & BomBas
חבר בקהילה
 
מיני פרופיל
תאריך הצטרפות: May 2008
הודעות: 325
שלח הודעה באמצעות ICO אל Hezi & BomBas שלח הודעה באמצעות MSN אל Hezi & BomBas

Hezi & BomBas לא מחובר  

אה סליחה.

בקשר להגדרת הרוחב , לכל DIV יש רוחב אחר , אך לכולם אותו CLASS . מה לעשות?

להוסיף פשוט ב STYLE של אותו DIV אם זה רוחב אחר?

אני אנסה , תודה.

עריכה:
הגדרתי ל BLOCK רוחב , עדיין לא השתנה.
זה ה CSS שלי (הורדתי את הרוחב, זה עשה בעיות וזה גם לא דינאמי..)
HTML קוד:
<style type="text/css">
html,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,fieldset,input,textarea,p,blockquote,th,td {	
	margin:0;
	padding:0;
}
table {
	border-collapse:collapse;
	border-spacing:0;
}
fieldset,img {
	border:0;
}
address,caption,cite,code,dfn,em,strong,th,var {
	font-style:normal;
	font-weight:normal;
}
ol,ul,li {
	list-style:none;
	list-style-type:none;
}
caption,th {
	text-align:left;
}
h1,h2,h3,h4,h5,h6,th,td {
	font-size:100&#37;;
	font-weight:normal;
}
q:before,q:after {
	content:\'\';
}
abbr,acronym {
	border:0;
}
	body
	{
		background: #2d2d2d;
		font-family: arial, verdana, tahoma;
		font-size: 10pt;
		font-weight: normal;
		margin:0;
		padding:0;
	}
	a
	{
	text-decoration: none;	
	}
	input
	{
		font-family: arial, verdana;
		font-size: 10pt;
	}
	.wrapper
	{
		width: 960px;
		margin: 20px auto auto auto;
	}
	#logo
	{
		width: 279px;
		height: 115px;
		float: left;
	}
	.block
	{
		background: #161616;
		padding: 5px;
		color: #FFF;
	}
	#menu2 a
	{
		color: #000;
	}
		#menu a
	{
		color: #FFF;
	}
	</style>

Last edited by Hezi & BomBas; 28-10-08 at 16:04..
  Reply With Quote