Go Back   CodingForums.com > :: Client side development > HTML & CSS

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 11-01-2009, 08:06 PM   PM User | #1
R0CKY
New to the CF scene

 
Join Date: Nov 2009
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
R0CKY is an unknown quantity at this point
Tryng to move away from tables - help with layout...

Hi

I am working on a redesign for my site and am really keen to stop using tables for the layout and start using CSS more.

I am not at all sure where to start for the following kind of layout...



The rows are popluated from a database with an image first, then a box that has a text title in the top and a description in the bottom. The top and bottom text boxes have different bg colours, (or maybe even an image bg.)

Can someone get me started with this, any help would be much appreciated!

Thanks.
R0CKY is offline   Reply With Quote
Old 11-01-2009, 08:11 PM   PM User | #2
drhowarddrfine
Senior Coder

 
Join Date: Oct 2005
Posts: 1,340
Thanks: 0
Thanked 61 Times in 60 Posts
drhowarddrfine can only hope to improve
Some things are meant to be used in tables and this can be one of them but you can look at it and also say it's a list. So you can make it an unorder list of titles:
<ul>
<li><img src="1">title1<p>Info1</p></li>
<li>etc</li>
</ul>
drhowarddrfine is offline   Reply With Quote
Old 11-01-2009, 10:39 PM   PM User | #3
bazz
Master Coder

 
Join Date: Apr 2003
Location: in my house
Posts: 5,211
Thanks: 39
Thanked 201 Times in 197 Posts
bazz will become famous soon enoughbazz will become famous soon enough
Quote:
Originally Posted by drhowarddrfine View Post
Some things are meant to be used in tables and this can be one of them.

I agree that this is one occasion where tables are perfectly acceptable. Indeed, I use tables for a basically, identical layout

bazz
__________________
"The day you stop learning is the day you become obsolete"! - my late Dad.

Why do some people say "I don't know for sure"? If they don't know for sure then, they don't know!
Useful MySQL resource
Useful MySQL link
bazz is offline   Reply With Quote
Old 11-01-2009, 10:59 PM   PM User | #4
R0CKY
New to the CF scene

 
Join Date: Nov 2009
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
R0CKY is an unknown quantity at this point
Tables it is, thanks guys.
R0CKY is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 10:36 AM.


Advertisement
Log in to turn off these ads.