Log In · Register

 
div tags, theyre bitches
Oogie Oogie man
post Nov 24 2004, 05:57 PM
Post #1


Senior Member
***

Group: Member
Posts: 41
Joined: Nov 2004
Member No: 62,396



I hate div tags!! arggh! ok, is there a way to put a background image inside a div. I've been trying for the past three hours without any success. I went to one of the tutorials in here and it said to put this: layer-background-image: url (something.gif). I tried doing that but nothing happened. cry.gif
 
 
Start new topic
Replies (1 - 2)
cha_crusader
post Nov 24 2004, 06:00 PM
Post #2


~*Rachel*~
**

Group: Member
Posts: 15
Joined: Nov 2004
Member No: 64,395



Div layering

[U]WHAT TO EDIT:
ALIGN : Box horizontal position (left, center, right)
VALIGN : Box vertical position (top, middle, bottom)
BORDER : Border properties on each side of the box. (Color Width Style)
FILTER : Transparency of the box (Percent)
HEIGHT/WIDTH : Height and Width (If pixels leave plain, if percent follow with %)
BACKGROUND-COLOR : Color of the background (Hex Value)
[/U]

<!-- begin code provided by createblog.com -->
<DIV align="center" valign="middle" style="BORDER-RIGHT: #660000 1px solid; BORDER-TOP: #660000 1px solid; FILTER: alpha(opacity=100); OVERFLOW: auto; BORDER-LEFT: #660000 1px solid; WIDTH: 850px; BORDER-BOTTOM: #660000 1px solid; HEIGHT: 470px; BACKGROUND-COLOR:
#ffffff">
<!-- end code provided by createblog.com -->
 
shortvi3tlaydee
post Nov 24 2004, 06:19 PM
Post #3


moohaha
******

Group: Member
Posts: 2,214
Joined: Aug 2004
Member No: 41,985



just use this

CODE
<!-- begin code provided by createblog.com -->
<div style="left=0; top=0; position=absolute;"><img src="IMG URL"></div>
<!-- end code provided by createblog.com -->


just stick your background image in the img url area
 

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