Menu
hi, im completely new to .css – but in tutorials, its not clear at all how to use your own background, something as simple as that.
right now im using: (not .css)
<BODY background=”location”>
but seems only i see the background and no one else does lol.
Another question is that, a web page i just made = [url]www.freewebs.com/wayne_styla/links.html
[i]Originally posted by NewbieLearner [/i]
[B]ahh, thanks m8.... ive been linked to that webbie before, so i suppose its bound to be good.... ? [/B][/QUOTE]
[i]Originally posted by omega [/i]Wrong order, though...
[B]the syntax for a background would be
selector {background: url(location) color bottom/top left/right no/x/y-repeat?;} [/B][/QUOTE]
[i]Originally posted by omega [/i]
[B]that isnt css. thats js. [/B][/QUOTE]
[i]Originally posted by pyro [/i]
[B]Wrong order, though...
http://www.w3.org/TR/REC-CSS2/colors.html#propdef-background [/B][/QUOTE]
[i]Originally posted by omega [/i]
[B]you can. css just makes it easier...[/B][/QUOTE]
[i]Originally posted by pyro [/i]
[B]Wrong order, though...
http://www.w3.org/TR/REC-CSS2/colors.html#propdef-background [/B][/QUOTE]
<i>
</i><style type="text/css">
/*<![CDATA[*/
html, body {
background: url(images/background.jpg) #000 no-repeat fixed top center;
}
/*]]>*/
</style>
[i]Originally posted by omega [/i]
[B]Well I didn't review that script but I assume they use document.style.background, so they could just use document.body.background. it wouldn't be correct, per se, but it should work. [/B][/QUOTE]
[i]Originally posted by NewbieLearner [/i]
[B]Eh, thanks for the help guys, ive bookmarked the sites, nice debate ? [/B][/QUOTE]
[i]Originally posted by Paul Jr [/i]
[B]These "debates" tend to happen often and may get out of hand. ? ? [/B][/QUOTE]
yeah, it seems every thread I'm in is off topic... [/QUOTE]
[i]Originally posted by omega [/i]
[B]it may work but i think hes saying its not correct. like using bgcolor- it works, bbut its not right. [/B][/QUOTE]
[i]Originally posted by pyro [/i]
[B]You're kidding me, right? Just because something works does [i]not[/i] mean it's right... [/B][/QUOTE]
<a href="javascript:window.open("http://www.w3.org");">open</a>
<a href="http://www.w3.org" onclick="window.open(this.href); return false;">open</a>
[i]Originally posted by pyro [/i]
<a href="javascript:window.open("http://www.w3.org");">open</a>
Is that right? Nope ... [/QUOTE]
[i]Originally posted by etLux [/i]
[B]That's example of what [I]does not work[/I] (in browsers with JavaScript disabled).
[/B][/QUOTE]
0.1.9 — BETA 5.14