Banner at top |
![]() ![]() |
Banner at top |
Oct 16 2006, 10:09 PM
Post
#1
|
|
![]() I listen to bands that don't even exist yet... ![]() ![]() ![]() ![]() ![]() Group: Member Posts: 330 Joined: Sep 2005 Member No: 249,189 |
I want a banner tha goes below the navigation but about the profile. I saw it on this profile but I can't duplicate the effects.
Please don't just go to the script secion and give me that one. That script puts the image above the navigation. Does this only work on music profile or could I do it? |
|
|
|
Oct 16 2006, 10:24 PM
Post
#2
|
|
|
t-t-t-toyaaa ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Official Member Posts: 19,821 Joined: Apr 2004 Member No: 11,270 |
It might be only for music sections, because there was one for normal profiles but it constantly dupliacted the image (made it repeat) . If you want to try it , I can probably hunt the code down for you.
|
|
|
|
Oct 16 2006, 10:33 PM
Post
#3
|
|
![]() I listen to bands that don't even exist yet... ![]() ![]() ![]() ![]() ![]() Group: Member Posts: 330 Joined: Sep 2005 Member No: 249,189 |
i'd appreciate it
|
|
|
|
Oct 18 2006, 04:15 PM
Post
#4
|
|
![]() I listen to bands that don't even exist yet... ![]() ![]() ![]() ![]() ![]() Group: Member Posts: 330 Joined: Sep 2005 Member No: 249,189 |
does anyone else have an answer.
I know that the css name is .masthead what's going on? |
|
|
|
Oct 18 2006, 05:38 PM
Post
#5
|
|
|
t-t-t-toyaaa ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Official Member Posts: 19,821 Joined: Apr 2004 Member No: 11,270 |
|
|
|
|
Oct 18 2006, 10:22 PM
Post
#6
|
|
![]() I listen to bands that don't even exist yet... ![]() ![]() ![]() ![]() ![]() Group: Member Posts: 330 Joined: Sep 2005 Member No: 249,189 |
that made a space but how do I put an image up there? DIV? how would I put this image exactly in the center(horizontally)
|
|
|
|
Oct 18 2006, 11:01 PM
Post
#7
|
|
|
t-t-t-toyaaa ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Official Member Posts: 19,821 Joined: Apr 2004 Member No: 11,270 |
Div position it up there.
|
|
|
|
Oct 19 2006, 12:49 PM
Post
#8
|
|
![]() I listen to bands that don't even exist yet... ![]() ![]() ![]() ![]() ![]() Group: Member Posts: 330 Joined: Sep 2005 Member No: 249,189 |
how do i postion it so that it is always 100px down and always centered horizonally?
I'm testing it here and I only know how to work absolute pixel positioning. |
|
|
|
Oct 19 2006, 05:27 PM
Post
#9
|
|
|
t-t-t-toyaaa ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Official Member Posts: 19,821 Joined: Apr 2004 Member No: 11,270 |
Wherever you position it is where its going to stay. If its not where you want it now make the top number lower.. until it fits. and move it more to the left.
You have position it to the center. You don't have much to do . All your doing is positioning it exactly where and how far up or down you want it. |
|
|
|
Oct 19 2006, 08:30 PM
Post
#10
|
|
![]() I listen to bands that don't even exist yet... ![]() ![]() ![]() ![]() ![]() Group: Member Posts: 330 Joined: Sep 2005 Member No: 249,189 |
I'm doing this for a profile that gets hundred of views an hour by millions of fans.
The pixels for my screen resolution are not the same as anyone else's I need it to work for eveyone; I don't care what it looks like for me. I need it to be perfect on each screen resolution. Just like <center> tags. It doesn't matter what the size it'll still be in the middle Can I get the image to be in the center of EVERYONE'S SCREEN? |
|
|
|
Oct 19 2006, 10:59 PM
Post
#11
|
|
|
t-t-t-toyaaa ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Official Member Posts: 19,821 Joined: Apr 2004 Member No: 11,270 |
YES! Don't use center tags. Just position it with absolute positioning, exactly where you want it and it will. Just don't use margins in the positioning and don't use percents either.
|
|
|
|
Oct 20 2006, 03:38 PM
Post
#12
|
|
![]() I listen to bands that don't even exist yet... ![]() ![]() ![]() ![]() ![]() Group: Member Posts: 330 Joined: Sep 2005 Member No: 249,189 |
Can you just post the code because I caan't do what your saying
|
|
|
|
Oct 20 2006, 05:29 PM
Post
#13
|
|
|
t-t-t-toyaaa ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Official Member Posts: 19,821 Joined: Apr 2004 Member No: 11,270 |
The code for the div is this:
CODE <style type="text/css"> .banner{ position: absolute; left: ##px; top: ##px; width: ###px; height: ###px; } </style> <div class="banner"> <img src="urltobanner"> </div> Thats all you need. Edit the left and top positions to EXACTLY where you want it. When you position it where you want it , it should stay in look fine for all browsers and resolutions. If you want to check once you get it I can look ( I use a diff browser so yea). If you want it centered change the left number till its exactly how you want it. And add the url to the banner. |
|
|
|
Oct 21 2006, 08:56 AM
Post
#14
|
|
![]() I listen to bands that don't even exist yet... ![]() ![]() ![]() ![]() ![]() Group: Member Posts: 330 Joined: Sep 2005 Member No: 249,189 |
I used this
CODE .banner{ position: absolute; left: 197px; top: 150px; width: 872px; height: 227px; } <div class="banner"> <img src="http://img80.imageshack.us/img80/1156/mast4nh2.gif"> </div> On my monitor(1280x800) ![]() It looks perfect but when I went to another monitor (1024x768) ![]() It looks wrong The problem is the myspace has it's tables centered for each and every screen. My problem is that my image is staying 197 pixels from the left of everyscreen. 197 pixels is fine for me but for anyone else it doesn't work right. I still need a way to fix that. |
|
|
|
Oct 21 2006, 09:05 AM
Post
#15
|
|
|
t-t-t-toyaaa ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Official Member Posts: 19,821 Joined: Apr 2004 Member No: 11,270 |
Oh I get what your saying. I was kind of lost at first. But regarding that problem, I don't think you can do anything. Reason being using any other type of positioning would just get it working in yours and most likely way off in others.
There was also this one , but I think this one repeats your images: CODE <style type="text/css">body div table td td {height:500px; vertical-align: bottom; background-image:url(IMAGEHERE); background-repeat:no-repeat; background-position: center center;}</style>
|
|
|
|
![]() ![]() |