| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
||||
|
||||
|
How can i get a gap under my dynamic divs
hi,
code generates a div with results from database, it is 190px, and the container is 610px so i get 3 per row, as i have a gap of 10px data (gap) data (gap) and it looks fine, but how do i get a gap to run under all 3 and not add to the side. data (gap) data (gap) gap gap gap gap gap data (gap) data (gap) here is my code Code:
<div> <center><span class="prodtitle"><div style="height:12px;"><%=pDetails%></div></span></center><br> <center><span> <% If pImageUrl > "" Then Response.Write "<img src="""&StrUrl&"/catalog/"&pImageUrl&""" alt="""&pDetails&""">" Else Response.Write "<img src="""&StrUrl&"/catalog/imageNA_sm.gif"" alt="""&pDetails&""">" End IF %> </span></center><br> <span class="smalldesc"><%=pShortDesc%></span><br> <span> Price £<%=pPrice%></span> <span> Stock: <%=pStock%></span> </div> <Span class="searchspace"></span> <% Next End If %> </div> </div> <% 'main content %> thanks
__________________
A girl's best asset is her 'lie'ability. For Sale: Parachute. Only used once, never opened, small stain. that fold thing
|
|
#2
|
||||
|
||||
|
Add a margin to the right and bottom of x Div
__________________
Practice safe design all ways use a concept. If I have been helpful please click the scales. |
|
#3
|
||||
|
||||
|
how do i do that? is this in the CSS, and is this to the reapeating div yes! ta
|
|
#4
|
||||
|
||||
|
.imaclass {
margin-right: 5px; margin-bottom: 5px; } <div class="imaclass">Content for class "imaclass" Goes Here</div> |
![]() |
| Viewing: ASP Free Forums > Web Design > Web Layout > How can i get a gap under my dynamic divs |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|