Current location: Hot Scripts Forums » General Web Coding » CSS » BC problem


BC problem

Reply
  #1 (permalink)  
Old 09-19-08, 06:40 AM
MissEngineer MissEngineer is offline
New Member
 
Join Date: Sep 2008
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
BC problem

BC is a business Card i couldn't find a better name for the topic

i am simulating a BC By css and i have a problem
it is that "the inner div s don't feel the Outer one except for the font size
it dont feel the color or even the dimension which is the most important "



this is this is HTML
Code:
<body>
<div id='bcbody' >
	<div id= 'header'>
			something important<br />
			<img src= 'photo' alt='personal photo'/>
	</div>
	<div id= 'body'>
			contact name	<br />
			    Job
	</div>
	
	<div id= 'footer'>
			teleNo:<br />
			mobNo:<br />
			address:<br />
			otherdata:<br />
	</div>
</div>

</body>

and here is My css

Code:
div#bcbody {
	 	background-image : url('bcbg.gif')  repeat-x; fixed
		color :#ffffff;
		border: 2px red ;
		width:700 px;
		height: 700 px;
		font-family: serif;
		font-size: 18px;
		display : block;
		margin: 0 auto 0 auto
	}
	
	
div#header {
	float :left;
	margin:12 px;
	text-align: left;
	clear : right ;
	color :
}


div#body {
	float :left ;
	margin:30;
	padding: 20;
	text-align: center;
	letter-spacing: 1.5 em;
	word-spacing: 2 em ;
	clear : left;
	clear : Right;
	font-size: 24px;
	color :
}


div#footer {
	float :right ;
	margin:12 px;
	text-align: left;
	clear : left;
	color :
	
}

thanks in advance
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #2 (permalink)  
Old 09-20-08, 12:45 AM
phragg phragg is offline
New Member
 
Join Date: Sep 2008
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Your style is very.. Unique. I don't see why you use single quotes vs. double and also spacing in CSS is inconsistent, I suppose that won't take effect to this problem. However, you also don't need to specify each div ID in your CSS as "div#id" putting the '#' already tells the CSS file it's an ID.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #3 (permalink)  
Old 09-20-08, 10:37 AM
MissEngineer MissEngineer is offline
New Member
 
Join Date: Sep 2008
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
thanks for replying me ,
i used single Quotes in php, because html is a string inside " " instead of escaping
and yes I should be more careful with spacing and right techniques

thanks aGain
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
Reply

Bookmarks


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

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 Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Pls help website problem! iangarrinud CSS 1 01-03-08 02:48 PM
login, roles problem dbrook007 ASP.NET 10 11-10-06 04:42 PM
Form Display Problem neevrap02 Visual Basic 1 09-05-06 06:18 AM
Count problem kasic ASP.NET 1 10-20-04 01:23 AM
Asp and Microsoft Access 2002 problem gop373 ASP 2 10-06-04 10:13 AM


All times are GMT -5. The time now is 08:12 AM.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.