www.webdeveloper.com
Results 1 to 4 of 4

Thread: building boxes

  1. #1
    Join Date
    Apr 2012
    Location
    St Paul, MN
    Posts
    3

    building boxes

    I am trying to build boxes with images in CSS and am having difficulties doing the vertical parts to it. I have the "header" and the "footer" placed where I would like them to be, now its just connecting those two pieces. Or is there a way that I could make a border in CSS and not use images? Any and all help would be greatly appreciated.

  2. #2
    Join Date
    Aug 2011
    Location
    Worthing, West Sussex
    Posts
    96
    You can make as many boxes as you like using just html and css, no images required. Make a div tag and style it using css like this:

    HTML Code:
    <div></div>
    HTML Code:
    div {
      width:250px;
      height:250px;
      border:1px #000 solid;
    }

  3. #3
    Join Date
    Apr 2012
    Location
    St Paul, MN
    Posts
    3
    Dangerousprince, thank you for the help! Is there a way to round the edges of the box?

  4. #4
    Join Date
    Aug 2011
    Location
    Worthing, West Sussex
    Posts
    96
    CSS3 will help you. Try this out:

    http://www.cssportal.com/css3-rounded-corner/

    If not, and you're looking for something that will work in **** browsers, then you can add a small image at the top and bottom/left and right.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this 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
  •  
HTML5 Development Center



Recent Articles