Topic: background-repeat (Page 1 of 1) |
|
---|---|
Paranoid (IV) Inmate From: NZ |
![]() Hi, people. How are ya? Would you please see this: |
Paranoid (IV) Inmate From: NZ |
![]() And do you know what "id selector" is? Would you please tell me? |
Bipolar (III) Inmate From: Richmond, VA |
![]() "background-repeat: repeat-x" means that the browser will repeat the background image horizontally only. |
Maniac (V) Mad Scientist with Finglongers From: Cell 53, East Wing |
![]() Hiroki: The specs are a good place to read up on this as they explain things well and with diagrams: |
Maniac (V) Inmate From: under the bed |
![]() And these are a must read if you're going to delve into CSS - |
Maniac (V) Inmate From: Seoul, Korea |
![]() Just as a minor clarification on what Shard said, ID selectors are not normally used only once per page, they are always used only once per page. I'm pretty sure it won't work if you try to use an ID more than once (although I don't think I've actually ever tried that). |
Lunatic (VI) Mad Scientist From: Massachusetts, USA |
![]() Well... *ID's* are only used once per page. Meaning that the "something" in the HTML attribute id="something" can only be used once, the next one must be id="somethingelse", etc. |
Paranoid (IV) Inmate From: NZ |
![]() thank you, guys. Have a good day. |
Maniac (V) Inmate From: Seoul, Korea |
![]() Heh... yup, once again, Slime saves the day. That's what I meant to say (and probably what Shard meant to say, too). |
Lunatic (VI) Mad Scientist From: Massachusetts, USA |
![]() I figured it was; I just wanted to clear up a potential vocabulary issue which could come back to haunt us =) |
Bipolar (III) Inmate From: Richmond, VA |
![]() Yeah, that's what I was going after too. And just to clarify my first post a bit... I'm still relatively new to CSS. What I said in my first post was an indirect quote from the book "DHTML and CSS for the World Wide Web" by Jason Cranford Teague. I didn't feel the need to quote directly because I felt I could sum up the idea in the book with my own words. Anyway, the direct quote is: quote:
|
Maniac (V) Inmate From: Seoul, Korea |
![]() That's interesting, Shard. I wonder why the "normally" got stuck in there. I'm guessing that it's one of those unnecessary modifiers writers stick in for no good reason (like "literally"), but I can't be sure. |
Lunatic (VI) Mad Scientist From: Massachusetts, USA |
![]() Maybe there's some really obscure case where you have two XHTML documents within a single XML document, and there's the same element with the same ID in each of them... but I'm skeptical. I'm pretty sure it's just an unnecessary modifier, as you said =) |
Maniac (V) Inmate From: under the bed |
![]() Yup =) |
Maniac (V) Inmate From: Seoul, Korea |
![]() Ah, good. I feel better now. |
Bipolar (III) Inmate From: Richmond, VA |
![]() This one had me a little confused. Thanks for pointing us in the correct direction Suho, Slime, and DL. |