0
Guys please help. How do I make a text using html be in the middle of a backgroud.
Not at the top center but in the middle of a background. And how to creat a button that directs to another page. Please help
12 Answers
+ 4
Firstly
html, body{
height:100%}
ThenJust put the text in a div and apply css
#txtDiv{
height:100%
top:50%;
bottom:50%;
left:50%;
right:50%;}
+ 1
If you want text in background you can postion it in middle by using position/margins/paddings
To push them in background you can use z-index .
For redirect button
<button><a href="anotherpageurl.html" >another page</a></button>
+ 1
Thanks
+ 1
Hello. How do I start coding on the new linked page. I am have a lot of trouble doing it. I have done as you said and gotten into another page so then how do I start coding that page
+ 1
I have three page and I link them in a page
You can check those three webpages in my codes separately.
https://code.sololearn.com/Wyt9o9r1Y7tR/?ref=app
+ 1
what is gone wrong!
"in the middle of the background"
I think the user is about opacity of the text. Yeah!?
if so use style for div!
or share us your code
0
See you not have to link a new page and then code one using other.
You have to just code two html pages let say index.html and demo.html and then link them.
0
Can you show me an example
0
Thats good so how did u make this url WBwudaYrf7gi/?ref=app" code
0
Go to your code
Click on share symbol (somewhat like this <).
And then choose copy to clipboard from share options.
Paste it where ever you want.
0
Thanks
0
I expect to see your that code in this post.