Navigation Bar, Image and outline-Image included | HTML CSS -
i have couple questions (i'm new coding please bare me try , explain problems):
- how can make image below not interfere navigation bar? i've tried various height adjustments , doesn't move.
- how can make text read paragraph aligned right , image lower , left- in other words paragraph , image parallel each other. include javascript?
- i need alignment of h1.
i have used css , html far- i've researched everywhere , can't find solutions. makes hard know want don't know terms used find solutions. appreciated! here css code:
body{ background-color: #2f3a3b; text-align: justify; width: 800px; text-decoration: none; color: white; font-family:'oswald', sans-serif; } ul { display: inline-block; list-style-type: none; margin: 0; padding: 0; overflow: hidden; background-color: #333; position: fixed; top: 0; width: 100%; } li { float: left; } li { display: block; color: white; text-align: center; padding: 14px 16px; text-decoration: none; } li a:hover{ background-color: #111; } h1{ text-align: relative; } .circular--portrait { position: relative; width: 200px; height: 200px; overflow: hidden; border-radius: 50%; } .circular--portrait img { width: 100%; } p{ position:relative; left: 200px; top: 40px; }
html code:
<!doctype html> <html> <head> <title>about eddie munoz</title> <link rel="stylesheet" type="text/css" href="about.css"> </head> <div class="circular--portrait"> <img src="images/idpic.jpg"> </div> <body> <ul> <li><a href="about.html">about</a></li> <li><a href="gallery.html">gallery</a></li> <li><a href="resume.html">resume</a></li> <li><a href="contact.html">contact</a></li> </ul> <div class= "column-one"> <p>eddie munoz has been creating art age of 13. while completing bachelors of applied science in human relations freelancing on side. eddie has created numerous character artists. ljaldjflakjfldjf;lajf;lkjd;</p> </div> <div class="column-two"> <h1>what others saying</h1> <p>"eddie best young talent have had pleasure work with. has great eye detail , finds fun in whatever project given no matter size. eddie strives learn every nuance of 3d gaming tech distributing knowledge once learned. eddie amazing talent bound superstar status." - billy ashlswede, art lead @ riot games</p> <p>"eddie highly valued character artist proficiency in many different modeling programs. dedicated artist helped others , went out of way produce additional assets our game. eddie has not technical, artistic mindset. of these qualities make eddie great asset team." -kyle sarvas, game artist/game designer</p> </div> </body> </html>
i've made 1 change html:
- move
circular--portrait
beforecolumn-one
and several css:
- remove
text-align: relative;
h1
- remove
position: relative;
.circular--portrait
- to
.circular--portrait
set width of 25% , make float left - to
p
descedent of.column-one
make float right , width of 65% (it has bellow 75% float properly) - to
column-two
make float left (also works floating right)
body{ background-color: #2f3a3b; text-align: justify; width: 800px; color: white; font-family:'oswald', sans-serif; } ul { display: inline-block; list-style-type: none; margin: 0; padding: 0; overflow: hidden; background-color: #333; position: fixed; top: 0; width: 100%; } li { float: left; } li { display: block; color: white; text-align: center; padding: 14px 16px; text-decoration: none; } li a:hover{ background-color: #111; } .circular--portrait { margin-top: 50px; width: 200px; height: 200px; overflow: hidden; border-radius: 50%; } .circular--portrait img { width: 100%; } .circular--portrait { width: 25%; float: left; } .column-one p{ width: 65%; float: right; margin-top: 150px; margin-left: 10px; } .column-two { float: left; }
<!doctype html> <html> <head> <title>about eddie munoz</title> <link rel="stylesheet" type="text/css" href="j.css"> </head> <body> <ul> <li><a href="about.html">about</a></li> <li><a href="gallery.html">gallery</a></li> <li><a href="resume.html">resume</a></li> <li><a href="contact.html">contact</a></li> </ul> <div class="circular--portrait"> <img src="http://pngimg.com/uploads/face/face_png5660.png"> </div> <div class= "column-one"> <p>eddie munoz has been creating art age of 13. while completing bachelors of applied science in human relations freelancing on side. eddie has created numerous character artists. ljaldjflakjfldjf;lajf;lkjd;</p> </div> <div class="column-two"> <h1>what others saying</h1> <p>"eddie best young talent have had pleasure work with. has great eye detail , finds fun in whatever project is given no matter size. eddie strives learn every nuance of 3d gaming tech distributing knowledge once learned. eddie amazing talent bound superstar status." - billy ashlswede, art lead @ riot games</p> <p>"eddie highly valued character artist proficiency in many different modeling programs. dedicated artist helped others , went out of way produce additional assets our game. eddie has not technical, artistic mindset. all of these qualities make eddie great asset team." -kyle sarvas, game artist/game designer</p> </div> </body> </html>
Comments
Post a Comment