Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 4 of 4
  1. #1
    New to the CF scene
    Join Date
    Nov 2009
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    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.

  • #2
    Senior Coder
    Join Date
    Oct 2005
    Posts
    1,340
    Thanks
    0
    Thanked 61 Times in 60 Posts
    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>

  • #3
    Master Coder
    Join Date
    Apr 2003
    Location
    in my house
    Posts
    5,211
    Thanks
    39
    Thanked 201 Times in 197 Posts
    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

  • #4
    New to the CF scene
    Join Date
    Nov 2009
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Tables it is, thanks guys.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •