SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Zealot
    Join Date
    Apr 2012
    Posts
    153
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    border on a header

    I'm looking to but a black border on my header and i'm wondering if that would be best done on the image itself or put in the code?

  2. #2
    It's all Geek to me silver trophybronze trophy
    ralph.m's Avatar
    Join Date
    Mar 2009
    Location
    Melbourne, AU
    Posts
    24,299
    Mentioned
    460 Post(s)
    Tagged
    8 Thread(s)
    Either is fine, ut the fewer images, the better, so I'd go for something like

    Code:
    .header {
      border-top: 5px solid #000;
    }

  3. #3
    SitePoint Member
    Join Date
    Mar 2012
    Location
    pune
    Posts
    5
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    use this css code:
    .header{ border:2px solid #000;}


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
  •