Log In · Register

 
Contact Box to Contact Bar under Navigation, HTML/CSS Help
butifuldzastr
post Oct 9 2009, 12:08 AM
Post #1


Newbie
*

Group: Member
Posts: 5
Joined: Oct 2009
Member No: 748,490



Hey, new here. I'm trying to figure out how to make those navigation bars for the message, add me, etc. that are usually in the box under the default picture.. the "contact box" a lot of people now have these and I was wondering if someone could help me figure out how to put one up? I have the images ready. This is for a band myspce layout. Thanks in advance!
 
 
Start new topic
Replies (1 - 8)
Mickey
post Oct 9 2009, 03:51 AM
Post #2


Treasure Pleasure
********

Group: Head Staff
Posts: 11,193
Joined: Oct 2005
Member No: 281,127



Just group the images inside a DIV like this:

CODE
<div style="position:absolute; top:#px; left:50%; margin-left:#px; z-index:9; height:#px; width:#px;">
<a href="URL"><img src="URL" alt="" /></a><a href="URL"><img src="URL" alt="" /></a>
<a href="URL"><img src="URL" alt="" /></a><a href="URL"><img src="URL" alt="" /></a>
<a href="URL"><img src="URL" alt="" /></a><a href="URL"><img src="URL" alt="" /></a>
<a href="URL"><img src="URL" alt="" /></a><a href="URL"><img src="URL" alt="" /></a>
</div>

Replace the pound symbols with appropriate values to position the DIV and to edit its size. Replace all the URLs according to where you want the links to lead and which images you want to use.
 
austinseals
post Oct 10 2009, 04:33 AM
Post #3


Senior Member
***

Group: Member
Posts: 62
Joined: Sep 2009
Member No: 746,049



QUOTE(Mike @ Oct 9 2009, 04:51 AM) *
Just group the images inside a DIV like this:

CODE
<div style="position:absolute; top:#px; left:50%; margin-left:#px; z-index:9; height:#px; width:#px;">
<a href="URL"><img src="URL" alt="" /></a><a href="URL"><img src="URL" alt="" /></a>
<a href="URL"><img src="URL" alt="" /></a><a href="URL"><img src="URL" alt="" /></a>
<a href="URL"><img src="URL" alt="" /></a><a href="URL"><img src="URL" alt="" /></a>
<a href="URL"><img src="URL" alt="" /></a><a href="URL"><img src="URL" alt="" /></a>
</div>

Replace the pound symbols with appropriate values to position the DIV and to edit its size. Replace all the URLs according to where you want the links to lead and which images you want to use.


Wouldn't you need to put the "DIV style" code before each image code?
To position each code individually?

Or is this just an easier way than I've been doing?
 
Mickey
post Oct 10 2009, 04:40 AM
Post #4


Treasure Pleasure
********

Group: Head Staff
Posts: 11,193
Joined: Oct 2005
Member No: 281,127



That's an easier way. The height / width of the DIV just needs to be fixed so the images are arranged appropriately as opposed to them going on and on in a single line. Of course, you'll need to use separate DIVs if you're positioning links in several spots and not just one.
 
austinseals
post Oct 10 2009, 04:44 AM
Post #5


Senior Member
***

Group: Member
Posts: 62
Joined: Sep 2009
Member No: 746,049



So doing it this way, they stack side by side?
In a bar form right?


Without having to individually position each image?
 
Mickey
post Oct 10 2009, 04:51 AM
Post #6


Treasure Pleasure
********

Group: Head Staff
Posts: 11,193
Joined: Oct 2005
Member No: 281,127



Yes. The code places a link next to another then creates a new line with a couple more and so on.
 
austinseals
post Oct 10 2009, 04:59 AM
Post #7


Senior Member
***

Group: Member
Posts: 62
Joined: Sep 2009
Member No: 746,049



that would have saved me SO much time haha.


Good to know now though
tongue.gif
 
butifuldzastr
post Oct 25 2009, 03:21 PM
Post #8


Newbie
*

Group: Member
Posts: 5
Joined: Oct 2009
Member No: 748,490



Lol okay thanks for the reply, but I've actually switched to using a sliced image.. i used the code for the top banner, but can't figure out where to place the code for the sliced image..
 
omnistudio
post Nov 7 2009, 02:03 PM
Post #9


Newbie
*

Group: Member
Posts: 2
Joined: Nov 2009
Member No: 751,488



Nice!!
Im trying to make the same but above the default picture.
How do i hide the myspace (artist/band) bar!?
Its messing with the add button i created, it works on "submit" page but when i view my profile theres no link!
The rest of them are working on "submit" page and when i view the profile.
 

Closed TopicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members: