Text always in the center of the screen

S

salonowiec

Maybe it's simple: I want my small text to always stay in the center of the
page (specifically: it's a large picture and the text is the picture name),
no matter how I shift the picture.
Thank you...
 
D

dorayme

"salonowiec said:
I want my small text to always stay in the center of the
page (specifically: it's a large picture and the text is the picture name),
no matter how I shift the picture.


What do you mean by center? In relation to width of browser viewport or
height or both? What has the picture got to do with the matter if you
want the text to be independent of the picture?
 
S

salonowiec

Uzytkownik "dorayme said:
What do you mean by center? In relation to width of browser viewport or
height or both? What has the picture got to do with the matter if you
want the text to be independent of the picture?

In relation to both... I'm sorry, looks like I found the solution, it's
"Position: fixed"...
Thank you.
 
T

Travis Newbury

In relation to both... I'm sorry, looks like I found the solution, it's
"Position: fixed"...

This sounds like a future candidate for worst website...
 
R

rf

salonowiec said:
In relation to both... I'm sorry, looks like I found the solution, it's
"Position: fixed"...

No, you have not found the solution, not at all.

What if I change the width or height of my browser window? Have you tested
your "solution" while doing this?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,768
Messages
2,569,574
Members
45,048
Latest member
verona

Latest Threads

Top