Talk About Network

Google





Software > Macromedia Dreamweaver > simple div ques...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 4 Topic 98342 of 99640
Post > Topic >>

simple div question

by "bcovalt" <webforumsuser@[EMAIL PROTECTED] > Nov 18, 2008 at 03:13 AM

This has got to be simple, but for some reason I can't get it to work.

 I just want to center my div, which I'll later be putting content in.
 Shouldn't I just be able to create a .css for it and in there specify to 
center the text?
 I can't even position it though.  I tried pu****ng it 100px on the left,
and it 
does nothing.
 What am I missing?


 <link href="showStyle.css" rel="stylesheet" type="text/css" />
 </head>

 <body>
 <div id="movie"> </div>
 </body>
 </html>


 My .CSS sheet:

 @[EMAIL PROTECTED]
 "UTF-8";
 #movie {
 	background-color: #000000;
 	width: 720px;
 	height: 540px;
 	text-align: center;
 	left: 100px;
 }
 body {
 	margin: 0px;
 	padding: 0px;
 }
 




 4 Posts in Topic:
simple div question
"bcovalt" <w  2008-11-18 03:13:45 
Re: simple div question
"malcster2" <  2008-11-18 08:49:46 
Re: simple div question
"bcovalt" <w  2008-11-19 08:57:13 
Re: simple div question
"Murray *ACE*"   2008-11-19 07:08:45 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
localhost-V2008-12-19 Wed Jan 7 18:14:40 PST 2009.