Log In · Register

 
 
Closed TopicStart new topic
Div tables?
ladyCHA
post Feb 10 2006, 02:26 PM
Post #1


Senior Member
***

Group: Member
Posts: 42
Joined: Jan 2006
Member No: 367,754



Hi! I am working on a div layer and was wondering how I add my own small tables with information like links for “add me” and little bits of information.
 
Jane Doe.
post Feb 10 2006, 05:25 PM
Post #2


Senior Member
******

Group: Member
Posts: 2,534
Joined: Jul 2005
Member No: 170,127




I think that might be it.. and you can use this script to help you with the links:
http://www.createblog.com/forums/index.php...opic=113359&hl=
 
ladyCHA
post Feb 10 2006, 08:04 PM
Post #3


Senior Member
***

Group: Member
Posts: 42
Joined: Jan 2006
Member No: 367,754



I tried it, but I don't see it on my div layer.
 
Jane Doe.
post Feb 10 2006, 08:07 PM
Post #4


Senior Member
******

Group: Member
Posts: 2,534
Joined: Jul 2005
Member No: 170,127



You may have to add a "z-index: 2" or higher to the properties of the DIV..

Either <div class="name" style="z-index: 2;">

or

.name { background-color kodfl; background-position: 32pr03; z-index: 2; }
 
ladyCHA
post Feb 10 2006, 08:23 PM
Post #5


Senior Member
***

Group: Member
Posts: 42
Joined: Jan 2006
Member No: 367,754



Where do I plug those in?
 
Jane Doe.
post Feb 10 2006, 08:34 PM
Post #6


Senior Member
******

Group: Member
Posts: 2,534
Joined: Jul 2005
Member No: 170,127



Where your codes are? The .nameofdiv { properties and z-index: higher-the-#; }
should go along with your CSS.
 
ladyCHA
post Feb 10 2006, 08:42 PM
Post #7


Senior Member
***

Group: Member
Posts: 42
Joined: Jan 2006
Member No: 367,754



Hmm I'm still a tad bit confused on how and which codes to use. Do I place them within my <style type=text/css> .... </style> or just in my about me?
 
Jane Doe.
post Feb 10 2006, 08:49 PM
Post #8


Senior Member
******

Group: Member
Posts: 2,534
Joined: Jul 2005
Member No: 170,127



The CSS:
QUOTE
.name {roo43i5;}

goes in between your style tags, yes.

QUOTE
The <div class="jri2342">..</div>

do not go in between your style codes.

It's recommended that you place your CSS for the DIVs in your about me and the DIV codes in your Who I'd like to meet.
 
ladyCHA
post Feb 10 2006, 09:12 PM
Post #9


Senior Member
***

Group: Member
Posts: 42
Joined: Jan 2006
Member No: 367,754



I'll probably adding it wrong or something...still not working. pinch.gif
 
Jane Doe.
post Feb 10 2006, 09:15 PM
Post #10


Senior Member
******

Group: Member
Posts: 2,534
Joined: Jul 2005
Member No: 170,127



Link?
 
ladyCHA
post Feb 10 2006, 09:17 PM
Post #11


Senior Member
***

Group: Member
Posts: 42
Joined: Jan 2006
Member No: 367,754



Clicky
 
Jane Doe.
post Feb 10 2006, 09:25 PM
Post #12


Senior Member
******

Group: Member
Posts: 2,534
Joined: Jul 2005
Member No: 170,127



Oh, goodness. You were using the [rather insane] examples I posted.
Heh..

Okay. There is 2 parts to this. One: CSS.

.nameofDIV { properties! }

Two:

<div class="nameofdiv"> Content here! </div>

The first would go in your 'about me' in between your style tags. The second would go anywhere, but I'd recommend you put it in your 'Who I'd like to meet' with no style tags surrounding it.

You can fill in the 'name of DIV' thing with your own, but make sure they mirror each other.
 
ladyCHA
post Feb 10 2006, 09:38 PM
Post #13


Senior Member
***

Group: Member
Posts: 42
Joined: Jan 2006
Member No: 367,754



Do I place

.nameofDIV { properties! }

Anywhere specific on the CSS?
 
Jane Doe.
post Feb 10 2006, 09:41 PM
Post #14


Senior Member
******

Group: Member
Posts: 2,534
Joined: Jul 2005
Member No: 170,127



No.. that's entirely up to you. I mean, if you place it in between your table and background properties it would be harder to find and messier.. but it's up to you. It shouldn't mess anything up.
 
ladyCHA
post Feb 10 2006, 09:47 PM
Post #15


Senior Member
***

Group: Member
Posts: 42
Joined: Jan 2006
Member No: 367,754



I'll show you my CSS because It's still not showing up. I'm messing this up somehow lol

 
Jane Doe.
post Feb 10 2006, 09:56 PM
Post #16


Senior Member
******

Group: Member
Posts: 2,534
Joined: Jul 2005
Member No: 170,127



QUOTE
<style type=text/css>

<div class="nameofdiv"><table style="width: 100px; height: 100px;"><tr><td>
content</td></tr></table></div>

.name {roo43i5;}

</style>

<style type="text/css">
table td div div font {visibility:hidden;}
</style>

<style type="text/css">.comments {visibility:hidden;display:none;}</style>

<style type="text/css">
.Main { position:absolute; left:50%; top:125px; width:800px; z-index:1; margin-left:-400px; padding:0px; border:0px; background-color:transparent;}
</style>


Do not place the <div class=".."> -- type thing in between your style codes.
Also, assign them both a name and make sure they mirror each other.
So if you assign the div a name of 'radio' you would have:
<div class="radio">content content</div> somewhere NOT in your style tags ..
and .radio {CSS PROPERTIES HERE} in your about me/CSS.
Assign them a name, and make sure they are the same! Also, edit the CSS, or else nothing will show up.
And then you can move onto positioning them and layering.
 
ladyCHA
post Feb 10 2006, 10:15 PM
Post #17


Senior Member
***

Group: Member
Posts: 42
Joined: Jan 2006
Member No: 367,754



Still nothing this is what is in my "I'd like to meet" section. Maybe the problem lies there.

 
Jane Doe.
post Feb 10 2006, 10:30 PM
Post #18


Senior Member
******

Group: Member
Posts: 2,534
Joined: Jul 2005
Member No: 170,127



Place the new DIV coding "<div class="chick">" within the main DIV's codes

QUOTE
<DIV class="Main"> <table style="width:800px; height:600px; cellpadding:0px; cellspacing:0px; border:2px solid black background-color:44311F;}"> <tr> <td valign="top"><img src="http://img475.imageshack.us/img475/9067/059zl.jpg"> <div class="Chick"> Content here! </div></td> </tr> </table> </DIV>


Or.. uhm. Wait.
You haven't added any positioning or anything, have you? I shall now refer you to this topic:
http://www.createblog.com/forums/index.php?showtopic=97397
 
ladyCHA
post Feb 11 2006, 12:50 PM
Post #19


Senior Member
***

Group: Member
Posts: 42
Joined: Jan 2006
Member No: 367,754



never mind...
 

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