Background Images Revisited

Gloomshroud
Gloomshroud
edited July 2010 in Campaign Portal Building
Hi all! Posting here at the suggestion of a couple nice folks! "My page is here":http://www.obsidianportal.com/campaign/akara/ first of all.

You see, I have that image (the parchment with writing already in it) that I want to make the WHOLE background. I have read the existing forum posts (kudos and thanks to ChainsawXIV, Sandman, Ahsheesh, Gnunn, et al) and have learned a LOT.

However, there is a bit more lacking. First, I think, is my knowledge. I do not know CSS and my HTML is sorely lacking. Textile is pretty easy, but not strong enough to do what I need it to. I have examined the potential of "slicing" it, with little luck. Also messing with the paddings and so forth yield little. The best I've been able to do is fill the body with about 12 of the following:

TEST




Hardly an elegant solution, though it does allow me to see more of the background.

Any solutions?

Also, my Wiki page. I am attempting to convert the table (courtesy Gnunn) to IMAGES. Again, no love. Any ideas? Also, whomever it was that provided those free buttons, THANKS!

Comments

  • JimTriche
    JimTriche
    Posts: 483
    Not sure what exactly you're asking, is the parchment a single image or it is made up of three images, -top -middle -bottom?

    ChainsawXIV helped me with a monitor graphic, which was split into a top part, middle part and bottom part, placed with HTML tags.

    Here's the code he gave me:
    __________________________________







    CONTENT






    _____________________________________


    I dunno if that will help you or not. If you can find a tilable image, it's a bit easier:

    _____________________________________






    CONTENT






    _______________________________________

    Just change the image URL to your tileable image, and the colors of everything as appropriate. You could probably actually do without the second set of tags (It makes the background solid black for my page for readability)

    Hope that helps some, and if not, at least it'll be a free bump.
  • Gloomshroud
    Gloomshroud
    Posts: 12
    Hmm. I'm going to try these templates and see if they work out. Thank you VERY much for your reply! This will certainly give me somewhere to start!

    In response to your question, and for clarification's sake: Yes, it is ONE image that I edited to INCLUDE the words written on it (to get some fonts I like). I essentially would like to take the parchment part and have it extend all the way down to the bottom of my home page. If I have to use the BASE parchment image (without editing), that's fine. I just want that ONE texture to cover my whole Home Page.
  • Gloomshroud
    Gloomshroud
    Posts: 12
    Oh dearl Lord...that went wrong.
  • arsheesh
    arsheesh
    Posts: 850
    Wish I can help, but sadly my HTML and CSS knowledge is negligible. Just wanted to say that I think your site is coming along quite nicely so far, and I wish you the best in this endeavor (I'm sure that there are others here that can better assist you in this matter).

    Cheers,
    -Arsheesh
  • Gloomshroud
    Gloomshroud
    Posts: 12
    EUREKA! (sorta) Thank you JimTriche! It's still a little off, but I'll TAKE it.
  • JimTriche
    JimTriche
    Posts: 483
    So you know Gwyddion, the second code above is what I use for the formatting for most of my wiki, it comes out basically like "this":http://www.obsidianportal.com/campaign/intothebreach/wikis/the-10-commandments

    The first code is likely more what you're looking for, which means you'll need to take that image, and split it into 3 parts, repeatable in the middle section.
    The page "here":http://www.obsidianportal.com/campaign/intothebreach/wikis/nsbc uses that code from ChainsawXIV, and it incorporates "this middle image":http://omnichron.net/external/op/src/mon_middle.png, and "this top image":http://omnichron.net/external/op/src/mon_top.png, with "this bottom image":http://omnichron.net/external/op/src/mon_bottom.png and makes it look like one solid image.
  • Gloomshroud
    Gloomshroud
    Posts: 12
    I did that, thank you! I used the first template with my own image (I just used the same one and chopped it). Now, I can't for the life of me figure out why its TILING.
  • JimTriche
    JimTriche
    Posts: 483
    It looks like you're using an image in there. I'd try to resize the image smaller, to fit in the background. You can seat more images in there, just fiddle the code around here and there, change the positioning of various things. Remember that you can mix textile and HTML, just make sure you allow the line spacing textile requires.

    With Textile you can change the width and placement of the image to fit where you want as well, using the ! tags.

    !(media-item-align-WHERE) {width:XXXpx}URLOFIMAGE!
  • arsheesh
    arsheesh
    Posts: 850
    I would suggest blurring the edges where the top, middle and bottom meet (using whatever graphics program you are using). That ought to minimize the line where the the images join.
  • JimTriche
    JimTriche
    Posts: 483
    Try the second code, with your chopped image, and place the ! media tag where the content goes with your written image.

    You might also try cutting the borders off of your image with the text, and dropping the padding just a bit.
  • ChainsawXIV
    ChainsawXIV
    Posts: 530
    Try "this":http://www.obsidianportal.com/campaign/chainsawxiv-test-campaign/wikis/test2 out, and you should have better luck. I cleaned up the original template a bit, so it should be easier to use, and adjusted the spacing (the padding values and width in the first _div_ tag) to fit a bit better. I also adjusted your image chunks a bit - I converted the top and bottom parts to PNG files, and gave them a gradual fade so they blend with the background, and did a little photoshop work to fix the visible seam where the background tiles with itself.

    I know that's not a very in-depth explanation of how to do this, so if you have any questions about how to adjust, use, or reuse it, just holler and I'll be happy to answer.
  • JimTriche
    JimTriche
    Posts: 483
    Chainsaw, resident HTML guru, super helpful guy, etc.
  • arsheesh
    arsheesh
    Posts: 850
    Yeah, he's got some pretty sweet Jedi moves alright!
  • Gloomshroud
    Gloomshroud
    Posts: 12
    0.0 WOW! Thanks! will apply the second I have a moment. By the way, your method > Paint (what I used to do the original) lol
  • ChainsawXIV
    ChainsawXIV
    Posts: 530
    Lol. Thanks guys. Glad to help.

    The proper tools make all the difference. If you don't want to invest in Photoshop, I can recommend "GIMP":http://www.gimp.org/ as a free alternative. It has all the essentials you need for this type of work, and there are heaps of tutorials and guides out there to help you learn to use it. The same can be said for HTML and CSS. Check out "W3Schools":http://www.w3schools.com/ for good tutorials on those subjects - I've learned a great deal there, and they're my preferred reference source for web stuff in general. Search them for any given web design subject, and there's probably a good breakdown.
  • Gloomshroud
    Gloomshroud
    Posts: 12
    so to apply your template, do I just use the CSS located underneath the image ?
  • ChainsawXIV
    ChainsawXIV
    Posts: 530
    Yup.
Sign In or Register to comment.

May 2024
The World of Elurah

Read the feature post on the blog
Return to Obsidian Portal

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Discussions