Hey Epvper
Hab da ein kleines problem ich möchte das mein Background auf der seite halb schwarz und halb weiß ist.. das habe ich soweit hin bekommen mit..
so dies sollte eig nur die height von 150px haben und danach wieder komplett weiß..
[Only registered and activated users can see links. Click Here To Register...]
Mfg DerSaboteur
€dit: HTML und CSS code bisher
HTML :
CSS:
Hab da ein kleines problem ich möchte das mein Background auf der seite halb schwarz und halb weiß ist.. das habe ich soweit hin bekommen mit..
Code:
body {
background: linear-gradient(90deg, white 50%, black 50%);
}
[Only registered and activated users can see links. Click Here To Register...]
Mfg DerSaboteur
€dit: HTML und CSS code bisher
HTML :
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>Thomas-Photography</title> <link href="css/style.css" rel="stylesheet" type="text/css" /> </head><body> <div id="wrapperarea"> <div id="header"> <a href="index.htm"><img src="img/header.png" alt="img_header" /></a> </div> </div> </body></html>
Code:
@charset "utf-8";
* {
margin: 0px;
padding: 0px;
font-family: Georgia;
font-size: 12px;
line-height: 1.5;
}
body {
background: linear-gradient(90deg, white 50%, black 50%);
}
#wrapperarea {
width: 1017px;
margin-right: auto;
margin-left: auto;
}
#wrapperarea #header {
height: 750px;
}