vmavrou Posted November 28, 2009 Share Posted November 28, 2009 Hi! i have made this : http://vmavrou.freetzi.com and i have this problem,when you click one of the buttons at the main page,at the second page if you don't view the page full screen and you start to decrease the size of the window, the home button at the right , is overlaying with the text. Any idea of what css script should i use to stop that? Thanks in advance. Quote Link to comment https://forums.phpfreaks.com/topic/183246-pic-overlaying-with-text/ Share on other sites More sharing options...
Maknis Posted November 30, 2009 Share Posted November 30, 2009 Looking at your script you will need to do ALOT first i would say put all your content into a div and use the css: margin: auto 0; or is it margin: 0 auto; im not sure. in yor script you are using css #center to reference to somehing that doesn't exist to reference to a <center> tag you simply use center in your css using a # is refereing to something like <div id='center'> and using a . is to a class <div class='center'> i would use something like.. <html> <head> </head> <body> <div id='page-wrap> <!-- Content in here --> </div> </body> </html> Quote Link to comment https://forums.phpfreaks.com/topic/183246-pic-overlaying-with-text/#findComment-967897 Share on other sites More sharing options...
vmavrou Posted November 30, 2009 Author Share Posted November 30, 2009 hi, thanks for your reply first the #center was going to used for a banner with the repeat function...anyway i didn't used that finally so that' why it was there. the name #center doesn't mean it was for adjusting text, but i removed them. also about the margin: auto 0; i have this : <style type="text/css"> body {margin: 0px; padding: 0px;} </style> isn't the same for the whole body? Quote Link to comment https://forums.phpfreaks.com/topic/183246-pic-overlaying-with-text/#findComment-968284 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.