Click to See Complete Forum and Search --> : What a mess. Got rid of tables but yuck!!


boutte
01-29-2007, 02:27 PM
I originally built this site using tables which several members of the board pointed out is not setting a good example for beginning web designers who visit my site. So I rebuilt using css. Although I've managed to get it to look presentable the code is a mess. I've got divs inside of divs inside of divs. The css page is particularly bad. It looks right in Ie (heard this before?) but not in other browsers. I'm going to study up some more and then reuild it but in the mean time I appreciate any suggestions. I'd really like to get this site on it's own domain and start trying get some traffic and hopefully make money.

Look at this in IE to see how it's supposed to look, then check it in Opera or whatever.
http://boutte.awardspace.com/css.html

Thanks

KDLA
01-29-2007, 02:35 PM
It's not as bad as you think, although I'm surprised that a web designer writing about CSS doesn't know how to use it. :p
You need to apply a wrapper to encase your coding, and then apply a background of #fff.

KDLA

boutte
01-29-2007, 03:09 PM
It's not as bad as you think, although I'm surprised that a web designer writing about CSS doesn't know how to use it. :p
You need to apply a wrapper to encase your coding,
and then apply a background of #fff.

KDLA
I'm not really trying to teach people how to write. I'm trying to build a great reference for point for people to find solutions. In other words if they're looking for a good tutorial I want them to be able to find a link. If you have any good links please pass them on. I really want to provide quality stuff to my visitors.

"You need to apply a wrapper to encase your coding," Please explain

This is the first I've built in 6years, I could do all kinds of neat stuff with tables but now it's a new day I guess.

Thanks

boutte
01-29-2007, 04:17 PM
KDA
I just noticed your sig. I'll check it out.

drhowarddrfine
01-29-2007, 11:54 PM
Your doctype is incorrect and is in quirks mode. See my link below. Then validate for a list of your errors.

felgall
01-30-2007, 02:44 AM
Next time you start creating a web page start by writing semantic HTML where the tags identify what they contain. Properly downe HTML and CSS should require very few div tags. Most web sites using CSS have about 10 times as many div tags or more as they actually need since all of the tags you already have on the page are usually all that you need to attach the ids and classes to in order to get the stylesheet to work.

boutte
01-30-2007, 10:26 AM
Your doctype is incorrect and is in quirks mode. See my link below. Then validate for a list of your errors.
There are a lot of doctypes there. How do I know which one to use?