Sciisere2
08-04-2011, 11:13 AM
Ok so I have made quite a few websites by modifying templates and such but I thought for once I would have a go at making one from scratch. I will admit however that it has been about 6 months since I did any coding so it is probably a stupid mistake.
Basicly I am using dreamweaver and I have written my code and in the liddle preview box everything looks ok. From top to bottom it is 'title' then 'image fader' but for some reason when I save and preview it it puts them the opposite way around.
html
<!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=iso-8859-1" />
<title>Untitled Document</title>
<LINK REL=StyleSheet HREF="style.css" TYPE="text/css" media="screen"/>
</head>
<body>
<div id="header">
<p> Testtext title probz will end up a picture<br />
_____________________________________________<br />
Where my css menu will go
</p>
</div>
<div id="imgbox">
<p>
This is where my Image fader thing will go
</p>
</div>
</body>
</html>
css
/* CSS Document */
body {
font-size:100%;
font-family:'century gothic' ;
text-align:left;
background:#ffffff;
}
#header {
height:66px;
width:80%;
background:#FFFFFF;
margin:0 auto 0 auto;
position:fixed
}
#imgbox {
height:66px;
width:80%;
background:#FFFFFF;
margin:0 auto 0 auto;
position:fixed;
I realise there isnt alot of code because I wanted to sort this and i have been battling with it a few hours now. Any help or explanation would be appreciated. Thanks
Basicly I am using dreamweaver and I have written my code and in the liddle preview box everything looks ok. From top to bottom it is 'title' then 'image fader' but for some reason when I save and preview it it puts them the opposite way around.
html
<!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=iso-8859-1" />
<title>Untitled Document</title>
<LINK REL=StyleSheet HREF="style.css" TYPE="text/css" media="screen"/>
</head>
<body>
<div id="header">
<p> Testtext title probz will end up a picture<br />
_____________________________________________<br />
Where my css menu will go
</p>
</div>
<div id="imgbox">
<p>
This is where my Image fader thing will go
</p>
</div>
</body>
</html>
css
/* CSS Document */
body {
font-size:100%;
font-family:'century gothic' ;
text-align:left;
background:#ffffff;
}
#header {
height:66px;
width:80%;
background:#FFFFFF;
margin:0 auto 0 auto;
position:fixed
}
#imgbox {
height:66px;
width:80%;
background:#FFFFFF;
margin:0 auto 0 auto;
position:fixed;
I realise there isnt alot of code because I wanted to sort this and i have been battling with it a few hours now. Any help or explanation would be appreciated. Thanks