A Newbie positioning elements, positioning Elements |
A Newbie positioning elements, positioning Elements |
HarryFlex |
Jan 19 2022, 08:25 AM
Post
#1
|
Member Group: Members Posts: 44 Joined: 19-January 22 Member No.: 28,232 |
Hi, I do try to position an article to the top of the webpage, but vertical aligning does not work. How do I get the article pushed upward?
/* article */ article { top: 0px; object-position: 10% 90%; text-align: left; text-color: RGB(89,55,35); position: right; text-asign: justify; border-left:3px solid RGB(89,55,35); border-right:3px solid RGB(89,55,35); width:400px; float:left; padding-left:20px; padding-right:20px; padding-top:10px; margin-right:10px; margin-left:205px; margin-top:-110 px; min-height: 10em; display: table-cell; vertical-align: top; I'm a beginner. Maybe somebody can tell me how the element can be moved above? |
HarryFlex |
Jan 20 2022, 01:51 AM
Post
#2
|
Member Group: Members Posts: 44 Joined: 19-January 22 Member No.: 28,232 |
The html document has a <body> <section> and another <section> and then the article
|
HarryFlex |
Feb 21 2022, 09:09 AM
Post
#3
|
Member Group: Members Posts: 44 Joined: 19-January 22 Member No.: 28,232 |
The html document has a <body> <section> and another <section> and then the article Hi, Inrestarted. I can now positioning the elements. The only thing I wanna change is thevarticle from green into white. Please receive the picture and the .css ! You could not say I didn’t learnt a lot. This post has been edited by HarryFlex: Feb 21 2022, 09:10 AM Attached File(s) Gene.css ( 3.5k ) Number of downloads: 133 |
Lo-Fi Version | Time is now: 27th April 2024 - 03:41 PM |