|
jurgen -> RE: CSS and DWT Problem (1/13/2007 20:19:24)
|
quote:
You are a very good teacher. It is beginning to make sense at last but not completely. The missing link is probably style sheets and divs. Let me admit that although I manage 20 simple websites produced with FP, because of the simplicity of FP especially with Shared Borders and Themes, I never wrote any codes for any of the websites. I am not frightened of coding because I am prepared to invest time to learn it Yes I know, with FP or DW or any other descent program, in design mode you can do web pages pretty quick and easy. You realy should look into the code of the sites you work on. Learning and knowing the code (which is actually the html code) will help you in the long run. Problem with design mode is that where ever you put your divs or layers the program thinks that's where you want it to be and creates the absolute position code for you. quote:
1. Does the style sheet control the positioning? How do I edit the code? You can control the position, and for that matter anythings else, with your styles. In your case the styles are in your html code between <style type="text/css"> and </style>. Other styles are scattered all over the code like font face or color. You can edit (add) easily more styles or different styles right between your style tags. As I said earlier the styles are within your html code. Now think about it: You can take the style code and put it in a seperate file called a style sheet. And now you link all your other pages to this file. Guess what, if you need to change anything - background color, fonts, size, etc you just have to change it in this file once and all other pages will be edited for that. It sure comes in handy when you have 50+ pages. unless you want to go back to every page and change what you need to change..... [:D] quote:
2. What will be the effect of putting the footer layer or div inside the main content layer? This is actually not to much of an effect. But again imagine that as an example: Your main content layer is styled for a certain font size and color. Any other layer or div will have the same style and you don't have to worry about it. quote:
3. Can I edit my copy or content in Ms Word and copy and paste directly into EW? I would not advice to do it. You should rather use notepad or wordpad in plain text format. Word is putting many unseen coding in the document and it most probaly will screw up the copy. - J
|
|
|
|