Girard Ibanez
10-02-2006, 07:59 AM
Is there any thing wrong in using an empty div to separate <p> tags. I have pictures enclosed in Divs so that I can place a caption below the pix.
#blank {
border: none;
width: 100%;
height: .5em;
}
The problem is that if you have too many pictures and not enough paragraph text to separate the picture such as a news column, then it becomes crowded and the text does not flow nice.
The empty divs will act as a line separator or would it be correct to just place the pics and paragraghs inside the containing tag (.blank) and repeat this containment as necessary to make the pics and text flow nicely.
Since I will be using this numereous times per page, then I cannot use the div ID tag and must go with the .class tag. Is this correct?
Another solution would be to use the BR tag. Getting more confused ... need advice on proper solution.
Thanks,
girard
#blank {
border: none;
width: 100%;
height: .5em;
}
The problem is that if you have too many pictures and not enough paragraph text to separate the picture such as a news column, then it becomes crowded and the text does not flow nice.
The empty divs will act as a line separator or would it be correct to just place the pics and paragraghs inside the containing tag (.blank) and repeat this containment as necessary to make the pics and text flow nicely.
Since I will be using this numereous times per page, then I cannot use the div ID tag and must go with the .class tag. Is this correct?
Another solution would be to use the BR tag. Getting more confused ... need advice on proper solution.
Thanks,
girard