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 October 15th, 2005, 05:05 AM
raymondkwoods raymondkwoods is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Oct 2005
Location: California
Posts: 16 raymondkwoods User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 5 h 54 m 3 sec
Reputation Power: 0
Question DIV problem-Want rows of images with links directly below each image

I have run into yet another problem that I could use some help with. I solved this once before by just using a table but I really don't like using tables unless I really have to (I think they're evil ). What I am trying to do is query a database table that contains information on video clips. That's no problem.

I would then like to display an image with a link to the clip centered directly beneath the image for each video clip that is returned by the query. I want 5 rows of images with 4 images per row. My php file currently sends the following to the browser for each video clip:

HTML Code:
Original - HTML Code
    <span class="videoClip">    <div class="videoClipImage">       <a href="$clipPath"><img border="0" src="$clipImage" /></a>    </div>    <div class="videoClipTitle">       <a href="$clipPath">$clipLink</a>    </div> </span>


The problem is that I don't get 4 rows of images like I would like, only one big column. I can do it without the links but as soon as I try to center the links beneath the image I only get one long column instead of rows.

Any suggestions?

Reply With Quote
  #2  
Old October 15th, 2005, 11:00 AM
elijathegold's Avatar
elijathegold elijathegold is offline
Senior Fire Wizard
Click here for more information
 
Join Date: Feb 2005
Location: Ashford, Kent. England
Posts: 5,651 elijathegold User rank is Captain (20000 - 30000 Reputation Level)elijathegold User rank is Captain (20000 - 30000 Reputation Level)elijathegold User rank is Captain (20000 - 30000 Reputation Level)elijathegold User rank is Captain (20000 - 30000 Reputation Level)elijathegold User rank is Captain (20000 - 30000 Reputation Level)elijathegold User rank is Captain (20000 - 30000 Reputation Level)elijathegold User rank is Captain (20000 - 30000 Reputation Level)elijathegold User rank is Captain (20000 - 30000 Reputation Level)elijathegold User rank is Captain (20000 - 30000 Reputation Level)  Folding Points: 1709224 Folding Title: Super Ultimate Folder - Level 4Folding Points: 1709224 Folding Title: Super Ultimate Folder - Level 4Folding Points: 1709224 Folding Title: Super Ultimate Folder - Level 4Folding Points: 1709224 Folding Title: Super Ultimate Folder - Level 4Folding Points: 1709224 Folding Title: Super Ultimate Folder - Level 4Folding Points: 1709224 Folding Title: Super Ultimate Folder - Level 4Folding Points: 1709224 Folding Title: Super Ultimate Folder - Level 4Folding Points: 1709224 Folding Title: Super Ultimate Folder - Level 4Folding Points: 1709224 Folding Title: Super Ultimate Folder - Level 4
Time spent in forums: 2 Months 2 Weeks 2 Days 4 h 21 m 19 sec
Reputation Power: 301
Sounds like a perfect use of a table to me. It is after all tabular data.

Tables are not evil, but they can be used for great evil.
__________________
And he picked it all up... in his pick-up.





Friends of Shemzilla

Reply With Quote
  #3  
Old October 17th, 2005, 02:20 PM
grdnwesl's Avatar
grdnwesl grdnwesl is offline
Fuzzy but Ferocious User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Apr 2004
Location: The Restaurant at the end of the Universe
Posts: 222 grdnwesl User rank is Sergeant (500 - 2000 Reputation Level)grdnwesl User rank is Sergeant (500 - 2000 Reputation Level)grdnwesl User rank is Sergeant (500 - 2000 Reputation Level)grdnwesl User rank is Sergeant (500 - 2000 Reputation Level)grdnwesl User rank is Sergeant (500 - 2000 Reputation Level) 
Time spent in forums: 2 Days 18 h 54 m 35 sec
Reputation Power: 13
I was wrong. Nver mind

Last edited by grdnwesl : October 17th, 2005 at 02:43 PM. Reason: I was incorrect.

Reply With Quote
  #4  
Old November 7th, 2005, 11:18 PM
banker's Avatar
banker banker is offline
Charging Rhino Wizard
ASP Free Regular (2000 - 2499 posts)
 
Join Date: Dec 2004
Location: 127.0.0.1
Posts: 2,053 banker User rank is Sergeant Major (2000 - 5000 Reputation Level)banker User rank is Sergeant Major (2000 - 5000 Reputation Level)banker User rank is Sergeant Major (2000 - 5000 Reputation Level)banker User rank is Sergeant Major (2000 - 5000 Reputation Level)banker User rank is Sergeant Major (2000 - 5000 Reputation Level)banker User rank is Sergeant Major (2000 - 5000 Reputation Level) 
Time spent in forums: 5 Days 23 h 28 m 28 sec
Reputation Power: 36
<div> should not go inside of <span>! Bad, bad, bad!
__________________
ShepherdWeb :: Charging Rhino Wizard

I know of no more encouraging fact than the unquestionable ability of man to elevate his life by conscious endeavor.
{Henry David Thoreau}

§ shepherdweb.com
§ fariswheel productions
§ reagan administration

Reply With Quote
Reply

Viewing: ASP Free ForumsWeb DesignWeb Layout > DIV problem-Want rows of images with links directly below each image


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 4 hosted by Hostway
Stay green...Green IT