In this website...

Discussion in 'HTML & Website Design' started by miry, Jul 14, 2011.

  1. #1
    Is there anyway to ad a black border around the whole white part, basically I want the main content to look as if its floating on the page.

    This is the site: http://www.mirielys.com
     
    miry, Jul 14, 2011 IP
  2. Abhishek Kundu

    Abhishek Kundu Active Member

    Messages:
    133
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    58
    #2
    hi miry,

    i was looking at your website and you really look great in those outfits. i must also admit that your eyes are really beautiful. :) before i continue more let me answer to your question.

    to add a black border around the whole white part you will have to use css (Cascading Style Sheet).

    STEPS:
    1. Open style.css in your editor
    2. Locate .page (class)
    3. Enter the following codes: border:medium solid black; & height: 770px;
      before editing the style.css file
      
      .page {
          margin: 0 auto;
          padding: 5px;
          width: 1055px;
      }
      
      
      HTML:
      after editing the style.css file
      
      .page {
          border: medium solid black;
          height: 770px; 
          margin: 0 auto;
          padding: 5px;
          width: 1055px;
      }
      
      HTML:
    4. Save the file

    i had to mention the height css property as your images in the website has got that height.

    you can have other border styles also.

    hope this will solve your problem. :)
     
    Last edited: Jul 14, 2011
    Abhishek Kundu, Jul 14, 2011 IP
  3. miry

    miry Member

    Messages:
    19
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    36
    #3
    Yes It really helped! Very impressive!

    Would you mind taking a look at my other post about the gallery maybe you can help me with that also if its no trouble?
     
    miry, Jul 14, 2011 IP
  4. Abhishek Kundu

    Abhishek Kundu Active Member

    Messages:
    133
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    58
    #4
    hi miry,

    i am really happy that my solution helped you to solve your problem.

    it will be really helpful if you kindly post the link of your other forum post that you did mention about.

    i would certain like to give you a solution for that also if it's within my knowledge. :)
     
    Abhishek Kundu, Jul 14, 2011 IP