Register - Login
Views: 99827214
Main - Memberlist - Active users - Calendar - Wiki - IRC Chat - Online users
Ranks - Rules/FAQ - Stats - Latest Posts - Color Chart - Smilies
05-03-22 08:22:37 PM
Jul - Projects and Creations - Layout request New poll - New thread - New reply
Pages: 1 2Next newer thread | Next older thread
Lunaria

Moon Bunny! :3
Level: 139


Posts: 3116/5754
EXP: 32053771
For next: 413674

Since: 07-28-07

Pronouns: she/her
From: pile of fluff

Since last post: 6 days
Last activity: 6 days

Posted on 10-16-10 12:17:54 AM (last edited by Lunaria at 10-19-10 08:16 AM) Link | Quote
So this week during school I had a great idea for a layout, and I decided to draw up all the images I needed for it... which I'm working on now.

The problem is... I can't code the layout I want.


My current layout is made from table stacking, which works fine for something simpler like this, but not for what I want to do.

Therefor, I would like to request someone to make a layout for me. If you're interested, read on. =)

What I'm thinking here is too have the top and the bottom part loop once to get the post box in a bit better size. The left and the right part could either be set to loop once or simply loop (in whole images) depending on how long the post is.

The green area in the post box would be in black color in a preferably easy to way to alter, I can insert my own font tag later for the text.

Outside the post box I will have an background which I would like to loop horizontally while once it runs out vertically I want the bottom part to keep going with just plain black coloring. (aka, no image but black background.) As the BG I have in mind is partly a gradation.

Lastly, but not least, I want (as in my current layout) an image on the right side, preferably aligned with the bottom of the post rather then in the middle.




I'm sorry if this came off as odd, I'm just terrible at making a layout and terrible at explaining stuff.

But I do hope someone helps me out with this! :o
Joe
Common spammer
🍬
Level: 111


Posts: 1541/3392
EXP: 14501907
For next: 366453

Since: 08-02-07

From: Pororoca

Since last post: 12 days
Last activity: 42 min.

Posted on 10-16-10 05:50:47 AM Link | Quote
CSS3 can do exactly what you want. In particular, this section explains how a single image can be sliced up in a variety of ways to produce borders.

To begin with, you need to combine all of the images into one. For example, my layout uses this to produce the entire border in compatible browsers. The center section should be your background color.

____________________
Lunaria

Moon Bunny! :3
Level: 139


Posts: 3120/5754
EXP: 32053771
For next: 413674

Since: 07-28-07

Pronouns: she/her
From: pile of fluff

Since last post: 6 days
Last activity: 6 days

Posted on 10-16-10 12:25:03 PM Link | Quote
uh, do you mind proving some example code though?

I'm terrible with getting CSS to work so it would be nice to have some reference.

____________________


Joe
Common spammer
🍬
Level: 111


Posts: 1543/3392
EXP: 14501907
For next: 366453

Since: 08-02-07

From: Pororoca

Since last post: 12 days
Last activity: 42 min.

Posted on 10-16-10 07:09:03 PM Link | Quote
I'm using my layout as a reference, since it's very similar to what you want (but lacks the image on the right).

The CSS that sets up the background and border looks like this:

.yume0a

{
background:#070717 url(http://img714.imageshack.us/img714/2234/blockmaze.png) fixed center
}
.yume0b
{
border:8px double #67263e;
border-image:url(http://img521.imageshack.us/img521/3002/borderw.png) 8 repeat;
-moz-border-image:url(http://img521.imageshack.us/img521/3002/borderw.png) 8 repeat;
-webkit-border-image:url(http://img521.imageshack.us/img521/3002/borderw.png) 8 repeat
}

In order for your border to show up correctly, you must also provide code for the border that will appear in browsers that don't support using border images. Since my border image is for a border of 8 pixels on all sides, I use a border of 8 pixels.

In order to have transparency in my border image, I have set the background color inside a container DIV. One positive side effect is that it lets me change the background color whenever I want, although doing so wouldn't fit well with my border.

<div class="yume0a"><div class="yume0b"><div style="background:#000">

You could easily set the background color using that, and the CSS to set your font properties can go just about anywhere.

If you're going to copy this code, please change the CSS classes. I've had problems with that before.

____________________
Lunaria

Moon Bunny! :3
Level: 139


Posts: 3121/5754
EXP: 32053771
For next: 413674

Since: 07-28-07

Pronouns: she/her
From: pile of fluff

Since last post: 6 days
Last activity: 6 days

Posted on 10-17-10 12:13:53 AM (last edited by Lunaria at 10-17-10 06:12 PM) Link | Quote
Also null !
Joe
Common spammer
🍬
Level: 111


Posts: 1547/3392
EXP: 14501907
For next: 366453

Since: 08-02-07

From: Pororoca

Since last post: 12 days
Last activity: 42 min.

Posted on 10-17-10 01:14:15 AM Link | Quote
First, you've used the same class for both DIVs. That won't work.

Second, you've copied all of the colors and URLs from mine. That will give you my layout!

(Third, you can't have linebreaks in your CSS. That's a bug in the board, Xk will fix it eventually.)

Looking again, I see you've added a bunch of semicolons. You don't need more unless you're going to add more CSS. I don't know if the extra semicolons will mess anything up, but it's better to remove them.

____________________
Lunaria

Moon Bunny! :3
Level: 139


Posts: 3122/5754
EXP: 32053771
For next: 413674

Since: 07-28-07

Pronouns: she/her
From: pile of fluff

Since last post: 6 days
Last activity: 6 days

Posted on 10-17-10 10:19:12 AM (last edited by Lunaria at 10-17-10 07:24 AM) Link | Quote
Well, yeah. I used your copy code just to see if I can get something to display first of all.. then I can work towards making it the layout I want. :<


I made the changes in the earlier post again, but I still can't get anything to display. :<

____________________


Joe
Common spammer
🍬
Level: 111


Posts: 1549/3392
EXP: 14501907
For next: 366453

Since: 08-02-07

From: Pororoca

Since last post: 12 days
Last activity: 42 min.

Posted on 10-17-10 04:10:16 PM (last edited by Joe at 10-17-10 01:11 PM) Link | Quote
You still have linebreaks. You have to paste the code into notepad or such and get it all on one (really long) line in order for it to work.

When I remove the line breaks (using Opera's page source editor), it works better. I'm concentrating on making the border work first, so that's all that needs to appear for now.

Edit: Might be good to stick something in the sig. Like:

</div></div></div>



____________________
Lunaria

Moon Bunny! :3
Level: 139


Posts: 3124/5754
EXP: 32053771
For next: 413674

Since: 07-28-07

Pronouns: she/her
From: pile of fluff

Since last post: 6 days
Last activity: 6 days

Posted on 10-17-10 04:47:31 PM (last edited by Lunaria at 10-17-10 06:12 PM) Link | Quote

null
Peardian

  
Magikoopa

16/3/1: KvSG #479 is up!

Level: 157


Posts: 4047/7597
EXP: 48605418
For next: 973815

Since: 08-02-07

From: Isle Delfino

Since last post: 11 days
Last activity: 2 hours

Posted on 10-17-10 06:09:02 PM Link | Quote
Looks pretty neat!


For setting minimum size, you can use the CSS properties min-width and min-height . Note that it does not take into account border, padding, and margin.

____________________
-Peardian-

"Kindness is the language which the deaf can hear and the blind can see." -Mark Twain


Darkdata
Ruins!? ♥
Level: 103


Posts: 1834/2892
EXP: 11446640
For next: 24766

Since: 07-04-07


Since last post: 203 days
Last activity: 11 days

Posted on 10-17-10 07:23:50 PM Link | Quote
Make sure you set your text-color for those of us on light board themes!

____________________

4 1 2 3
Lunaria

Moon Bunny! :3
Level: 139


Posts: 3126/5754
EXP: 32053771
For next: 413674

Since: 07-28-07

Pronouns: she/her
From: pile of fluff

Since last post: 6 days
Last activity: 6 days

Posted on 10-17-10 07:54:36 PM (last edited by Lunaria at 10-17-10 06:20 PM) Link | Quote
Originally posted by Darkdata
Make sure you set your text-color for those of us on light board themes!

Mmmm, I will.


Also, the layout is going forward at least, yay!

Now with BG!


____________________
Lunaria

Moon Bunny! :3
Level: 139


Posts: 3127/5754
EXP: 32053771
For next: 413674

Since: 07-28-07

Pronouns: she/her
From: pile of fluff

Since last post: 6 days
Last activity: 6 days

Posted on 10-17-10 09:17:22 PM Link | Quote
I just wanted to bump the topic to say that layout is done...


EXCEPT! I don't know if I should use the pixelated BG (see above post) or the one I'm using in this post!

____________________
Girlydragon
3030
Possibly neither Girly nor Dragon.
Level: 105


Posts: 1348/3030
EXP: 12256783
For next: 5477

Since: 07-21-07

From: Sweden

Since last post: 283 days
Last activity: 30 min.

Posted on 10-17-10 09:47:17 PM Link | Quote
I'd vote one for non-pixelated.

Also on the layout!

____________________
Joe
Common spammer
🍬
Level: 111


Posts: 1551/3392
EXP: 14501907
For next: 366453

Since: 08-02-07

From: Pororoca

Since last post: 12 days
Last activity: 42 min.

Posted on 10-18-10 01:38:24 AM Link | Quote
Your layout will break spectacularly on large posts. It looks a lot better than anything I could come up with, though.

There are a few things that need changing. First off, change the border image to this.

Next, change your header to this:

<style type="text/css">

.lunaria6
{
background:#000 url(http://i200.photobucket.com/albums/aa79/Green-Kirby/Jul/GradationBG.png) repeat-x top;
color:#f0b030
}
.lunaria7
{
background:url(http://i200.photobucket.com/albums/aa79/Green-Kirby/Jul/moonlighticon2.png) no-repeat right;
padding:30px 285px 30px 15px
}
.lunaria9
{
border:15px double #f0b030;
border-image:url(http://i200.photobucket.com/albums/aa79/Green-Kirby/Jul/moonlightlayout2.png) 15 round;
-moz-border-image:url(http://i200.photobucket.com/albums/aa79/Green-Kirby/Jul/moonlightlayout2.png) 15 round;
-webkit-border-image:url(http://i200.photobucket.com/albums/aa79/Green-Kirby/Jul/moonlightlayout2.png) 15 round;
min-height:270px;
min-width:704px
}
</style>
<div class="lunaria6">
<div class="lunaria7">
<div class="lunaria9">
<div style="background:#000">

You might want to change the classes again, since it's new code. (I've removed the max-width for the lucky few on really really wide monitors.)

And your sig should be:

</div></div></div></div>



Now that I see what you want, making it work is easy. If I hadn't been in Seattle all day, I would have done this sooner.

____________________
Lunaria

Moon Bunny! :3
Level: 139


Posts: 3130/5754
EXP: 32053771
For next: 413674

Since: 07-28-07

Pronouns: she/her
From: pile of fluff

Since last post: 6 days
Last activity: 6 days

Posted on 10-18-10 08:46:26 PM (last edited by Lunaria at 10-18-10 06:02 PM) Link | Quote

However, as you look at this post it should not take you that long to figure out why I don't like this set up.
The images resizes and turns into ugly stuff. While the layout may be more practiacal, it certainly is a whole lot uglier. :/

I'm aware that my old set up limited me to a quite small post box, but I did not have any issues with that, as if I made a bigger post I could always just disable the layout or quickly do the math to reformat it to be longer. :<










derp

____________________
Joe
Common spammer
🍬
Level: 111


Posts: 1553/3392
EXP: 14501907
For next: 366453

Since: 08-02-07

From: Pororoca

Since last post: 12 days
Last activity: 42 min.

Posted on 10-18-10 09:17:31 PM Link | Quote
Originally posted by Lunaria
I'm aware that my old set up limited me to a quite small post box, but I did not have any issues with that, as if I made a bigger post I could always just disable the layout or quickly do the math to reformat it to be longer. :<
That doesn't work with auto-updating layouts, and when your post overflows, it covers everything below it. :/

Short of changing it to a scrolling layout, I can't think of any way to make it work.

____________________
Lunaria

Moon Bunny! :3
Level: 139


Posts: 3135/5754
EXP: 32053771
For next: 413674

Since: 07-28-07

Pronouns: she/her
From: pile of fluff

Since last post: 6 days
Last activity: 6 days

Posted on 10-19-10 10:53:40 AM Link | Quote
Or I could just, you know, disable the layout whenever I make a long post.

I usually stick to quite short posts.

I mean, I can see your point but... I just don't want to ruin how the layout looks. :<

____________________
Girlydragon
3030
Possibly neither Girly nor Dragon.
Level: 105


Posts: 1354/3030
EXP: 12256783
For next: 5477

Since: 07-21-07

From: Sweden

Since last post: 283 days
Last activity: 30 min.

Posted on 10-19-10 11:10:55 AM (last edited by Girlydragon at 10-19-10 08:11 AM) Link | Quote
Originally posted by Lunaria
Or I could just, you know, disable the layout whenever I make a long post.



The problem (as Joe mentioned) is that disabling the layout for one post won't work for those that use auto-updating layouts.

So yeah, it's not as simple as disabling it temporarily, you gotta make sure it works. :/

____________________
Lunaria

Moon Bunny! :3
Level: 139


Posts: 3136/5754
EXP: 32053771
For next: 413674

Since: 07-28-07

Pronouns: she/her
From: pile of fluff

Since last post: 6 days
Last activity: 6 days

Posted on 10-19-10 11:18:10 AM Link | Quote
OoooOOooh

I did not actually know we had that function on the board until I just checked it out...

well, fuck.


I guess I can make the whole box bigger in all posts instead too. :<

____________________
Pages: 1 2Next newer thread | Next older thread
Jul - Projects and Creations - Layout request New poll - New thread - New reply


Rusted Logic

Acmlmboard - commit 47be4dc [2021-08-23]
©2000-2022 Acmlm, Xkeeper, Kaito Sinclaire, et al.

28 database queries, 5 query cache hits.
Query execution time: 0.086308 seconds
Script execution time: 0.038903 seconds
Total render time: 0.125210 seconds