View Single Post
Old 2006-09-06, 05:43 PM   #14
Mr. Blue
Searching for Jimmy Hoffa
 
Mr. Blue's Avatar
 
Join Date: Jan 2005
Location: Long Island, NY
Posts: 771
Quote:
Originally Posted by cockhungryhoes View Post
Thanks Greenie, and Mr. Blue

I am using dw8. I am using the layers set at 100%, then nesting tables in there at 50%. I have tried several different ways and if I dont do it this way the browser width gets thrown off. I went and learned some HTML since I was lacking in it. I am still learning it. I now just started reading about CSS. I used the CSS because I didnt see any other way to get the look (wall paper) and such any other way.
Okay, I thought you were using Dreamweaver 8. DW8 is a great program, but you need to know what you're doing with it and you need to shut off some advanced features because every time you want to make a font change, etc, it's creating a new style for it and cluttering up the coding.

First, go to Edit>Preferences>General> Untick the box that says Use CSS Instead of HTML tags. This doesn't mean you can't use CSS, but you should be adding it as you need it, not letting dreamweaver go nuts with it.

Second thing you need to do...you're not defining the whole page in CSS (you could if you want) but I'm pretty sure you're new to building webpages? Since you're using a table anyway it's kind of defeating the purpose of all that css. My suggestion is lose the css for the positioning for now...you have a table, just work with that and basic html elements for a bit. Add css as you learn it, it's great for style elements and as you get more comfortable with css you can start fiddling around with doing completely pages in css with no tables at all

Also always include css in a stylesheet instead of the actual page (unless it's just a little amount used, but your page is a swamp of css at the moment).

Another thing, define the .style's so you know what they're for...meaning descriptive names help. If I'm doing say sales text I'll use a css that's kind of self-explanatory .salestext etc, lol, it' just makes it easier when or if you need to change things around later.

That page though, do in html, add a little css if you want, but learn to walk before you run
__________________
69Blue.com
ICQ #223487665

Last edited by Mr. Blue; 2006-09-06 at 05:45 PM..
Mr. Blue is offline   Reply With Quote