SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Enthusiast
    Join Date
    Jan 2002
    Location
    Quezon City, Philippines
    Posts
    72
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Layer border with color

    How can I set a 1 px border with a specified color to a "<div> layer"?

  2. #2
    We like music. weirdbeardmt's Avatar
    Join Date
    May 2001
    Location
    Channel Islands Girth: Footlong
    Posts
    5,882
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Yup

    Code:
    <STYLE>
    .somestyle {border: 1px #000 solid;}
    </STYLE>
    then

    Code:
    <DIV CLASS="somestyle">HELLO!</DIV>
    I swear to drunk I'm not God.
    Matt's debating is not a crime
    Hint: Don't buy a stupid dwarf Clicky

  3. #3
    SitePoint Enthusiast
    Join Date
    Jan 2002
    Location
    Quezon City, Philippines
    Posts
    72
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Sorry. I forgot to thank you. Thanks!


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
  •