Need some help <span>

Discussion in 'HTML & Website Design' started by !Unreal, Jul 4, 2008.

  1. #1
    Ive got this code:

    <span style="color: #FF0000"><b>Administrator</b></span>
    HTML:
    I want to make the size of the text to 24px. How do I add this to this line of code?
     
    !Unreal, Jul 4, 2008 IP
  2. greboguru

    greboguru Member

    Messages:
    78
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    43
    #2
    Hi,

    
    <span style="color: #FF0000; font-size:24px;"><b>Administrator</b></span>
    
    Code (markup):
    Try not to use in line styling though, create style and do it that way ...

    gG
     
    greboguru, Jul 4, 2008 IP
  3. !Unreal

    !Unreal Well-Known Member

    Messages:
    1,671
    Likes Received:
    27
    Best Answers:
    0
    Trophy Points:
    165
    #3
    I would use a style but where im using it I cant unfortunatly.
     
    !Unreal, Jul 4, 2008 IP
  4. modern_mozart101

    modern_mozart101 Peon

    Messages:
    105
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    I would define this in an external CSS document as opposed to within the HTML
     
    modern_mozart101, Jul 4, 2008 IP
  5. nicangeli

    nicangeli Peon

    Messages:
    828
    Likes Received:
    23
    Best Answers:
    0
    Trophy Points:
    0
    #5
    
    <strong style="color: #FF0000; font-size: 24px;">Administrator</strong>
    
    HTML:
    Whats the point in having a <b> inside a <span>...
     
    nicangeli, Jul 4, 2008 IP