Register

If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Results 1 to 4 of 4

Thread: div tag layout

  1. #1
    Junior Member
    Join Date
    Jan 2009
    Posts
    9
    Member #
    18064
    Hello,

    I am somewhat new to web design and am running into some problems.

    I am building a page that has multiple thumbnail size images that all need text aligned to the right of each thumbnail. I am having trouble with the div layout and css for this particular page. Here is a rough sketch of the layout I would like to have.
    If there is an easier way to do this, please help!

    http://i158.photobucket.com/albums/t...noukx/HELP.jpg

    Thank you so much!!

    Matt Jones

  2.  

  3. #2
    Senior Member jyuill's Avatar
    Join Date
    Jan 2009
    Location
    California
    Posts
    145
    Member #
    18049
    Float the image to the right.
    Semantic, Valid, and Accessible Design!


  4. #3
    Junior Member
    Join Date
    Jan 2009
    Posts
    9
    Member #
    18064
    I have already tried that, and it just pushes the images to the right as well.

  5. #4
    Senior Member aeroweb99's Avatar
    Join Date
    Feb 2008
    Location
    Port Huron, Michigan
    Posts
    1,037
    Member #
    16468
    Liked
    1 times
    If you float the image to the left, as in your diagram, your text will flow to the right of the image. Use css to control padding and margins. Use class so you can use it more than once. More complicated ways involve using an UL or putting each item in its own div.


Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT -6. The time now is 09:00 AM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com