I Can't Code |
|
Tim
Joined: Nov 16 2003 Posts: 10360 Location: Kalamazoo, MI 1998 Pontiac Grand Am Last updated: 03/11/07 |
Are you sure you want to delete this post?
I'm having some trouble. I'll give a cookie to the person who can help me out.
My problem:
As you can see, the box with the dashed border doesn't grow with the content inside it. The code:
|
|
Aken
Joined: Feb 12 2003 Posts: 9570 |
Are you sure you want to delete this post?
This should work. Let me know if it doesn't.
You need to add a "clear" div in order to tell the container to expand to the width of the content.
|
|
Aken
Joined: Feb 12 2003 Posts: 9570 |
Are you sure you want to delete this post?
You could also add in a separate class for the thumbnail images, and remove some excess HTML. Something like....
|
|
Tim
Joined: Nov 16 2003 Posts: 10360 Location: Kalamazoo, MI 1998 Pontiac Grand Am Last updated: 03/11/07 |
Are you sure you want to delete this post?
Works great. Guess I need to do some reading on the clear:both attribute. Thanks.
|
|
Aken
Joined: Feb 12 2003 Posts: 9570 |
Are you sure you want to delete this post?
Yup. Check out clear: left and clear:right, too. They come in handy at weird times.
|
|
Tim
Joined: Nov 16 2003 Posts: 10360 Location: Kalamazoo, MI 1998 Pontiac Grand Am Last updated: 03/11/07 |
Are you sure you want to delete this post?
|
|
Aken
Joined: Feb 12 2003 Posts: 9570 |
Are you sure you want to delete this post?
Site isn't anything fancy, but looks like it does what you want it to.
I'll give you a subdomain if you want. Lots of space and bandwidth to share. |
|
Tim
Joined: Nov 16 2003 Posts: 10360 Location: Kalamazoo, MI 1998 Pontiac Grand Am Last updated: 03/11/07 |
Are you sure you want to delete this post?
Yeah, I really didn't want it to be anything fancy. Just pretty straight forward and clean. I still might change some things, like navigation buttons instead of the text links up top. If anyone has any suggestions, I'm all up for them.
|
|
Kevin_S
Joined: Jul 20 2003 Posts: 2751 Location: WV 2004 Chevrolet Cavalier Last updated: 02/04/09 |
Are you sure you want to delete this post?
ill give you hosting, domain (voolia.com), php support, and unlimited mysql db's for a few months (3 or 4)
aim: kevinsmoo or pm me |
|
Brandon
Joined: Jun 04 2003 Posts: 4185 Location: St. Louis, MO 1994 Mazda MX-3 Last updated: 09/06/06 2005 Geo Metro Last updated: 06/16/04 2006 Subaru Legacy Last updated: 06/18/06 |
Are you sure you want to delete this post?
Remove the very first line of your code. Your page is NOT an XML document. xHTML !== XML. Internet Explorer will be kicked to "quirks mode" if the very first line of the document is not your doc type (no exceptions), and that can cause more headaches than anything else you will ever come across. |
|
Tim
Joined: Nov 16 2003 Posts: 10360 Location: Kalamazoo, MI 1998 Pontiac Grand Am Last updated: 03/11/07 |
Are you sure you want to delete this post?
ah, good to know. Here's an updated copy. I've made changes since it was first posted.
|
|
Brandon
Joined: Jun 04 2003 Posts: 4185 Location: St. Louis, MO 1994 Mazda MX-3 Last updated: 09/06/06 2005 Geo Metro Last updated: 06/16/04 2006 Subaru Legacy Last updated: 06/18/06 |
Are you sure you want to delete this post?
Much improved. What's
|
|
Tim
Joined: Nov 16 2003 Posts: 10360 Location: Kalamazoo, MI 1998 Pontiac Grand Am Last updated: 03/11/07 |
Are you sure you want to delete this post?
I could probably use a <img> tag. For some reason I thought this would be better. I dunno, I'm a newb coder. |
|
Brandon
Joined: Jun 04 2003 Posts: 4185 Location: St. Louis, MO 1994 Mazda MX-3 Last updated: 09/06/06 2005 Geo Metro Last updated: 06/16/04 2006 Subaru Legacy Last updated: 06/18/06 |
Are you sure you want to delete this post?
KISS - Keep It Simple on Sunday's (or something like that
|
|
Aken
Joined: Feb 12 2003 Posts: 9570 |
Are you sure you want to delete this post?
Keep It Simple, Stupid!
FYI: Try using a hierarchy when writing your code - don't make it all on in one column. It'll be easier to follow. For example, look at mine: www.akeninc.com Last edited by Aken on Fri Dec 21, 2007 6:23 pm, edited 1 time in total |
|
BLAZER_97
Joined: Apr 10 2007 Posts: 1481 Location: Decatur TX 1997 Chevrolet Blazer Last updated: 07/08/09 1991 Isuzu Impulse Last updated: 06/12/07 |
Are you sure you want to delete this post?
woa
|
|
Kevin_S
Joined: Jul 20 2003 Posts: 2751 Location: WV 2004 Chevrolet Cavalier Last updated: 02/04/09 |
Are you sure you want to delete this post?
there's somewhat of a hierarchy to my coding (
I do need to do some cleaning, though... |
|
RadioFlyer1998
Joined: Jun 25 2004 Posts: 341 Location: Phoenixville, PA 1998 Ford Escort Last updated: 08/12/06 1996 Ford Escort Last updated: 04/24/07 |
Are you sure you want to delete this post?
CSS makes the world go round.
|
|
Aken
Joined: Feb 12 2003 Posts: 9570 |
Are you sure you want to delete this post?
Unless you're Kevin
|
|
Chris
Joined: Sep 27 2004 Posts: 2023 Location: NY 1993 Mitsubishi Eclipse Last updated: 11/06/06 1984 Mazda RX-7 Last updated: 04/28/09 |
Are you sure you want to delete this post?
Or me. ^
|
|
Aken
Joined: Feb 12 2003 Posts: 9570 |
Are you sure you want to delete this post?
At least you WANT to use CSS. Kevin just gets confused and says screw it
|
|
RadioFlyer1998
Joined: Jun 25 2004 Posts: 341 Location: Phoenixville, PA 1998 Ford Escort Last updated: 08/12/06 1996 Ford Escort Last updated: 04/24/07 |
Are you sure you want to delete this post?
Now a days there is almost now way around using css. It's the greatest tool for web designers everywhere. Code the website once, make changes to the external style sheet, brand new look. I love it.
|
|
Kevin_S
Joined: Jul 20 2003 Posts: 2751 Location: WV 2004 Chevrolet Cavalier Last updated: 02/04/09 |
Are you sure you want to delete this post?
Sounds like we'd get along lol... I think CSS is beautiful is you want to pour in hours upon hours of trial and error "pixel hunting"... if I'm going to do that, why not just use flash and js and go all out? css is a fad in the "web 2.0" world. I can't wait until something replaces it. |
|
Aken
Joined: Feb 12 2003 Posts: 9570 |
Are you sure you want to delete this post?
The only pixel hunting I do is when I use an element I don't do very often, and has different padding and margin properties in different browsers (fieldset comes to mind). If you know what you're doing, there's very little problem solving involved because you already know the problems and how to avoid them
|
|
Chris
Joined: Sep 27 2004 Posts: 2023 Location: NY 1993 Mitsubishi Eclipse Last updated: 11/06/06 1984 Mazda RX-7 Last updated: 04/28/09 |
Are you sure you want to delete this post?
Thats the thing....if you know what youre doing.
|
|
RadioFlyer1998
Joined: Jun 25 2004 Posts: 341 Location: Phoenixville, PA 1998 Ford Escort Last updated: 08/12/06 1996 Ford Escort Last updated: 04/24/07 |
Are you sure you want to delete this post?
While flash sites and such are flashy, you can't optimize them for web use well. Search engines cannot pick them up like they can with a standards based xhtml site. And what the heck is pixel hunting? CSS is so easy to use. Plus I'd like to see how well you can program actionscript 3.0. Is that just a fad too?
|
|
Kevin_S
Joined: Jul 20 2003 Posts: 2751 Location: WV 2004 Chevrolet Cavalier Last updated: 02/04/09 |
Are you sure you want to delete this post?
Flash/ajax style websites are the future. Let's see some of your work |
|
Chris
Joined: Sep 27 2004 Posts: 2023 Location: NY 1993 Mitsubishi Eclipse Last updated: 11/06/06 1984 Mazda RX-7 Last updated: 04/28/09 |
Are you sure you want to delete this post?
Flash is already here. More and more sites are using that and it gets irritating. You hit the back button and you go back to wherever you started from, in my case anyways. Radio - I want to see some of your work. Youre talking great about it but I have never seen any of it, ever. Im just curious as to what you do. Im not flaming or anything, lol. |
|
Kevin_S
Joined: Jul 20 2003 Posts: 2751 Location: WV 2004 Chevrolet Cavalier Last updated: 02/04/09 |
Are you sure you want to delete this post?
Yeah, I agree -- flash can be very annoying if it's not done properly/"overdone"
|
|
RadioFlyer1998
Joined: Jun 25 2004 Posts: 341 Location: Phoenixville, PA 1998 Ford Escort Last updated: 08/12/06 1996 Ford Escort Last updated: 04/24/07 |
Are you sure you want to delete this post?
The next version of html, html 5, is built around the way we use css.
Sorry, flash is not the future, you just can't optimize it for search engines. Don't get me wrong, I love flash, I just coded four games in AS 3.0, but in the professional world, companies want optimization. |
|
Kevin_S
Joined: Jul 20 2003 Posts: 2751 Location: WV 2004 Chevrolet Cavalier Last updated: 02/04/09 |
Are you sure you want to delete this post?
Optimization will come -- both from the search giants and from software giants. [sarcasm/humor]I also believe we will be flying on waffles by the year 2054...[/sarcasm/humor] |
|
RadioFlyer1998
Joined: Jun 25 2004 Posts: 341 Location: Phoenixville, PA 1998 Ford Escort Last updated: 08/12/06 1996 Ford Escort Last updated: 04/24/07 |
Are you sure you want to delete this post?
And since my work somehow reflects on how much I know about the field, you have to wait. I'm building my portfolio now. I'm going to try to put bits and pieces of things everywhere.
|
|
Kevin_S
Joined: Jul 20 2003 Posts: 2751 Location: WV 2004 Chevrolet Cavalier Last updated: 02/04/09 |
Are you sure you want to delete this post?
http://mysite.verizon.net/apfelkuchen/ from profile
http://web.pasd.k12.pa.us/phantomband/ quick google edit: not picking or anything -- just having conversation about webdesign and future trends. It's interesting to trade ideas and share work. Aken and I had a funny conversation a week or so ago about how sucky our websites were only a few years ago (and how sucky mine still are LOL!) Last edited by Kevin_S on Sat Dec 22, 2007 8:48 pm, edited 1 time in total |
|
RadioFlyer1998
Joined: Jun 25 2004 Posts: 341 Location: Phoenixville, PA 1998 Ford Escort Last updated: 08/12/06 1996 Ford Escort Last updated: 04/24/07 |
Are you sure you want to delete this post?
verizon site is garbage, plus no room, they only give me 5MB of space. PAHS band i did with my mother a few years ago.
|
|
Tim
Joined: Nov 16 2003 Posts: 10360 Location: Kalamazoo, MI 1998 Pontiac Grand Am Last updated: 03/11/07 |
Are you sure you want to delete this post?
I don't really think CSS is a fad which will soon be replaced.
Then again, I don't know a lot. Just my opinion. |
|
Kevin_S
Joined: Jul 20 2003 Posts: 2751 Location: WV 2004 Chevrolet Cavalier Last updated: 02/04/09 |
Are you sure you want to delete this post?
It has definitely made its place in "history" -- I love to check smashingmagazine.com just to see what beautiful things are being done with css...
|
|
RadioFlyer1998
Joined: Jun 25 2004 Posts: 341 Location: Phoenixville, PA 1998 Ford Escort Last updated: 08/12/06 1996 Ford Escort Last updated: 04/24/07 |
Are you sure you want to delete this post?
www.alistapart.com is my source and go to place about web stuffs.
|
|
Tim
Joined: Nov 16 2003 Posts: 10360 Location: Kalamazoo, MI 1998 Pontiac Grand Am Last updated: 03/11/07 |
Are you sure you want to delete this post?
Alright ladies...
"font-size: " px vs em GO! |
|
Kevin_S
Joined: Jul 20 2003 Posts: 2751 Location: WV 2004 Chevrolet Cavalier Last updated: 02/04/09 |
Are you sure you want to delete this post?
em from what I know.
When I did read what I studied on css, I personally believe using percentages is best. Aken the css geek needs to get his ass in here...it's like he's trying to have a life off the computer or something... |
|
RadioFlyer1998
Joined: Jun 25 2004 Posts: 341 Location: Phoenixville, PA 1998 Ford Escort Last updated: 08/12/06 1996 Ford Escort Last updated: 04/24/07 |
Are you sure you want to delete this post?
Depends on what you want to do. Pixels are static and do not adjust based on font size. You can use ems for more than text. If you a building a site with accessibility in mind (like vision impairment), it's best to size things based on ems. This way everything scales based on the em size.
|