what's the code to add a css tag into html
tried <div class"allthatstuff">
but cant really get it to work.
my html so far:
my css so far:
the layout im trying to make a website out of, yes it is precut and ready to be coded.
did i forget anything?
what's the code to add a css tag into html
tried <div class"allthatstuff">
but cant really get it to work.
my html so far:
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>Upcomming nova</title>
<link href="stylesheet.css" rel="stylesheet" type="text/css">
</head>
<body>
<div class="top">
</body>
</html>
my css so far:
@charset "utf-8";
top {
background-image:url(../Pictures/ps/nova/header.png);
height:auto;
width: auto;
}
Home {
}
Forums {
}
Donations {
}
Server Information {
}
Staff {
}
the layout im trying to make a website out of, yes it is precut and ready to be coded.
![]()
did i forget anything?
Last edited by Oddy; 06-04-2015 at 06:54 AM.
Former: Habboxlive dj (Oddy), Content designer, Pixel artist, Forum moderator, Forum developer
You've used top as a class attribute, so you'll need to add a dot before "top" in your CSS to make it a class selector, like this:
HTML Code:.top { background-image: url(../Pictures/ps/nova/header.png); height: auto; width: auto; }
ohhhh it worked instantly, thank you Drew![]()
Former: Habboxlive dj (Oddy), Content designer, Pixel artist, Forum moderator, Forum developer
Want to hide these adverts? Register an account for free!