You posted some CSS and gave us a very vague [i]it doesn't work[/i]. What do you expect us to do?
How about posting your HTML?
[QUOTE=CarLuver69;51484619]How about posting your HTML?[/QUOTE]
<header>
<center>
<img src="https://yt3.ggpht.com/-GLheCvmIUkA/AAAAAAAAAAI/AAAAAAAAAAA/xpyS1MMIdrM/s100-c-k-no-mo-rj-c0xffffff/photo.jpg">
<h1>Zlzrds Website!</h1>
<a href="https://www.youtube.com/channel/UCxsQqaJIsDnAEJw-7zB2FCg"> <p> Click me!</p> </a>
<p>To zlzrd's website let me start by introducing myself. Im a genral youtuber. Some things i do on my channel are...</p>
<ul>
<li>Vlogging</li>
<li>Gaming</li>
<li>Coding</li>
<li>Tutorials</li>
<li>And More</li>
</ul>
<h1>Thats it!</h1>
</center>
</header>
<body>
<center>
<h1>----------Also here is a video :)----------</h1>
<iframe width="530" height="320" src="https://www.youtube.com/embed/6htJ6HGJYAA" frameborder="0" allowfullscreen></iframe>
<h1>--------------------------------------------------</h1>
</center>
</body>
Please put your code in [code][/code] tags.
You posted your code, but I still don't know what issue you're having.
Where's your <head> tag? Why is <header> outside of <body>? It's no wonder this doesn't work...
[QUOTE=Nookyava;51484635]Please put your code in [code][/code] tags.
You posted your code, but I still don't know what issue you're having.[/QUOTE]
my css code is affecting my code or styling my code
css code:
body {
background-color: lightblue;
}
h1 {
color: white;
text-align: center;
}
p {
font-family: verdana;
font-size: 20px;
}
Html code:
<header>
</header>
<head>
</head>
<center>
<img src="https://yt3.ggpht.com/-GLheCvmIUkA/AAAAAAAAAAI/AAAAAAAAAAA/xpyS1MMIdrM/s100-c-k-no-mo-rj-c0xffffff/photo.jpg">
<h1>Zlzrds Website!</h1>
<a href="https://www.youtube.com/channel/UCxsQqaJIsDnAEJw-7zB2FCg"> <p> Click me!</p> </a>
<p>To zlzrd's website let me start by introducing myself. Im a genral youtuber. Some things i do on my channel are...</p>
<ul>
<li>Vlogging</li>
<li>Gaming</li>
<li>Coding</li>
<li>Tutorials</li>
<li>And More</li>
</ul>
<h1>Thats it!</h1>
</center>
<body>
<center>
<h1>----------Also here is a video :)----------</h1>
<iframe width="530" height="320" src="https://www.youtube.com/embed/6htJ6HGJYAA" frameborder="0" allowfullscreen></iframe>
<h1>--------------------------------------------------</h1>
</center>
</body>
Your whole code is a mess, how the fuck do you even load that CSS code?
--
[QUOTE=%%;51484767]thats a very helpful thing to say to someone who's obviously new to html/css[/QUOTE]
Because learning the basics is something you can totally skip at the beginning
Hey man welcome to the world of web development, there is allot of shit to learn but you need to start learning to write clean code.
Learn what Html5 is and how to write it and after that start learning css after you got those two down start using java script and jquery and pickup a framework like bootstrap.
After you have built a site or two using those learn Sass(preferred) or less and figure out how the frameworks work and how you could make it your self.
Then get lost in the thousands of diffrent FRAMEWORKS COMING UP EVERY FUCKING DAY :nope:
Not going to do anywork on your code other than somewhat format it at midnight, Goodluck!
[html]
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title></title>
<style media="screen">
body {
background-color: lightblue;
}
h1 {
color: white;
text-align: center;
}
p {
font-family: verdana;
font-size: 20px;
}
</style>
</head>
<body>
<img src="https://yt3.ggpht.com/-GLheCvmIUkA/AAAAAAAAAAI/AAAAAAAAAAA/xpyS1MMIdrM/s100-c-k-no-mo-rj-c0xffffff/photo.jpg">
<h1>Zlzrds Website!</h1>
<a href="https://www.youtube.com/channel/UCxsQqaJIsDnAEJw-7zB2FCg"> <p> Click me!</p> </a>
<p>To zlzrd's website let me start by introducing myself. Im a genral youtuber. Some things i do on my channel are...</p>
<ul>
<li>Vlogging</li>
<li>Gaming</li>
<li>Coding</li>
<li>Tutorials</li>
<li>And More</li>
</ul>
<h1>Thats it!</h1>
<h1>----------Also here is a video :)----------</h1>
<iframe width="530" height="320" src="https://www.youtube.com/embed/6htJ6HGJYAA" frameborder="0" allowfullscreen></iframe>
<h1>--------------------------------------------------</h1>
</body>
</html>
[/html]
Codeacademy will help you learn the basics :) [url]https://www.codecademy.com/[/url]
Learn what divs are.
Sorry, you need to Log In to post a reply to this thread.