St4nley
Member
- Apr 13, 2013
- 469
- 76
Hey i'm trying to make a top banner with text in it. When i had no text the paddling was perfect size but after i inserted the text it made it much thicker. heres how it is now
i would like the black to much thinner and heres my code
Thanks!
edit: forgot to add picture of what it looks like now
i would like the black to much thinner and heres my code
Code:
body{
background-color:#00FFFF;
margin: 0 auto;
}
.title{
padding:1px;
background-color: #000000;
align:center;
border-radius: 2px;
}
#titletext{
font-size:50px;
font:Times New Roman;
position:center;
left:50px
top:0px;
text-align:center;
text-shadow: #ff0000 20px 30px 2px;
}
btw i have bad name choosing so .title is the black banner and titletext is the text yeah, but whenever i make the paddling a negiative to make the banner thinner it just turns out messed up.
heres my html code if you wanna try and fix it yourself and need to play with it
<html>
<head>
<link rel="stylesheet" type="text/css" href="home.css">
<title>Practice - Home</title>
</head>
<body>
<div class="Title">
<div id="titletext">
<font color="#FFFFFF"><p>Practicing My CSS!</font>
<div id="logo">
<a href=
</div>
</div>
Thanks!
edit: forgot to add picture of what it looks like now