Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

CSS Forum


You are currently viewing our CSS Forum as a guest. Please register to participate.
Login



Reply
A Newbie Seeks Info About Images
Old 03-14-2008, 08:44 PM A Newbie Seeks Info About Images
Skilled Talker

Posts: 66
Trades: 0
I would like to know how I can go about coding in css a row of images with another row of images directly below the first? I would also like to know how to "stack" rows of images but still have text show without any interruption.

I have a rather large image that I am considering for a page. I know that large images take longer to load so I will probably chop it up into small bites. I am new at css and I have been trying to figure out how to do this, but it is kicking my butt big time. I can't find much about it on any of the tutorials I have read.

Any help, guideance, suggestions or advice would be greatly appreciated.

Thank you
JustAGuy is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 03-15-2008, 11:30 AM Re: A Newbie Seeks Info About Images
LadynRed's Avatar
Defies a Status

Posts: 10,016
Location: Tennessee
Trades: 0
Create a fixed-width div.
Create an unordered list and put the images in as the <li> items.
Float the <li> items, they'll line up next to each other. If you calculate the image sizes to fit and wrap inside the div, then the rows will stack.

That's just one method, you could also just float the images the same way.
Chopping the image into smaller pieces isn't going to help page load time a whole lot.

http://realworldstyle.com/thumb_float.html
http://www.alistapart.com/articles/practicalcss/
http://nostrich.net/archives/css-thumbnail-gallery/
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

LadynRed is offline
Reply With Quote
View Public Profile
 
Old 03-15-2008, 11:31 AM Re: A Newbie Seeks Info About Images
Webmaster Talker

Posts: 626
Trades: 0
do you have a screen shot of what you are trying to accomplish?
jim.thornton is offline
Reply With Quote
View Public Profile
 
Old 03-15-2008, 12:57 PM Re: A Newbie Seeks Info About Images
Skilled Talker

Posts: 66
Trades: 0
Thanks LadyNRed. By using an unordered list, I don't think the images will line up horizontally and stack vertically. I'll give it a try and see what happens.

Zincoxide, take a look here at http://vance.thebams.org/IMP/test.html

The code is probably not exactly right, but . . .

You'll see where the original background image ends. Then there is a lot of black all the way down to the copyright notice at the bottom of the page. I have made another image that is a sliver of the original background image to act as a filler type image that will fill the remaining area of the background and show the text as well.

You'll also notice that the way I have it figured out so far the text gets cut off on the bottom half of the page and I would love to be able to fix this instead of having to make a new background image that will cover the whole area.

I hope this makes sense.

Thanks
JustAGuy is offline
Reply With Quote
View Public Profile
 
Old 03-15-2008, 07:04 PM Re: A Newbie Seeks Info About Images
LadynRed's Avatar
Defies a Status

Posts: 10,016
Location: Tennessee
Trades: 0
Quote:
I don't think the images will line up horizontally and stack vertically.
It will if you do it the way I outlined
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

LadynRed is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to A Newbie Seeks Info About Images
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.24295 seconds with 12 queries