DIV Help please |
DIV Help please |
![]()
Post
#1
|
|
Member ![]() ![]() Group: Member Posts: 13 Joined: Jun 2008 Member No: 654,271 ![]() |
So, i have got my div working and everything its just now i want to add text. But i guess i need to "Position the text over top of the image?" Not sure but here my page. theres a big black blank spot twords the right. thats where i want the text to go...
myspace.com/familyforce5liker |
|
|
![]() |
![]()
Post
#2
|
|
![]() Kissing for yesterday. ![]() ![]() ![]() ![]() ![]() Group: Official Designer Posts: 465 Joined: Sep 2007 Member No: 569,813 ![]() |
ah sorry for taking my time to reply.
okay, in the about me section place this somewhere: CODE <style>.about { position: absolute; overflow:auto; top:HOW FAR DOWN FROM THE TOP OF THE PAGE YOU WANT IT (KEEP IT ABOVE 150)px; left:KEEP ABOVE 0, HOW FAR FROM THE LEFT SIDE OF THE PAGE YOU WANT ITpx; background-color:transparant; font-family:FONT NAME; font-size:SIZE OF FONTpx; color:TEXT COLOUR; font-weight:normal; height:CHOOSE HEIGHT OF BOXpx; width:CHOOSE WIDTH OF BOXpx; margin:0; padding:0; } </style> and then in the i'd like to meet section: CODE <div class="about"> <center> you can write your about me here. </div> do you see how it works? the .about is the tag for the DIV which is displayed in the about me coding, and then the same tag is given for the layer in the id like to meet coding. therefore its the same box, and works out. hopefully that helps a bit better. NOTE - you don't always need style tags, im just putting them there so you know, if you've already got style tags in place, keep them there, scrap the ones i've put. |
|
|
![]() ![]() |