What's new

Help Help sa html

SUNRAI

Eternal Poster
Joined
Feb 1, 2018
Posts
517
Reaction
59
Points
406
Age
23
Paano poba mag lagay ng margin sa gilid sa giling nung division Backround?
 

Attachments

padding-left:10px;
padding-right:10px;

you can put it as inline or in your .css file..

can you also put the code of that html?
 
Paano po kaya ilalagay yung hobbies na text dun sa top right corner
Depende so may question ako sayo,
1. Alam mo na ba yung block and inline elements?
2. Yang hobbies na section last na ba yan? wala kana ba ilalagay sa baba niya?
3. Nakapasok ba sa container ang mga text mo ex. <div>?

Marami kasi pwedeng approach na gawin para magawa ang gusto mo, like css flex, grid or simply inline level elements, pero sa current skill level mo di mo pa yun alam. Pero may mga hotfix pa naman na pwedeng gawin para magawa yan.


16.PNG

CSS:
div {
    border: 2px solid black;
    width:325px;
    height: 100px;
    margin-left: 20px;
}

.one {
    background: lightblue;
    display: inline-block;
}

.two {
    background: lightgreen;
    display: inline-block;
}

.three {
    background: lightyellow;
    margin-top: 25px;
}

.four {
    background: lightgray;
    margin-top: 25px;
}
 

Attachments

Last edited:

Similar threads

Back
Top