Jump to content

trying to centre text


Renlok

Recommended Posts

Im working on making a page its http://www.webidsupport.com/index.php# and the problem im having is when you make your browser window quite small the text in the orange box moves to the left hand side. i wanted to  know if anyones knows how i can keep it so its always over the orange box?

 

thanks.

Link to comment
https://forums.phpfreaks.com/topic/187856-trying-to-centre-text/
Share on other sites

I don't see an easy solution to that problem. Why have you laid out your site this way? I don't see the advantage of having your info div come after absolutely everything else. If it was set as a child of div.padding, which is where it 'appears' to be when viewing it through a browser, you could get rid of all that relative positioning and negative margins, and it would stay within that div.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.