SitePoint Sponsor

User Tag List

Results 1 to 5 of 5
  1. #1
    SitePoint Zealot
    Join Date
    Aug 2004
    Location
    Canada
    Posts
    131
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Question Set the bottom border

    How do I set the bottom border of my page? (i currently have borders all the way around and only want it on the bottom
    Code:
    <head>
      <style type="text/css">
    body 
    {
    border: 8px solid #8EA760; margin:0; 
    }
    <style> 
    <!-- 
    body{ 
    scrollbar-face-color:#8EA760; 
    scrollbar-arrow-color:#546D2B; 
    scrollbar-track-color:#546D2B; 
    scrollbar-shadow-color:''; 
    scrollbar-highlight-color:''; 
    scrollbar-3dlight-color:''; 
    scrollbar-darkshadow-Color:''; 
    }
    } 
    table.main {
     border:3px solid #8EA760;
     padding:0px;
     margin:auto;
     text-align: left; 
     height: 1331px; 
     width: 713px;
     }
    
    -->
    And is it possible to insert a image or text into the border? Tell please if possible!
    If needed: www.freewebs.com/betahalotesters

    Thanks

  2. #2
    Drupaler bronze trophy greg.harvey's Avatar
    Join Date
    Jul 2002
    Location
    London, UK
    Posts
    3,258
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    border-bottom


  3. #3
    SitePoint Zealot
    Join Date
    Aug 2004
    Location
    Canada
    Posts
    131
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Great! I'll try that but, what about putting a picture in it?

  4. #4
    Are You There? KDesigns's Avatar
    Join Date
    Oct 2003
    Location
    Your Monitor
    Posts
    1,147
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Not sure about the picture in the border, I don't think that is possible.

    However for the border only on one particular side, instead of

    border: 1px solid #000000;

    You would do:

    border-bottom: 1px solid #000000;
    border-right: etc....
    border-left: etc.........
    ChooseDaily.com - Follow on Twitter
    Top Resources for Web Designers and Developers Every Day!

  5. #5
    SitePoint Zealot
    Join Date
    Aug 2004
    Location
    Canada
    Posts
    131
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks Again


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •