Note on the theme.

Comment on our website's front-page headlines.
User avatar
Maglok
Xel'naga World Shaper
Xel'naga World Shaper
Posts: 1312
Joined: Sun May 20, 2007 12:48 pm
Location: The Netherlands

Re: Note on the theme.

Post by Maglok »

You can beep me for CSS help Lavvz, but I am not doing all the work for you. :)
- Maglok
Audio engineer and writer
SC2 campaign dev ranting: The Bunker blog
User avatar
Lavarinth
Xel'naga Administrator
Xel'naga Administrator
Posts: 6539
Joined: Wed Aug 16, 2006 5:21 pm
Location: His Ashworld Planet

Re: Note on the theme.

Post by Lavarinth »

I'll show you what I have next time we talk or send you a PM- Actually, look on the staff forum, you can see the situation/problem. Also- If you know the CSS attributes to make a specific area of an image repeat (used to not require cutting of some images) that would help out a lot.
- - Lavarinth
Campaign Creations Administrator
User avatar
Maglok
Xel'naga World Shaper
Xel'naga World Shaper
Posts: 1312
Joined: Sun May 20, 2007 12:48 pm
Location: The Netherlands

Re: Note on the theme.

Post by Maglok »

- Maglok
Audio engineer and writer
SC2 campaign dev ranting: The Bunker blog
User avatar
Lavarinth
Xel'naga Administrator
Xel'naga Administrator
Posts: 6539
Joined: Wed Aug 16, 2006 5:21 pm
Location: His Ashworld Planet

Re: Note on the theme.

Post by Lavarinth »

No, I was told there was a way in CSS to literally repeat only a portion of the image. Like say you have an image, 50% black on one side, 50% white on the other, and you wanted the white portion to keep repeating as the background after the image finished. Someone said there is CSS that will allow you to start the repeat of the background at any part of the image, in this case 50%, and repeat only the white.
- - Lavarinth
Campaign Creations Administrator
User avatar
Maglok
Xel'naga World Shaper
Xel'naga World Shaper
Posts: 1312
Joined: Sun May 20, 2007 12:48 pm
Location: The Netherlands

Re: Note on the theme.

Post by Maglok »

Well, I don't see why you'd need that. Why not cut up the image, put the non repeating bit in a tablecell and put the repeating bit in a bigger tablecell then repeat the repeating. You can also position WHERE the background should start repeating, so you won't even need tablecells.

Finally I found this: "A future level of CSS may define the tiling and positioning of the background-image on inline elements." If that's in a future level I highly doubt that what you said CSS can do, it can do.

Conclusion: In my opinion you can NOT split a image with CSS then repeat only part of it.
- Maglok
Audio engineer and writer
SC2 campaign dev ranting: The Bunker blog
User avatar
Lavarinth
Xel'naga Administrator
Xel'naga Administrator
Posts: 6539
Joined: Wed Aug 16, 2006 5:21 pm
Location: His Ashworld Planet

Re: Note on the theme.

Post by Lavarinth »

Hmm- Interesting find. Imma take a different approach to this and mess with file formats for the background, I may just get this work in a different sense since we don't exactly have and "long" pages.
- - Lavarinth
Campaign Creations Administrator
User avatar
Maglok
Xel'naga World Shaper
Xel'naga World Shaper
Posts: 1312
Joined: Sun May 20, 2007 12:48 pm
Location: The Netherlands

Re: Note on the theme.

Post by Maglok »

Don't go and limit yourself Lavvz. :P About any page with a extending menu uses a repeating background with a normal image as top, works just fine. :)
- Maglok
Audio engineer and writer
SC2 campaign dev ranting: The Bunker blog
Post Reply