SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Zealot
    Join Date
    Aug 2011
    Location
    Trinidad and Tobago
    Posts
    194
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Creating a split background CSS and Javascript

    Anyone knows how to split the background colour of a header? For example http://www.outlish.com/ As you see the header "This Week's Issue - Updated Every Monday" this has a different colour from the rest of the header background. I will like to know how to do this. I have the css already to create this however since the title is being pulled from a db i need a script to insert the span tags before and after the first word to achieve this look.

    Thank you

  2. #2
    SitePoint Wizard
    Join Date
    Nov 2004
    Location
    Portsmouth UK
    Posts
    1,495
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

  3. #3
    SitePoint Zealot
    Join Date
    Aug 2011
    Location
    Trinidad and Tobago
    Posts
    194
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by vwphillips View Post
    This is not the header am referring to I am speaking about the header for each article. The header that has a word with a brown background and the rest of the sentence in orange.


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
  •