HestonJames
Programmer
Hello Guys,
I'm looking for a little help on how to position this div the way I want it, thought I would ask for your advice. Lets say I have two div's on my page, they look like this:
Now, what I want to do is introduce a 3rd div which overlaps them both and also contains some text, like so:
Ideally I want the final result to look something like this:
I'd appreciate your advice on how best to achieve this.
Cheers again guys,
Heston
I'm looking for a little help on how to position this div the way I want it, thought I would ask for your advice. Lets say I have two div's on my page, they look like this:
Code:
<div id="div1">
</div>
</div id="div2">
</div>
#div1 {
width:100%
height:300px;
}
#div2 {
width:100%
height:300px;
}
Now, what I want to do is introduce a 3rd div which overlaps them both and also contains some text, like so:
Code:
<div id="div1">
</div>
[COLOR=#ff0000]
<div id="div3">
Some Text
</div>[/color]
</div id="div2">
</div>
#div1 {
width:100%
height:300px;
}
#div2 {
width:100%
height:300px;
}
[COLOR=#ff0000]
#div3 {
padding:5px 20px 5px 20px;
}[/color]
Ideally I want the final result to look something like this:
I'd appreciate your advice on how best to achieve this.
Cheers again guys,
Heston