/    Sign up×
Community /Pin to ProfileBookmark

Newbie with some questions

Hi there!

I am learning to make webpages for like 2 months, and i got the point when i have to style my web page,and god its dammn hard xD

I am making a drum customization app/webpage to aplly my knowledge on JS,,Angular, HTML and CSS. I got to the point when the more i change, the uglier the site gets.

So i have some questions that i would like to place here:

1- lets say i have one div with a button in it. How can i make that,for exemple, the padding that i am placing is for that div and not for the web page?

2- I have a angular grid with some angular tab, and when i place the with of the tab like 1000px, the tab dont change, like its strick to something.

3- I have a toolbar with some text in it, how can i make that the text on mobile mode view stays the same aspect ratio. BEcause when i change to mobile view the text continues with the same size, and get out of the toolbar.

4- what tips can u guys give me, so that my web page doesnt look like from 1990 xD

to post a comment
CSS

3 Comments(s)

Copy linkTweet thisAlerts:
@SempervivumMay 22.2020 — 1- lets say i have one div with a button in it. How can i make that,for exemple, the padding that i am placing is for that div and not for the web page?[/quote]Assign an ID to that div and style the div according to that ID:
div#the-id-of-that-div {
/* your styles here */
}


3- I have a toolbar with some text in it, how can i make that the text on mobile mode view stays the same aspect ratio. BEcause when i change to mobile view the text continues with the same size, and get out of the toolbar.[/quote]Difficult to answer without viewing the code of that toolbar.
Copy linkTweet thisAlerts:
@NogDogMay 22.2020 — > @CarsonGrey#1618702 lets say i have one div with a button in it.

If that button is the _only_ thing in that div, consider getting rid of the div and just applying an ID/class and style to the button itself, avoiding "divitis" where possible. ;)
Copy linkTweet thisAlerts:
@CarsonGreyauthorMay 23.2020 — > @CarsonGrey#1618702 Hi there!
>
> I am learning https://testmyspeed.onl/ https://solitaire.onl/ http://essaywriter.fun/ to make webpages for like 2 months, and i got the point when i have to style my web page,and god its dammn hard xD
>
> I am making a drum customization app/webpage to aplly my knowledge on JS,,Angular, HTML and CSS. I got to the point when the more i change, the uglier the site gets.
>
> So i have some questions that i would like to place here:
>
> 1- lets say i have one div with a button in it. How can i make that,for exemple, the padding that i am placing is for that div and not for the web page?
>
> 2- I have a angular grid with some angular tab, and when i place the with of the tab like 1000px, the tab dont change, like its strick to something.
>
> 3- I have a toolbar with some text in it, how can i make that the text on mobile mode view stays the same aspect ratio. BEcause when i change to mobile view the text continues with the same size, and get out of the toolbar.
>
> 4- what tips can u guys give me, so that my web page doesnt look like from 1990 xD


thank you my issue has been solved
×

Success!

Help @CarsonGrey spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 4.25,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,

tipper: @Samric24,
tipped: article
amount: 1000 SATS,
)...