Register

If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Results 1 to 9 of 9

Thread: Page Layout

  1. #1
    Junior Member
    Join Date
    Jun 2011
    Posts
    1
    Member #
    28123
    I've seen pages where they have a picture, a basic picture that would fix besides itself a look like it's bigger then it really is, and I was wondering how this effect is done. I know you would have to paste it on the page many time but I'm not sure how. An example of this is on the page your looking at; at the top you see a darker blue go into a lighter blue, but the image isn't just one big image, it's one small image that is pasted side by side fixing together perfectly. Any help on this would be great.

  2.  

  3. #2
    WDF Staff AlphaMare's Avatar
    Join Date
    Oct 2009
    Location
    Montreal, Canada
    Posts
    4,570
    Member #
    20277
    Liked
    878 times
    This is basic CSS.
    For the kind of gradient you see on this page, the image is 1px wide by 185 px high, with a gradient running from a darker blue at the top to a very light blue at the bottom. The colour at the bottom will match the background color of the page as set in the CSS. Then you set your CSS as follows:

    [COLOR=rgb(0, 0, 255)]body [COLOR=rgb(0, 51, 102)]{ [/COLOR][/COLOR]
    [COLOR=rgb(0, 0, 0)] margin[COLOR=rgb(255, 0, 255)]:[/COLOR] [COLOR=rgb(0, 0, 255)]0[/COLOR][COLOR=rgb(255, 0, 255)]; [/COLOR][/COLOR]
    [COLOR=rgb(0, 0, 0)] padding[COLOR=rgb(255, 0, 255)]:[/COLOR] [COLOR=rgb(0, 0, 255)]0[/COLOR][COLOR=rgb(255, 0, 255)]; [/COLOR][/COLOR]
    [COLOR=rgb(0, 0, 0)] background-color[COLOR=rgb(255, 0, 255)]: [/COLOR][COLOR=rgb(0, 0, 255)]#FFF[/COLOR][COLOR=rgb(255, 0, 255)]; /*[/COLOR][/COLOR][COLOR=rgb(0, 128, 0)] set the background colour of the page to the same colour as the bottom of the gradient, so there is no seam between the bottom of the image and any extra space below it on the page[COLOR=rgb(255, 0, 255)]*/[/COLOR][/COLOR]
    background-image[COLOR=rgb(255, 0, 255)]:[/COLOR] [COLOR=rgb(0, 0, 255)]url(yourimagepath.jpg)[/COLOR][COLOR=rgb(255, 0, 255)];[/COLOR]
    background-repeat[COLOR=rgb(255, 0, 255)]:[/COLOR] [COLOR=rgb(0, 0, 255)]repeat-x[/COLOR][COLOR=rgb(255, 0, 255)];[/COLOR] [COLOR=rgb(0, 128, 0)][COLOR=rgb(255, 0, 255)] /*[/COLOR]this repeats the image seamlessly across the page [COLOR=rgb(255, 0, 255)]*/[/COLOR][/COLOR]
    [COLOR=rgb(255, 0, 255)] }[/COLOR]
    [COLOR=rgb(255, 0, 255)]
    [/COLOR]
    Good design should never say "Look at me!"
    It should say "Look at this." ~ David Craib


    http://digitalinsite.ca ~ my current site . . info@digitalinsite.ca ~ my email

    If you feel that someone's post helped you fix your problem, answered your question, or just made you feel better, feel free to "Like" their post. The "Like" link is at the bottom right of each post, along side the "reply" link. And if you are being helped here, try to help someone else - pass it on!

  4. #3
    Unpaid WDF Intern TheGAME1264's Avatar
    Join Date
    Dec 2002
    Location
    Not from USA
    Posts
    14,485
    Member #
    425
    Liked
    2783 times
    Wow...Mare's CSS comes in all sorts of pretty colors.

    It's kinda girly looking, but then again, Mare's girly, so I guess I'll allow for that.
    If I've helped you out in any way, please pay it forward. My wife and I are walking for Autism Speaks. Please donate, and thanks.

    If someone helped you out, be sure to "Like" their post and/or help them in kind. The "Like" link is on the bottom right of each post, beside the "Share" link.

    My stuff (well, some of it): My bowling alley site | Canadian Postal Code Info (beta)

  5. #4
    WDF Staff George Dolidze's Avatar
    Join Date
    Apr 2011
    Location
    Irvine, CA
    Posts
    2,487
    Member #
    27540
    Liked
    416 times
    It's nice
    My freelancer website: DolidzeDesign



    You only need a parachute if you plan on skydiving twice.

  6. #5
    WDF Staff AlphaMare's Avatar
    Join Date
    Oct 2009
    Location
    Montreal, Canada
    Posts
    4,570
    Member #
    20277
    Liked
    878 times
    There's a saying among horsemen - "There's no bad colour for a good horse"
    Now we can say "There's no bad colour for good code" or, maybe "halfway decent code"...
    Good design should never say "Look at me!"
    It should say "Look at this." ~ David Craib


    http://digitalinsite.ca ~ my current site . . info@digitalinsite.ca ~ my email

    If you feel that someone's post helped you fix your problem, answered your question, or just made you feel better, feel free to "Like" their post. The "Like" link is at the bottom right of each post, along side the "reply" link. And if you are being helped here, try to help someone else - pass it on!

  7. #6
    WDF Staff George Dolidze's Avatar
    Join Date
    Apr 2011
    Location
    Irvine, CA
    Posts
    2,487
    Member #
    27540
    Liked
    416 times
    Quote Originally Posted by AlphaMare, post: 208954
    There's a saying among horsemen - "There's no bad colour for a good horse"
    Now we can say "There's no bad colour for good code" or, maybe "halfway decent code"...
    I'll take a lime green horse then
    My freelancer website: DolidzeDesign



    You only need a parachute if you plan on skydiving twice.

  8. #7
    WDF Staff AlphaMare's Avatar
    Join Date
    Oct 2009
    Location
    Montreal, Canada
    Posts
    4,570
    Member #
    20277
    Liked
    878 times
    Best I can do...
    George Dolidze likes this.
    Good design should never say "Look at me!"
    It should say "Look at this." ~ David Craib


    http://digitalinsite.ca ~ my current site . . info@digitalinsite.ca ~ my email

    If you feel that someone's post helped you fix your problem, answered your question, or just made you feel better, feel free to "Like" their post. The "Like" link is at the bottom right of each post, along side the "reply" link. And if you are being helped here, try to help someone else - pass it on!

  9. #8
    WDF Staff George Dolidze's Avatar
    Join Date
    Apr 2011
    Location
    Irvine, CA
    Posts
    2,487
    Member #
    27540
    Liked
    416 times
    I'll take the horse that changes colors every two seconds then !! How awesome would that be in real life...
    My freelancer website: DolidzeDesign



    You only need a parachute if you plan on skydiving twice.

  10. #9
    WDF Staff AlphaMare's Avatar
    Join Date
    Oct 2009
    Location
    Montreal, Canada
    Posts
    4,570
    Member #
    20277
    Liked
    878 times
    well, it's a horse of a different colour....
    Good design should never say "Look at me!"
    It should say "Look at this." ~ David Craib


    http://digitalinsite.ca ~ my current site . . info@digitalinsite.ca ~ my email

    If you feel that someone's post helped you fix your problem, answered your question, or just made you feel better, feel free to "Like" their post. The "Like" link is at the bottom right of each post, along side the "reply" link. And if you are being helped here, try to help someone else - pass it on!


Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT -6. The time now is 05:35 AM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com