Log In · Register

 
Div's
YourSuperior
post Sep 24 2005, 01:29 AM
Post #1


;)
*******

Group: Staff Alumni
Posts: 9,573
Joined: Feb 2005
Member No: 99,124



Is there a way that I would be able to put my div's inside my stylesheet?
 
 
Start new topic
Replies (1 - 8)
lovescream
post Sep 24 2005, 03:08 AM
Post #2


define our lives for us.
********

Group: Staff Alumni
Posts: 11,656
Joined: Aug 2004
Member No: 43,293



um, I think I get what you're talking about.

Okay, so I guess in your stylesheet, you can customize each div different with links and text, fonts, and stuff.
In your stylesheet, the class would be div.namehere and in your div, it'd have a name like:
<div class="namehere"

I think that would work with links.

a:link.namehere
a:hover.namehere

Not sure about the links & hovers, but I'm pretty certain about the div. O_O

Is that what you're talking about?
 
YourSuperior
post Sep 24 2005, 09:24 AM
Post #3


;)
*******

Group: Staff Alumni
Posts: 9,573
Joined: Feb 2005
Member No: 99,124



Yeah, that's what I'm reffering to. But how do i put my blog positionings in there?
 
lovescream
post Sep 24 2005, 01:19 PM
Post #4


define our lives for us.
********

Group: Staff Alumni
Posts: 11,656
Joined: Aug 2004
Member No: 43,293



Just add the style and stuff. :x

<div style="overflow: auto; height: 100px; width: 100px; margin-top: 100px; margin-left: 100px;" class="namehere">
 
YourSuperior
post Sep 24 2005, 01:24 PM
Post #5


;)
*******

Group: Staff Alumni
Posts: 9,573
Joined: Feb 2005
Member No: 99,124



I know how to do it in tags, but I want the positionings in my stylesheet also.
 
lovescream
post Sep 24 2005, 01:30 PM
Post #6


define our lives for us.
********

Group: Staff Alumni
Posts: 11,656
Joined: Aug 2004
Member No: 43,293



i think under style you can add that.

<div style="overflow: auto; height: 100px; width: 100px; margin-top: 100px; margin-left: 100px; font-face: arial; font-size: 8pt; color- #000000;" class="namehere">

And stuff. except i think font-face might have to be font-family. :x
 
hi-C
post Sep 24 2005, 01:46 PM
Post #7


Amberific.
********

Group: Staff Alumni
Posts: 12,913
Joined: Jul 2004
Member No: 29,772



Divs don't really work that way. I tried. If you want to see for yourself, just add the margin-left, margin-top sections to that part in your stylesheet.
 
YourSuperior
post Sep 24 2005, 01:59 PM
Post #8


;)
*******

Group: Staff Alumni
Posts: 9,573
Joined: Feb 2005
Member No: 99,124



They don't? Well, I'll take your word for it. You can close this. =]
 
hi-C
post Sep 24 2005, 02:04 PM
Post #9


Amberific.
********

Group: Staff Alumni
Posts: 12,913
Joined: Jul 2004
Member No: 29,772



Alright then.

Topic closed
 

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