Log In · Register

 
 
Closed TopicStart new topic
layout.
PrincessAda
post Aug 2 2006, 06:54 PM
Post #1


the name is ada.
*******

Group: Official Member
Posts: 4,688
Joined: Dec 2005
Member No: 334,608



http://profile.myspace.com/index.cfm?fusea...iendid=32410826
I made an image like that(a 1024x768) with the boxes and everything and its image mapped and everything but I don`t get how to add the div boxes to the boxes I added to the image.Am I suppose to use this code?
CODE
<div class="content" style="position: absolute; left:000px;  top:000px; width:000px; height:000px; overflow: auto;"><center>
CONTENT FOR DIV.
</div>

I don`t get how to position it so it fits my boxes on the image.
help anyone ?
sorry this would be my first div.
 
freeflow
post Aug 2 2006, 07:03 PM
Post #2


t-t-t-toyaaa
********

Group: Official Member
Posts: 19,821
Joined: Apr 2004
Member No: 11,270



- Yes your supposed to use that code.
- Change the width and height to the width of the box.
- Change top to a number higher than 150-175px . That will prevent you from hiding the ad. Just make the number go up 50 px each time you need to go lower. Subtract 50 when you need to go higher. Then when you get really close start using normal numbers like 193px etc.
- Left start at 100px. If you need to go more to the right make it higher. Make it lower to go more left.

I suggest you read the div tutorial Holly wrote. first.
 
anime-essence
post Aug 2 2006, 07:57 PM
Post #3


Senior Member
******

Group: Staff Alumni
Posts: 1,188
Joined: Jan 2006
Member No: 364,198



I have a great solution. To position the div boxes on the image,open the image in the program "Paint". Use the rectangle tool and make a box on the area you would like the div to cover over,then read the numbers that appear at the bottom of the program. Then,just insert the numbers into your div properties. I always use this method,it's faster and way easier than taking time to move pixel by pixel.Here's a tutorial I made for easier understanding.



If you have any futher questions,reply. thumbsup.gif




CODE
[thumb]IMG[/thumb]

thumb your images - thanks Holly
 
PrincessAda
post Aug 2 2006, 10:40 PM
Post #4


the name is ada.
*******

Group: Official Member
Posts: 4,688
Joined: Dec 2005
Member No: 334,608



I still have a hard time positioning it.Its like sometimes it works..sometimes it doesn`t.And I`m also wondering why I can`t get a double or dashed underline ?

thanks for dhe advice everyone.
 
freeflow
post Aug 2 2006, 10:58 PM
Post #5


t-t-t-toyaaa
********

Group: Official Member
Posts: 19,821
Joined: Apr 2004
Member No: 11,270



Are you using firefox?
I just use random numbers, which I find faster for me to comprehend. IF its not working for all do the program for some, random numbers for the rest? Plus I don't have that program, so numbers are my only option.
 
PrincessAda
post Aug 2 2006, 11:09 PM
Post #6


the name is ada.
*******

Group: Official Member
Posts: 4,688
Joined: Dec 2005
Member No: 334,608



I`m using IE.ehh nvm about the positioning..i`m getting used to it. =] the thing is I can`t get double or dashed underline for some reason..does that happen to all div`s?
 
freeflow
post Aug 2 2006, 11:10 PM
Post #7


t-t-t-toyaaa
********

Group: Official Member
Posts: 19,821
Joined: Apr 2004
Member No: 11,270



Underneath text? Did you add that to your css?
 
PrincessAda
post Aug 2 2006, 11:11 PM
Post #8


the name is ada.
*******

Group: Official Member
Posts: 4,688
Joined: Dec 2005
Member No: 334,608



Yeah.
u{color:F9A2FE; font-family:arial; border-bottom: 1pt dshed 96c2e3;}
anything wrong with it?
I tried different versions.
still won`t work..
 
freeflow
post Aug 2 2006, 11:12 PM
Post #9


t-t-t-toyaaa
********

Group: Official Member
Posts: 19,821
Joined: Apr 2004
Member No: 11,270



Try 1px. Then if not use another font class. Like h1, h2, something.
 
PrincessAda
post Aug 2 2006, 11:16 PM
Post #10


the name is ada.
*******

Group: Official Member
Posts: 4,688
Joined: Dec 2005
Member No: 334,608



ahh it still don`t work.
thanks though.
sorry i`m askin` SOO many questions >.<
but why when i add up the top part of the boxes..my layout pushes up? like its just a blank white spot?
 
freeflow
post Aug 2 2006, 11:19 PM
Post #11


t-t-t-toyaaa
********

Group: Official Member
Posts: 19,821
Joined: Apr 2004
Member No: 11,270



What do you mean? Also add z-index to each of your divs before the "> . Example:
z-index: 0;"> Add a different number for each one.

Just try another font class later =]
 
PrincessAda
post Aug 2 2006, 11:21 PM
Post #12


the name is ada.
*******

Group: Official Member
Posts: 4,688
Joined: Dec 2005
Member No: 334,608



<div class="content" style="position: absolute; left:000px; top:000px; width:000px; height:000px; overflow: auto;"z-index: 0;"><center>
CONTENT FOR DIV.
</div>

like that? how do i work the number ?
 
freeflow
post Aug 2 2006, 11:24 PM
Post #13


t-t-t-toyaaa
********

Group: Official Member
Posts: 19,821
Joined: Apr 2004
Member No: 11,270



Yes, like that. You change the numbers in order. First image div is 0 , the rest are 1 , 2, 3, etc. thumbsup.gif
 
PrincessAda
post Aug 2 2006, 11:26 PM
Post #14


the name is ada.
*******

Group: Official Member
Posts: 4,688
Joined: Dec 2005
Member No: 334,608



Okay.So thats suppose to get rid of the white space underneath my image?

hahah i`m so slow.
 
freeflow
post Aug 2 2006, 11:27 PM
Post #15


t-t-t-toyaaa
********

Group: Official Member
Posts: 19,821
Joined: Apr 2004
Member No: 11,270



Can you link me? I don't really get that part. Where is the white comming from do you know? If not I can check. Posting your codes so far will also help.
 
PrincessAda
post Aug 2 2006, 11:39 PM
Post #16


the name is ada.
*******

Group: Official Member
Posts: 4,688
Joined: Dec 2005
Member No: 334,608



Its comin` from the bottom like when I change the top part
<div class="content" style="position: absolute; left:-45px; top:735px; width:258px; height:219px; overflow: auto;z-index: 3"><center>
COMIN` SOON.
</div>
the white stuff starts to show.
 
freeflow
post Aug 2 2006, 11:55 PM
Post #17


t-t-t-toyaaa
********

Group: Official Member
Posts: 19,821
Joined: Apr 2004
Member No: 11,270



Get rid of that then? Its really low anyway. But if you get rid of that will it still show?
 
PrincessAda
post Aug 2 2006, 11:57 PM
Post #18


the name is ada.
*******

Group: Official Member
Posts: 4,688
Joined: Dec 2005
Member No: 334,608



Yeah before I posted another div thingy..it didn`t show..but all of a sudden it does show.
oh btw whats does the z-index: 0;"> do?
 
freeflow
post Aug 3 2006, 12:15 AM
Post #19


t-t-t-toyaaa
********

Group: Official Member
Posts: 19,821
Joined: Apr 2004
Member No: 11,270



Basically it helps keep order, along with fixing some div problems along the way. But anyways make sure they all have diff numbers. And dif names


where it says div class="content"
for each div , change the word content to something else. Box1, box 2, content 1, content 2, whaatever.
 
PrincessAda
post Aug 3 2006, 12:30 AM
Post #20


the name is ada.
*******

Group: Official Member
Posts: 4,688
Joined: Dec 2005
Member No: 334,608



Okay thanks for the tips.do you know how to get rid of the white spot underneath my layout though?
 
freeflow
post Aug 3 2006, 12:55 AM
Post #21


t-t-t-toyaaa
********

Group: Official Member
Posts: 19,821
Joined: Apr 2004
Member No: 11,270



Its hard to tell, are you sure its nothing else? Or its not the div? Screenshot its hard to tell. I would try coding the rest then come back to it later, if you don't figure it out.
 
PrincessAda
post Aug 3 2006, 01:04 AM
Post #22


the name is ada.
*******

Group: Official Member
Posts: 4,688
Joined: Dec 2005
Member No: 334,608



I think its because I used the code to hide my profile.
wait is hiding bottom and top links againist myspace rules?


and ohh yeahs whats your myspace? so I can put you on my credit section =D
 
freeflow
post Aug 3 2006, 01:18 AM
Post #23


t-t-t-toyaaa
********

Group: Official Member
Posts: 19,821
Joined: Apr 2004
Member No: 11,270



Which code did you use? I really really REALLY want you to use this:
http://www.createblog.com/scripts/download.php?id=302

You should. um for the top links etc, I don't think so since EVERYONE does it. And no one's been deleted. Plus div layouts often hide them.

Aw, you don't have too. But if you want its Here.
 
PrincessAda
post Aug 4 2006, 10:42 PM
Post #24


the name is ada.
*******

Group: Official Member
Posts: 4,688
Joined: Dec 2005
Member No: 334,608



Nope,I added you to my credits section. _smile.gif Thanks and you can close this.
 

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