|
Posted by Chaddy2222 on 07/25/06 12:20
cwdjrxyz wrote:
> Michael Laplante wrote:
> > Beat my head in frustration for two days re-designing a site then discovered
> > the problem was that IE doesn't default to a border of 0 -- one of my stored
> > resource articles made mention of this fact and that you have to explicitly
> > set borders to 0 in IE.
> >
> > The problem is that I don't design often enough and I tend to forget these
> > little things when I start again. So I want to come up with a quick 'aide
> > memoire' for design that I can refer to before I start a design and this is
> > where I'm asking for help. What are your top three tips, tricks or hacks for
> > designing? I'll compile these into a one page "refresher" for me that I can
> > use before I start a new design. Can you help?
>
> I find that it is often little mistakes and typos that can waste the
> most time for me. People often tend to read what they thought they
> wrote, not what actually is there. Frequent use of the W3C html and css
> validators often will show up such errors before you waste a lot of
> time.
Yes, I have noticed that as well. Although, at times, the errors are
not explained all that well, I note the CSS background issues as an
example of this.
>
> I write much more Javascript than php. Much php looks much like
> Javascript - just enough like it to get you into trouble. When writing
> php I try to think "I am writing php, not Javascript at the end of each
> statement. For example all php statements must be closed with ";" while
> this is optional in some cases for Javascript. Solution: get in the
> habit of closing all Javascript statements with ";" also. Also
> differences in how variables are declared in Javascript and php can
> cause trouble if you do not pay strict attention to what you are doing.
Thanks for the advice.
I haven't done that much scripting myself, but I am hopeing to get in
to it a bit more with the unit of study I am doing at the moment.
--
Regards Chad. http://freewebdesign.cjb.cc
[Back to original message]
|