Gray
Oct 30th 2004, 5:39 am
Hi,
I have decided to take on the task of doing away with all tables in a site I look after in favour of CSS.
One basic table I use at the moment places three images across the screen, equi-spaced. I have a paragraph of text before and after this table.
I have re-created this using CSS, but the paragraph of text that follows the three <div>'s is behind the three images. What have I done wrong?
Can someone help me pleeeeeeease!
The CSS for the three <div>'s is below.
#left {
position: absolute;
text-align:center;
left:0%;
width:33%;
background:#032951;
}
#middle {
position: absolute;
text-align:center;
left:33%;
width:33%;
background:#032951;
}
#right {
position: absolute;
text-align:center;
left:66%;
width:33%;
background:#032951;
}
Thanks in advance,
Gray
I have decided to take on the task of doing away with all tables in a site I look after in favour of CSS.
One basic table I use at the moment places three images across the screen, equi-spaced. I have a paragraph of text before and after this table.
I have re-created this using CSS, but the paragraph of text that follows the three <div>'s is behind the three images. What have I done wrong?
Can someone help me pleeeeeeease!
The CSS for the three <div>'s is below.
#left {
position: absolute;
text-align:center;
left:0%;
width:33%;
background:#032951;
}
#middle {
position: absolute;
text-align:center;
left:33%;
width:33%;
background:#032951;
}
#right {
position: absolute;
text-align:center;
left:66%;
width:33%;
background:#032951;
}
Thanks in advance,
Gray