Jump to content

Nim199

Members
  • Posts

    160
  • Joined

  • Last visited

Posts posted by Nim199

  1. You could try the vertical-align property.

    <head><style type="text/css">p {vertical-align:text-bottom}</style></head><body><p><img src"#">~Text!!!~</p></body></html>

    If not, revise with the w3schools vertical-align try it editor.Thanks for reading.

  2. Hello all!The XML tutorial is not as friendly as most of the many other tutorials. The examples are not as helpful either. I recomend displaying the sourse of the example page, even if it cannot be edited by the viewer, in the Tryit window.Thanks for reading!

  3. If you have formated the images in a style sheet, or in the head option, it will override the tag info.If it is for this reason, you just need to either: - Remove the style sheet - Remove the image formating section - Use the 'span style' object to override the style sheet (I have no idea of the outcome, but it seems logical) - Create a new statement in the style sheet, like this [img.noformating {}], and set the "img" tag to that class (again, I have no idea of the outcome, but it seems logical)or - Create a new statement in the style sheet, like this [img.noformating {width: ###; height: ###}Best of luck.

  4. Hello,I have been making websites since I was 7, but when I found W3Schools, my life changed! I had no way of learning other WebLanguages before my 11th birthday, but I stumbled over this brilliant Website looking for a tag to genereate moving images. I now know it is still the "Img src" tag.Praise for W3Schools!!!!!

  5. Couldn't you use a span tag? Font tags are deprecated in XHTML. Try this maybe:
    <html><head><style type="text/css">h1 {color: #000; }.color2 {color: #HEXCODE; }</style></head><body><h1>Counter Srtike : <span class="color2">First Person Shooter</span></h1></body></html>

    I think you can put span elements inside of heading elements.

    I said that above.
  6. Couldn't you use a span tag? Font tags are deprecated in XHTML. Try this maybe:
    <html><head><style type="text/css">h1 {color: #000; }.color2 {color: #HEXCODE; }</style></head><body><h1>Counter Srtike : <span class="color2">First Person Shooter</span></h1></body></html>

    I think you can put span elements inside of heading elements.

    I said that above.
  7. try this then:

    <head><style type="text/css>h1.cs {color: black}h1.fps {color: blue}</style></head><body><h1 class="cs">Text<h1 class="fps">Text2</h1></body>

  8. Hi,I have a heading like "Counter Strike : First Person Shooter". Now I want the "Counter Strike" word to be in black in the "First Person Shooter" part to be in blue. How do I do this? Is there some Pseudo class or something do this??
    Try this:
    <head><style type="text/css>h1.cs {color: black}h1.fps {color: blue}</style></head><body><h1 class="cs">Counter Strike:</h1><h1 class="fps">First Person Shooter</h1></body>

    Overwise try the "span style" method.

×
×
  • Create New...