Jump to content


Photo

Aligning Div Layer in External CSS File


  • Please log in to reply
2 replies to this topic

#1 britt15

britt15
  • New Members
  • Pip
  • Newbie
  • 5 posts
  • LocationHawaii

Posted 21 March 2006 - 04:53 AM

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]

style.css

body {
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; 
} 

Life is not known, it is experianced.

#2 moberemk

moberemk
  • Members
  • PipPipPip
  • Advanced Member
  • 695 posts

Posted 21 March 2006 - 12:20 PM

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.
Disclaimer: No matter how harsh I may be, I'm always IMO only.

#3 britt15

britt15
  • New Members
  • Pip
  • Newbie
  • 5 posts
  • LocationHawaii

Posted 21 March 2006 - 01:22 PM

The layers already are positioned absolute.
Life is not known, it is experianced.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users