SitePoint Sponsor

User Tag List

Results 1 to 8 of 8

Hybrid View

  1. #1
    SitePoint Member
    Join Date
    Feb 2006
    Posts
    22
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Border around template

    Hi actually right now i desgin 1 of website for my client and i got this problem

    at first take a look at 1st image 1.gif

    after that i try to put border at that site using this code

    <table border="1" bordercolor="#bae1e5" cellpadding="4" cellspacing="0" width="700">

    and it appear like this (so fugly) i dont want it appear like that see 2.gif

    and i want it appear like this (after editing with photoshop)
    3.gif

    any suggestion guys , sorry i m so desperate right now / and dont blame me i still new in webdesign

    Attached Images Attached Images
    • File Type: gif 1.gif (57.3 KB, 7 views)
    • File Type: gif 2.gif (45.5 KB, 8 views)
    • File Type: gif 3.gif (25.9 KB, 7 views)

  2. #2
    SitePoint Zealot bobber205's Avatar
    Join Date
    Sep 2006
    Location
    Oregon
    Posts
    113
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Darn attachments...

  3. #3
    SitePoint Member
    Join Date
    Feb 2006
    Posts
    22
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    why?

  4. #4
    In memoriam gold trophysilver trophybronze trophy Dan Schulz's Avatar
    Join Date
    May 2006
    Location
    Aurora, Illinois
    Posts
    15,495
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    All attachments have to be approved by a Sitepoint staff member before we mere mortals can view them.

  5. #5
    SitePoint Guru DCS's Avatar
    Join Date
    Apr 2002
    Location
    Arkansas
    Posts
    809
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Enclose the whole thing in a div and define the border color and thickess for it.

  6. #6
    SitePoint Member
    Join Date
    Feb 2006
    Posts
    22
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    hi dcs can you tell me more detail about it?

  7. #7
    SitePoint Enthusiast
    Join Date
    Feb 2006
    Location
    holland
    Posts
    47
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by skyjuice
    hi dcs can you tell me more detail about it?
    hi m8
    i believe that this will work, i m not that good at this stuff but i think it 'll work

    you can put the table between <div style="border1"> </div>

    and put this at the top of your page (in the <head> (unless you use a stylesheet))
    <style type="text/css">
    <!--
    border1 {
    border-left: 1px solid #bae1e5;
    border-right: 1px solid #bae1e5;
    border-top: 1px solid #bae1e5;
    border-bottom: 1px solid #bae1e5;
    }
    -->
    </style>
    www.piggymoo.com An Anime & TV community
    Drop by sometimes, especially if you like
    Anime, Stargate, Band of brothers or Futurama!

  8. #8
    SitePoint Member
    Join Date
    Feb 2006
    Posts
    22
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    thx it works now :P


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
  •