Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
07-26-2007, 04:54 PM #1
- Join Date
- Jul 2007
- Thanked 0 Times in 0 Posts
Help on creating a simple <Div> please?
Hi, I am trying to code my own myspace layout useing CSS/HTML the link is here.
I need to create a new DIV with a transparent background. See the image i have added for more information.
Im not sure the size the div will need to be.. i think about 150px width and about 300 height im not sure. Can some one please help me create this div? i dont undertand them.
So far i have this.
Im not sure about the leftpx ? is that how far its from the VERY left of the web browser or what?
07-26-2007, 05:57 PM #2
- Join Date
- Jan 2006
- Halle (Saale), Germany
- Thanked 1,011 Times in 984 Posts
You have to give any parent element (probably the best would be the main container)
position: relative;to have best control over how the absolutely positioned element will be positioned.
Apart from that I’ll have to say that Myspace sucks (when it comes to modifying the code) and I’m not gonna waste my afternoon to look into your code and search for the correct element. Maybe someone else has the time and patience to do that.