britt15 Posted March 21, 2006 Share Posted March 21, 2006 How do I add the alignment of my button's Div layer in my css file? If you notice the layer on my site with the buttons, its uneven. Also, when you click on the touch pad in the window on my site, the layer overlaps my layout image. How can I lock the layer so it will stay in place all the time?[a href=\"http://www.tainted-rose.com\" target=\"_blank\"]http://www.tainted-rose.com[/a][code]style.cssbody {background : transparent; margin : 0; text-align : center; color : #ffffff; font-family : Tahoma; font-size : 9px; } a:active, a:visited, a:link {font-family : Tahoma; font-size : 9px; color : #ffffff; text-decoration : none; font-weight : normal; } a:hover {font-family : Tahoma; font-size : 9px; color : #999999; text-decoration : blink; } h1 {font-family : Tahoma; font-size : 9px; text-align : center; font-style : normal;font-weight : bold; color : #ffffff; } textarea, input {color : #ffffff; border : 1px solid #ffffff; font-family : Tahoma; } submit {color : #4e4e4e; border : 1px solid #400000; font-family : Trebuchet MS; font-size : 9px; } [/code] Quote Link to comment https://forums.phpfreaks.com/topic/5396-aligning-div-layer-in-external-css-file/ Share on other sites More sharing options...
moberemk Posted March 21, 2006 Share Posted March 21, 2006 You can use position: absolute, I guess. But in your code, I have to ask, why are you only going for HTML2.0? That came out an eternity ago. Quote Link to comment https://forums.phpfreaks.com/topic/5396-aligning-div-layer-in-external-css-file/#findComment-19296 Share on other sites More sharing options...
britt15 Posted March 21, 2006 Author Share Posted March 21, 2006 The layers already are positioned absolute. Quote Link to comment https://forums.phpfreaks.com/topic/5396-aligning-div-layer-in-external-css-file/#findComment-19325 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.