Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 4 of 4

Thread: text-alignment

  1. #1
    New Coder
    Join Date
    Nov 2002
    Posts
    10
    Thanks
    0
    Thanked 0 Times in 0 Posts

    text-alignment

    Howdidoodi,
    I am new to style sheets and am using this for my text.

    .font2 {font-family: Verdana, Arial, Helvetica, sans-serif; font-size:11px; font-style: normal; text-align: left; }

    it works okakokay in an html page but in anXHTML page the alignment is centered. the text is in a table.

    any ideas

    The Piemaster
    " If I knew it I wouldn't ask it! but I don't so I do! so I have! and if you answer it! I'll know it just from you!"

  • #2
    Senior Coder
    Join Date
    Aug 2002
    Posts
    3,467
    Thanks
    0
    Thanked 0 Times in 0 Posts
    What are you attaching this class to? A TD? SPAN? DIV? ???
    My Site | fValidate | My Brainbench | MSDN | Gecko | xBrowser DOM | PHP | Ars | PVP
    “Minds are like parachutes. They don't work unless they are open”
    “Maturity is simply knowing when to not be immature”

  • #3
    Senior Coder
    Join Date
    Jun 2002
    Location
    The Netherlands, Baarn, Ut.
    Posts
    4,252
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Code?

    Piemaster,

    Can you show us the XTHML code you used?
    Regards,
    Ronald.
    ronaldvanderwijden.com

  • #4
    New Coder
    Join Date
    Nov 2002
    Posts
    10
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Howdidoodi,
    I have sorted it now it took me ages, I use dreamweaver and for some reason it put tags in all over the place where I didnt want them.

    Thanks for your trouble

    The Piemaster
    " If I knew it I wouldn't ask it! but I don't so I do! so I have! and if you answer it! I'll know it just from you!"


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •