Web Layout
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
 
User Name:
Password:
Remember me
Go Back   ASP Free ForumsWeb DesignWeb Layout

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread ASP Free Forums Sponsor:
  #1  
Old March 7th, 2006, 03:44 AM
minus4's Avatar
minus4 minus4 is offline
short arse brainiac
ASP Free Novice (500 - 999 posts)
 
Join Date: Jun 2005
Location: Leeds UK
Posts: 577 minus4 User rank is Sergeant Major (2000 - 5000 Reputation Level)minus4 User rank is Sergeant Major (2000 - 5000 Reputation Level)minus4 User rank is Sergeant Major (2000 - 5000 Reputation Level)minus4 User rank is Sergeant Major (2000 - 5000 Reputation Level)minus4 User rank is Sergeant Major (2000 - 5000 Reputation Level)minus4 User rank is Sergeant Major (2000 - 5000 Reputation Level)  Folding Points: 800 Folding Title: Novice Folder
Time spent in forums: 4 Days 1 h 39 m 38 sec
Reputation Power: 30
Send a message via MSN to minus4
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

Reply With Quote
  #2  
Old March 7th, 2006, 07:45 AM
Sluap's Avatar
Sluap Sluap is offline
Mooing Wizard
ASP Free Beginner (1000 - 1499 posts)
 
Join Date: Jul 2005
Location: Somewhere in England
Posts: 1,205 Sluap User rank is Second Lieutenant (5000 - 10000 Reputation Level)Sluap User rank is Second Lieutenant (5000 - 10000 Reputation Level)Sluap User rank is Second Lieutenant (5000 - 10000 Reputation Level)Sluap User rank is Second Lieutenant (5000 - 10000 Reputation Level)Sluap User rank is Second Lieutenant (5000 - 10000 Reputation Level)Sluap User rank is Second Lieutenant (5000 - 10000 Reputation Level)Sluap User rank is Second Lieutenant (5000 - 10000 Reputation Level) 
Time spent in forums: 4 Days 4 h 3 m 19 sec
Reputation Power: 55
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.

Reply With Quote
  #3  
Old March 7th, 2006, 08:43 AM
minus4's Avatar
minus4 minus4 is offline
short arse brainiac
ASP Free Novice (500 - 999 posts)
 
Join Date: Jun 2005
Location: Leeds UK
Posts: 577 minus4 User rank is Sergeant Major (2000 - 5000 Reputation Level)minus4 User rank is Sergeant Major (2000 - 5000 Reputation Level)minus4 User rank is Sergeant Major (2000 - 5000 Reputation Level)minus4 User rank is Sergeant Major (2000 - 5000 Reputation Level)minus4 User rank is Sergeant Major (2000 - 5000 Reputation Level)minus4 User rank is Sergeant Major (2000 - 5000 Reputation Level)  Folding Points: 800 Folding Title: Novice Folder
Time spent in forums: 4 Days 1 h 39 m 38 sec
Reputation Power: 30
Send a message via MSN to minus4
how do i do that? is this in the CSS, and is this to the reapeating div yes! ta

Reply With Quote
  #4  
Old March 8th, 2006, 06:11 AM
Sluap's Avatar
Sluap Sluap is offline
Mooing Wizard
ASP Free Beginner (1000 - 1499 posts)
 
Join Date: Jul 2005
Location: Somewhere in England
Posts: 1,205 Sluap User rank is Second Lieutenant (5000 - 10000 Reputation Level)Sluap User rank is Second Lieutenant (5000 - 10000 Reputation Level)Sluap User rank is Second Lieutenant (5000 - 10000 Reputation Level)Sluap User rank is Second Lieutenant (5000 - 10000 Reputation Level)Sluap User rank is Second Lieutenant (5000 - 10000 Reputation Level)Sluap User rank is Second Lieutenant (5000 - 10000 Reputation Level)Sluap User rank is Second Lieutenant (5000 - 10000 Reputation Level) 
Time spent in forums: 4 Days 4 h 3 m 19 sec
Reputation Power: 55
.imaclass {
margin-right: 5px;
margin-bottom: 5px;
}

<div class="imaclass">Content for class "imaclass" Goes Here</div>

Reply With Quote
Reply

Viewing: ASP Free ForumsWeb DesignWeb Layout > How can i get a gap under my dynamic divs


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 3 hosted by Hostway
Stay green...Green IT