Log In · Register

 
adding text in a div overlay, text in div overlay
djdaveoc
post Apr 16 2006, 03:44 PM
Post #1


Senior Member
***

Group: Member
Posts: 50
Joined: Mar 2006
Member No: 383,261



Here is my site: http://www.myspace.com/davidpoggi

I want to add just a line or two of text in a div so I can position it right above the pictures of the mixer and CD player on the left side. I'd also like to add text in divs other places on my page. Can someone please tell me how to add the text? Thanks. I know how to modify the pixels right/left or up/down once I have a template to work with.

David
 
 
Start new topic
Replies (1 - 4)
freeflow
post Apr 16 2006, 03:56 PM
Post #2


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

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



Since you know how to modify (meaning align) go ahead and use this:
CODE
<style type="text/css">
.divname{
position:absolute;
left:#px;
top#px;
height:#px;
widht:#px;
}
</style>

In about me and
CODE
<div class="divnamehere">
text text text here
</div>

in who'd I like to meet. Div name can be anything you want. Just keep it consistant. Do that for each time you need a new div w/ text or pictures or w/e
 
djdaveoc
post Apr 16 2006, 04:07 PM
Post #3


Senior Member
***

Group: Member
Posts: 50
Joined: Mar 2006
Member No: 383,261



Thanks for the info. I'll go try it now.

I tried it and no text on my page.

Do I put the one line like this:

<div class="equip">

or

<div class=".equip">

or

<div class=.equip>
 
freeflow
post Apr 16 2006, 04:29 PM
Post #4


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

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



<div class="title">
w/out the dot.

It won't show in the preview only in the actual profile..

<div class="equip">
blah blah blah
</div>
 
djdaveoc
post Apr 16 2006, 04:33 PM
Post #5


Senior Member
***

Group: Member
Posts: 50
Joined: Mar 2006
Member No: 383,261



Thanks, that worked. Now I'm just gonig to position it correctly. I guess the easiest way to get my page the way I want it is to use divs. That's what I've used for my pics and text.
 

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