-
beginning creating website
HTML <!DOCTYPE html> <head> <title>Ask Smartphones - review phones that no or little reviews</title> <link rel="stylesheet" type="text/css" href="css/reset.css"> <link rel="stylesheet" type="text/css" href="css/style.css"> </head> <!--begin top--> <body> <div id="wrapper"> <header> <div id="menu"> <p>Ask AP</p> <li><a href="blog.html">Blog</a></li> <li><a href="forums.html">Forums</a></li> <li><a href="index.html">Search</a></li> </div> </header> <div id=container class="content"> <img src="images/Icontelephone.png" alt="click here to search"> </div> </div> </body> </html> CSS #wrapper { width:990px; } body { background-color:#fff; } #menu { height: 78px; width:990px; } #menu p { font-size:4.125em; float:left; margin: 0 20px; color: #000000; } #menu a { text-decoration:none; color: #000000; padding-top:16px; } #menu li { float: right; /* floats to the right */ list-style-type: none; /* gets rid of bullets */ margin: 0 20px; /* change this to increase/decrease gap between nav links */ margin-top: 20px; font-size: 2.375em; } #container { width: 990px; border-top: 15px solid #000000; padding: 10px; } #container img { float:right; padding:30px; } .content { margin-top: 30px; }
-
beginning creating website
Can't really estimate. Maybe 10%? I never took any classes. Learn it all by myself.
-
beginning creating website
Oh...I didn't notice that the unwanted boxes...
-
beginning creating website
here is the link that I saw "How to Design and code a flexible website" for the divs Do I really need to reset css? because it mess up my layout... and when I use the reset.css, it makes a red box on top...
-
beginning creating website
Do you know any software that can help me get the width and height easily besides Photoshop?
-
beginning creating website
I don't understand why when I set background colour in body (in css) and it still applies even everything is not in the <body></body>
-
beginning creating website
I changed it and some of it works. HTML <!DOCTYPE html> <head> <title>Ask Smartphones - review phones that no or little reviews</title> <link rel="stylesheet" type="text/css" href="css/main.css"> </head> <!--begin top--> <header> <div id="menu"> <p>Ask AP</p> <li><a href="index.html">Search</a></li> <li><a href="index.html">Forums</a></li> <li><a href="index.html">Blog</a></li> </div> </header> <div class="content"> <img src="images/Icontelephone.png" alt="click here to search"> </div> <div id="body"> </div> CSS body { background-color:#3366CC; margin:10px; position: center; } #menu { height: 78px; width:990px; } #menu p { font-size:4.125em; } #menu a { text-decoration:none; padding-top:16px; font-size: } #menu li { float: right; /* floats to the right */ list-style-type: none; /* gets rid of bullets */ margin: 0 20px; /* change this to increase/decrease gap between nav links */ font-size: 2.375em; } .content { margin-top: 30px; } But when I try to have my logo and the menu have different font size, it increases each other instead of itself. If I use <p></p>, they are not aligned...
-
beginning creating website
Here is my codes <!DOCTYPE html> <head> <meta charset="utf-8"> <title>Ask Smartphones - review phones that no or little reviews</title> <meta name="description" content="Smartphones review site"> <link rel="stylesheet" type="text/css" href="css/main.css"> </head> <!--begin body--> <body> <div class="logo"> <a href="index.html">Ask SP!</a> </div> <div class="menu"> <ul id="menu" class="container"> <li><a href="index.html">Search</a></li> <li><a href="index.html">Forums</a></li> <li><a href="index.html">Blog</a></li> </ul> </div> <div class="content"> <img src="images/Icontelephone.png" alt="click here to search"> </div> </body> CSS body { background-color:#3366CC; margin:10px; } .menu { color:#000000; height: 78px; width:990px; } .menu logo{ float:left; overflow: hidden; margin: 60px; } .menu a { color:#ffffff; margin-top: 60px; padding:auto; float:right; } .content { margin-top: 30px; }
-
beginning creating website
I do read other people's codes, but it doesn't seem to be helping me on planning my own codes...
-
beginning creating website
I'm not new to HTML and CSS, but I am new to making my own website. Do most people start of with a simple website template and create from scratch later? Because I tried create from scratch and I have no idea how to plan the codes. When to use different tags...Is it because I do not have enough knowledge on both HTML and CSS?
-
Odd News London
Guess this happens when people do not care for the others lol
-
Intro with a question
Hi, my name is Gemichi. I have learn HTML and CSS before, but not very detailed learning. So my first question is, how to plan for the HTML and CSS codes? I saw other templates and they are all well planned...is it because I don't have enough knowledge about the codes? thanks