|
Posted by Andy Dingley on 10/02/06 16:08
richard wrote:
> So each time I make a change, add one?
If you're expecting public help with them, then yes.
> Ok. So in a week I could have example_999.tml.
We'd either have fixed it by then, or grown bored and wandered off !
> What's different?
Stop trying to invent this from scratch, go find a good example, use
that, then modify it.
You need to read the group archives before you'll get sensible replies
re: the CSS - otherwise lots of people will just point out the glaring
errors that are discussed ten times a week.
As it stands, then you're rife with fixed-widths and sizes in pixels.
Your doctype and encoding are bogus. Your font names are unquoted and
the sizes are in points. You aren't setting background colours where
needed.
Obvious visible errors are that the "centred" globe image is only
centred for one window width. Also the RHS padding box "something" is
clearing below, so it's overlapping the "menu" text.
Most significantly, you're enclosing everything in a multiplicity of
<div>, _except_ "Body Content", the thing that really needs it. This
will make it hard to apply CSS to "Body Content" alone without
affecting the other page components.
Strip it down, make it simpler, get it working first. Don't throw
<div>s everywhere unless each and every one is _for_ something.
#container and #a2text are superfluous. Or just use an existing example
page.
Thanks though for using valid HTML and for embedding the CSS inside the
page (bad practice long term, but it makes development examples easier
to read).
Navigation:
[Reply to this message]
|