html/css coding for div overlays. |
html/css coding for div overlays. |
Feb 16 2009, 01:06 AM
Post
#1
|
|
|
Member ![]() ![]() Group: Member Posts: 10 Joined: Feb 2008 Member No: 624,564 |
I design band layouts.
There is a few bands that have asked me to do some sort of DIV OVERLAY code. I tried and it never works in different browsers. Heres a few examples of bands that have this code. (look at the members and info section) http://www.myspace.com/letsgetit http://www.myspace.com/tdwp Basically, I just need some help on how to get a div overlay code (if that is even what it is) to be compatible on all browsers. Thanks :) |
|
|
|
![]() |
Feb 16 2009, 08:20 AM
Post
#2
|
|
|
Treasure Pleasure ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Head Staff Posts: 11,193 Joined: Oct 2005 Member No: 281,127 |
There's the 50% left margin method. Set the left margin to 50% then add a margin-left attribute for precise positioning, like this:
CODE left:50%; margin-left:-#px; Just replace the pound symbol with a specific value according to where you want to place your DIV's. You can remove the minus sign, too, if you want to move the DIV to the right as opposed to the left. That should make it compatible in most, if not all major browsers. |
|
|
|
imasharkbear html/css coding for div overlays. Feb 16 2009, 01:06 AM
emberfly most, if not all of the myspace layouts on this si... Feb 16 2009, 01:14 AM
manny-the-dino Moved to Myspace Support
Take a look at this topi... Feb 16 2009, 01:16 AM
xzkdxrawrx Erm... Do what they said :D
Maybe a link to your c... Feb 16 2009, 02:34 AM
imasharkbear QUOTE(xzkdxrawrx @ Feb 15 2009, 11:34 PM)... Feb 16 2009, 02:51 AM
interpretation Topic Closed, and Moved to Myspace Resolved Topics... Jul 16 2009, 05:27 PM![]() ![]() |