|
|||||||
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
#1 |
|
Member (10 bit)
|
How do you overflow a div inside a div with a bg?
I have a midcontent and mid DIV.
mid = 1024px midcontent = inside the mid div @ 850px the mid div isn't changing height size, the midcontent just overflows into the lower div When the midcontent text gets too much for the 600px height box, I want the mid DIV to overflow with the background repeating downward (no scroll bars) I would assume you have to set the midcontent's position to something but it didn't do anything. HTML Code:
<div id="mid"> <div id="midcontent">asfasfasasfasfasfasfasf </div> </div> HTML Code:
#mid {
background-image: url(midcontent.gif);
height: 600px;
width: 1024px;
margin: 0px;
overflow: visible;
}
#midcontent {
font-family: Verdana, Geneva, sans-serif;
font-size: 16px;
color: #000;
width: 850px;
float: right;
margin-right: 81px;
height: 600px;
}
__________________
HD: Seagate Barracuda 320GB PRT SATA 3.0 (7200/16MB), 120GB Seagate Barracuda (7200/8MB) MB: Asus P5Q Pro Turbo CPU: Intel C2Q Q9650 3.0 GHz GPU: BFG GeForce 8800 ULTRA RAM: G Skill 4GB DDR2 800MHz/PC6400 PSU: Corsair 620-HX Case: XCLIO A380 Silver Monitor: Sceptre 20.1" Widescreen (5ms/1000:1) Headset: Logitech USB Premium 350 Mouse: Logitech G5 Last edited by ChoboSeki; 12-26-2010 at 07:21 AM. |
|
|
|
|
|
#2 |
|
Member (10 bit)
|
Nevermind I got it
Had to make mid height 100% overflow: auto midcontent height 100% overflow: auto |
|
|
|
|
|
#3 |
|
Member (7 bit)
Join Date: Oct 2008
Posts: 103
|
Erm, misread OP
![]()
__________________
ASUS P7P55D-E | Intel I5-760 @ 2.8GHz | Corsair XMS3 8Gb @ 1333MHz | WD Caviar Black 1TB | HIS Radeon 6850 | Corsair 750TX 750W | ASUS 24x DVD Burner | Antec Nine Hundred | ASUS VW246H 24" | Windows 7 Home Premium 64-bit |
|
|
|
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|