+ Reply to Thread
Results 1 to 6 of 6

Thread: a little css help

  1. #1
    Tyler's Avatar
    Tyler is offline Retired Staff Tyler is an unknown quantity at this point
    Join Date
    Feb 2005
    Location
    Michigan, USA
    Posts
    4,282

    a little css help

    How would I do some borders like this http://www.whenpenguinsattack.com/

    See the border on the left and right how it fades and give the content area a raised look, I want to do something like that also but im not sure where to start.
    The Sims 2 Extreme | TTECH - Work In Progress

    E-Mail Me | PM Me

  2. #2
    dpogary's Avatar
    dpogary is offline x10 Sophmore dpogary is an unknown quantity at this point
    Join Date
    Jul 2006
    Location
    Hopkins Minnesota
    Posts
    134

    Re: a little css help

    Quote Originally Posted by Tyler
    How would I do some borders like this http://www.whenpenguinsattack.com/

    See the border on the left and right how it fades and give the content area a raised look, I want to do something like that also but im not sure where to start.
    im not 100% id guess Javascript could do that...uh try saving that page(full) and look at the code and disect out any javascript in there...maybe youll get lucky and spot wich one you want?


    Edit: nvm i dont think that would work:D
    Last edited by dpogary; 08-01-2006 at 07:15 PM.

  3. #3
    The_Magistrate's Avatar
    The_Magistrate is offline x10 Elder The_Magistrate is an unknown quantity at this point
    Join Date
    May 2005
    Location
    PA
    Posts
    559

    Re: a little css help

    If you had looked at the CSS for that site, you would have seen how they did it.

    Code:
    body {
    	margin: 0px;
    	padding: 0px;
    	background: #ececec url(images/bg.png) repeat-y center;
    }
    You can find the background image here:

    http://www.whenpenguinsattack.com/wp.../images/bg.png

    That background image is centered in the window, and the shadows on it make the content look "raised."

    P.S. Javascript wouldn't work for something like this.
    Getting Started | Terms of Service | Paid Hosting | Forum Rules | Free Server Status | Banned Countries

    If I have helped you through one of my posts, please click the
    blue checkbox on the right below my avatar to add to my reputation.

  4. #4
    Tyler's Avatar
    Tyler is offline Retired Staff Tyler is an unknown quantity at this point
    Join Date
    Feb 2005
    Location
    Michigan, USA
    Posts
    4,282

    Re: a little css help

    Thanks.
    Last edited by Tyler; 08-02-2006 at 02:33 PM.
    The Sims 2 Extreme | TTECH - Work In Progress

    E-Mail Me | PM Me

  5. #5
    Tyler's Avatar
    Tyler is offline Retired Staff Tyler is an unknown quantity at this point
    Join Date
    Feb 2005
    Location
    Michigan, USA
    Posts
    4,282

    Re: a little css help

    Another quick question is there anyway i can animate this drop down menu. I know nothing when it comes to javascript so i wouldnt know. http://www.dynamicdrive.com/dynamici...pmenuindex.htm
    The Sims 2 Extreme | TTECH - Work In Progress

    E-Mail Me | PM Me

  6. #6
    Zenax's Avatar
    Zenax is offline Lord Of The Keys Zenax is an unknown quantity at this point
    Join Date
    Jul 2006
    Location
    The Brilliant United Kingdom
    Posts
    1,339

    Re: a little css help

    My advice to you on this, is to take the code it gives you for that drop down menu, and just study it, and will pick up parts of the code and understand what it does!

    There are sites out there that can help such as:

    http://htmlgoodies.com - They do a section on Javascript
    http://www.w3schools.com/ - Would be the obvious choice, but not always the best!

    http://www.google.co.uk/search?hl=en...avascript&meta= - Just a Google search I did!

    I hope that this will help you!

    Regards,
    Zenax
    Last edited by Zenax; 08-02-2006 at 02:55 PM.

+ Reply to Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
x10hosting free hosting for the masses
dedicated servers