tag is not well qualified and very confusing.
Use "position:absolute/relative", set "top:#px", "left:#px".
Check details on www.w3schools.com on "div" and "position"
You can also use style for div where
'background-image:url("full url");'
There are several background types: for div, tables, body etc...
You confuse them!
Your: body{margin: 0 auto; width: 100%}
"width????" Body uses the whole width.
To center your division, get the width of the user's screen (another serious bit of code that works differently with all browsers and will NOT work with CSS).
Your "div" may become:
"
";
+ other parameters if required.
PS: Use CSS if you want to keep consistency between pages on a complex website, otherwise, DEFINE the stuff as you go along. Much less confusing.
2007-12-29 06:39:14
·
answer #1
·
answered by just "JR" 7
·
0⤊
0⤋