need help with DIV POSITION., happy now? |
![]() ![]() |
need help with DIV POSITION., happy now? |
Jan 12 2008, 02:22 AM
Post
#1
|
|
|
Newbie ![]() Group: Member Posts: 7 Joined: Jan 2008 Member No: 609,868 |
Since my last post was closed because I didn't know WHAT to title it...
I need help trying to figure out my div positioning (I guess...?) Here is what I have... ![]() the links are on the page...just so far off from where I want them, that they aren't visible unless you scroll quite a bit... Here is what I'd like... ![]() notice the words/links ON the butterflies. here's the code that contains those links: CODE .navigation1 { background-color:transparent; color:black; border:0px; border-color:5F9EA0; width:103px; height: 104px; overflow-x:hidden; left:0%; top:0%; margin-left:103px; margin-top:104px; text-align:center; visibility:visible;} I have 5 of those ^ (one for comments, blog, pictures, message and home), just didn't think it was necessary to post each one. They're all the same except the width/height and margins. I appologize, I don't know all the technical terms for the codes, as I've learned it all by copying other codes and screwing around with them to figure out what does what... (is that better relentless? |
|
|
|
Jan 12 2008, 07:33 AM
Post
#2
|
|
![]() Offline. ![]() ![]() ![]() ![]() ![]() Group: Official Designer Posts: 609 Joined: Mar 2007 Member No: 507,591 |
Can you post all the code you're using.
Here is a better taught why don't you write the link name on the image and do a image map? |
|
|
|
Jan 12 2008, 09:53 AM
Post
#3
|
|
![]() Addict ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Staff Alumni Posts: 3,918 Joined: Jun 2007 Member No: 538,522 |
I've learned it all by copying other codes and screwing around with them to figure out what does what... Naughty! As it is, you're better off just using something like this: CODE .navigation1 { background-color: transparent; color:black; border:0px; border-color:5F9EA0; width:50px; height: 50px; overflow-x:hidden; position:relative; left:400px; top:500px; text-align:center; visibility:visible;} Whereby you get rid of the margins, lower the height and width and make everything a relative position. |
|
|
|
Jan 12 2008, 03:07 PM
Post
#4
|
|
![]() sang loves hayden. ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Staff Alumni Posts: 3,373 Joined: Feb 2004 Member No: 5,687 |
Much better.
I suggest you to image map and its much easier. This site contains image mapping: http://www.isdntek.com/tagbot/imap.htm Put your text on the butterflies (so that people will know it will link somewhere).. save it as a full file. Then do what the following instructions say, press New Link everytime you want to add another link. Put the adress on the required spot (where you want to link it to) and you can put text on Alt (Meaning if you hover the link, there will be a dialogue box displaying you're "text"). You will notice a sqaure thing on the picture, move it and resize it the way you want it to be at the butterfly. Once you're done, press Make Code and copy the HTML. Then copy and paste that onto you're DIV. It works wonders. I hope it helps. |
|
|
|
Jan 12 2008, 08:22 PM
Post
#5
|
|
|
Newbie ![]() Group: Member Posts: 7 Joined: Jan 2008 Member No: 609,868 |
thanks.
|
|
|
|
Jan 12 2008, 09:27 PM
Post
#6
|
|
![]() sang loves hayden. ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Staff Alumni Posts: 3,373 Joined: Feb 2004 Member No: 5,687 |
Glad it worked for you. (= If you need any other questions feel free to PM me or any other moderator.
-- CLOSED |
|
|
|
![]() ![]() |