Results 1 to 3 of 3

Thread: CSS: background and text-Decoration

  1. #1
    Join Date
    May 2008
    Posts
    191

    CSS: background and text-Decoration

    Mostly it's the other way around so that the Firefox displays everything correctly

    I have two problems with the screens made:

    In FF the background graphic breaks and link is not underlined.

    In IE everything is correct .

    CSS:

    PHP Code:
    post_body 
            
    PADDING-RIGHT16pxBORDER-TOP# 333 1px solid; PADDING-LEFT: 16px; BACKGROUND: url (img / post_body.jpg) no-repeat left top; PADDING-BOTTOM: 0px; PADDING-TOP: 16px 
      

      .... 
      . 
    foto 
          
            
    background-imageurl (img image_bg.png); 
            
    background-repeatno-repeat
            
    width120px
            
    height120px
            
    text-aligncenter
            
    padding-top18px
            
    floatleft
            
    padding-right10px
            
    clearnone
            
    text-decorationnone
     
      ) 
      . 
    photonic A 
            
    COLOR# 878787; TEXT-DECORATION: none 
      

      . 
    photonic Ahover 
            
    TEXT-DECORATIONunderline 
      

    Issue:

    PHP Code:
     echo "<div class='post_body'>"
     
            echo 
    "<p>." substr ($ art 'art_inhalt'], 0600 )."..."
                
            for ($ 
    i88 0; $ i88 <$ num_fotos; $ i88 + +) 
            ( 
                  $ 
    photo mysql_fetch_array ($ res_fotos); 
                  echo 
    "<div class='foto'> <a href = 'images /'. $ photo [ 'foto_foto_id']. $ photo [ 'foto_foto_endung']."' rel =' lightbox [roadtrip]" title = " '. $ photo [ 'foto_foto_name']."'>< div style =' width: 90px; height: 65px; margin-left: auto; margin-right: auto; vertical-align: middle; '> <img src =' images / ". $ photo [ 'foto_foto_id']. $ photo [ 'foto_foto_endung']."' style =' max-width: 90px; max-height: 65px; 'old =''></ div> <div style 'padding-top: 6px "> image"; 
                  echo $ i88 +1; 
                  echo "by". $ num_all_fotos. "</ div> </ a> </ div>";       
            ) 
          
            echo "</ p>"; 
     
            echo "</ div>"; 

  2. #2
    Join Date
    May 2008
    Posts
    255

    Re: CSS: background and text-Decoration

    You can defined it as:
    PHP Code:
    foto    A    
            
    COLOR:    # 878787   ; TEXT-DECORATION:    none 
      


  3. #3
    Join Date
    May 2008
    Posts
    194

    Re: CSS: background and text-Decoration

    Font weight: font-weight

    This feature is available since version: CSS 1

    The property font-weight determines how bold font is displayed. This must be elected by the Scripture also be supported.
    PHP Code:
     <! DOCTYPE HTML PUBLIC "- / / W3C / / DTD HTML 4.01 / / EN" "http://www.w3.org/TR/html4/strict.dtd">  
      <
    html
        <
    head

          <
    style type="text/css"
           
    (font-weightbold;) 
          </ 
    style
        </ 
    head
        <
    body
            <
    pthis paragraph is the font weight bold statement by the 
      font
    -weight has been assigned.  The font is so bold
            </ 
    p
        </ 
    body
      </ 
    html

Similar Threads

  1. Want to add text on a page having background color
    By Lakshmidhar in forum Software Development
    Replies: 4
    Last Post: 02-10-2010, 10:51 PM
  2. Set ToolTip Text background color in java
    By Adrina_g in forum Software Development
    Replies: 4
    Last Post: 24-02-2010, 11:05 PM
  3. Icon text background not transparent
    By Catchkuber in forum Windows XP Support
    Replies: 3
    Last Post: 23-01-2010, 01:46 AM
  4. How to set html text background
    By Broot in forum Software Development
    Replies: 3
    Last Post: 29-07-2009, 03:16 PM
  5. Icons with Transparent Text Background
    By Rhys in forum Customize Desktop
    Replies: 4
    Last Post: 26-02-2009, 02:38 PM

Tags for this Thread

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
  •  
Page generated in 1,714,049,813.23520 seconds with 16 queries