Button Styling
I want a see through button with a red border and text in the middle and all of the buttons the same width and the text in them centered. Then when u hover over it it fills it red and the text turns white
33 Replies
thats the html
remove the <br> tags from the div with class button, then do this
when i want the cursor to be the hand with the finger sticking out do i just put cursor: pointer; to the .button one
or only to the hover
dw i resolved it
to the hover works fine for me
thank you
glad to help!
ive made it listed ima go back to transparent though
bc i ruined it
only issue is this
i could add one of those bars where its like page 1 2 3 4 5 ect
would that resolve it
are you ever going to have that many buttons? But yes, that would solve it. It's called pagination, and it's probably best to look up a tutorial for that. Keep in mind though that it's going to involve javascript
it depends on how many songs i write
eventually
but ill ask when we get there lol
Now i gotta work on the bit i was dreading the most lmao
1 more thing how do i add links to the buttons i forgot
you shouldn't use buttons to link to other pages, those should be anchor tags (<a href...)
as in so u click it and it loads a new page
buttons are for actions on the same page
like from my files
or for submitting forms
what
no way
did i use href for my nav bar?
yeah
oh yeah
shi
so i need to do that code u showed me
but how would i do it for the href
you can probably just replace the <button> with <a href="#"> (the # can work as a placeholder, though you shouldn't put that through to production) and </button> with </a>
Ive done this
but how would i do the css so it looks the same as it did just for the href
I'm not great at picturing html and css without having it in my browser, but I'm guessing the text is blue and underlined?
yeah
try that
are you looking at these and trying to understand what they're doing btw, or just copy/pasting?
im trying to learn while reading it
and im understanding alot of it
and being able to implement it to other parts of my code
good! 🙂
its my way of learning lol
then i use it so much times it gets cemented in my head
this is so cool
Ive learnt so much today!
looks good!
i managed to use a subdomain aswell
so when its done i can use that
ik sudomains arent the best but theyre a good replacement if u dont have money for a website
thanks so much for the compliment
Yo @Jochem this is the website so far https://rlsp00kytestweb.netlify.app/
looks good, good job on getting it deployed!
Its only a test one atm
U done most of the work lol
Wont have to ask as much next time though
Yo i put my #SEARCH BAR (the thing ive been dodging) in front end is that correct
Looking at trying to make the discord and twitch tabs look neater I dont know how tho
Im very stupif
resolved