+ 1
Define body{} width and height?
I am starting a webpage. Presently, my webpage looks like the standard of 2003 at best. What can i do to make it look less like a banner? Do I set width for whole <html> or only <body>? Should sections be block level? https://code.sololearn.com/WX42W7vPVGD3/?ref=app
5 Respuestas
+ 2
Would be interesting make a div to set width, not set width on body tag.
You can do this on style tag:
#center {
position: relative;
margin: 0 auto;
width: YOUR-WIDTHpx;
}
and apply this inside body tag:
<div id="center">
Content
</div>
it will let the content of your webpage centralized and with the width that you want.
I hope that it can help you!
+ 1
also try using rgb or hexadecimal colors that cordinate.
I have seen many a great website suffer from bad color choices
+ 1
I reviewed the lesson on "position" and realized I didn't really need it anywhere in my code... I made some changes. thanks everyone! Now just why is my paragraph not showing up. :(
0
Start to remove that fixed position to body.... For me your make unuseful use of positioning
0
Joshua Morgan I think that you refer to <div> block.... Hint: Check the previous <iframe> tag. Its closed good? 😉