Help - Search - Members - Calendar
Full Version: Css Help ?
Zymic Webmaster Forums > Web Design & Development > Client Side Scripting > HTML and CSS
AcidRoot
I'm making a page on my site for a flash video i made and I'm trying to arrange the video and the title (witch is an image) so be in the middle with css. For some reason when i try this the css does not do anything and the colored background that i set with css doesn't show up either. I am sure this host supports css right? So please help there will be code below and also a link to the page for an example until i fix the problem.
HTML
CODE
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>DanceAThon</title>
<link rel="stylesheet" type="test/css" href="web.css" />
</head>
<body>
<p>
<img src="gfbfn1.png" width="486" height="92" align="middle" />
</p>
<object width="550" height="400">
<param name="movie" value="dat.swf">
<embed src="dat.swf" width="550" height="400">
</embed>
</object>
</body>
</html>



CSS
CODE
object {
position: absolute;
left: 220px;
top: 138px;
}
img {
position: absolute;
left: 223px;
top: 25px;
width: 543px;
}
body {
background-color: #666;
}


page
http://acidroot.vndv.com/DAT/
CSSTest
setting this in your css on the element(s) of your choice should center it on screen.
CODE
margin:0px auto;
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2010 Invision Power Services, Inc.