SitePoint Sponsor |
|
User Tag List
Results 1 to 6 of 6
Thread: OK. I'm feeling dumb....
-
Oct 15, 2003, 05:34 #1
- Join Date
- Nov 1999
- Location
- Mechanicsburg, PA
- Posts
- 7,294
- Mentioned
- 123 Post(s)
- Tagged
- 1 Thread(s)
OK. I'm feeling dumb....
I'm working on a site for some friends of mine and I thought it would be a great time for me to expand my css skills. I was having a great time working on it until I started to work on this page:
http://www.keystonecapitalchorus.org...fect/photo.htm
See how the photos aren't staying within the content div? Any ideas of what I'm doing (something stupid I'm sure)
This is the way I basically would like the page to come out (after some style is added of course). I could do it with the tables, but this is a learning experience so I'd prefer to do it with css if at all possible.
http://www.keystonecapitalchorus.org...ect/photo2.htmDave Maxwell - Manage Your Site Team Leader
My favorite YouTube Video! | Star Wars, Dr Suess Style
Learn how to be ready for The Forums' Move to Discourse
-
Oct 15, 2003, 05:38 #2
- Join Date
- Apr 2003
- Location
- Bath, UK
- Posts
- 353
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Without examining the code too much is it something about having floated images inside a containing div so that the divs height is not adjusted for the images ?
add a
HTML Code:<br style="clear: both" />
-
Oct 15, 2003, 05:53 #3
- Join Date
- Nov 1999
- Location
- Mechanicsburg, PA
- Posts
- 7,294
- Mentioned
- 123 Post(s)
- Tagged
- 1 Thread(s)
That will work. Is there any other way I could have coded that so it wouldn't require that extra break?
Dave Maxwell - Manage Your Site Team Leader
My favorite YouTube Video! | Star Wars, Dr Suess Style
Learn how to be ready for The Forums' Move to Discourse
-
Oct 15, 2003, 06:15 #4
- Join Date
- Apr 2003
- Location
- Bath, UK
- Posts
- 353
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Probably but not without making the design less fluid (i.e. specify more widths and heights) and I suspect that it is the simplist solution (and therefore the best)
-
Oct 15, 2003, 06:31 #5
Originally Posted by DaveMaxwell
.
Off Topic:
Also Dave, if you want the navbar links to go right next to each other without any extra space, remove the line breaks and tabs between your </li> and <li> tags
-
Oct 15, 2003, 06:35 #6
- Join Date
- Nov 1999
- Location
- Mechanicsburg, PA
- Posts
- 7,294
- Mentioned
- 123 Post(s)
- Tagged
- 1 Thread(s)
OK. I'll stick with it the way it is and just have the clear both after it. Thanks for the help.
Off Topic:
Thanks. I didn't take too much notice to the extra spaces, but I'll fix thatDave Maxwell - Manage Your Site Team Leader
My favorite YouTube Video! | Star Wars, Dr Suess Style
Learn how to be ready for The Forums' Move to Discourse
Bookmarks