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 12 of 12
  1. #1
    Senior Coder effpeetee's Avatar
    Join Date
    Feb 2007
    Location
    Clapham Junction - London SW
    Posts
    4,885
    Thanks
    228
    Thanked 204 Times in 203 Posts

    Exclamation Why is this text not centred? - NOW SORTED.

    This is an attempt on my part learn some basic css which I cannot seem to grasp.
    Such a simple thing. What am I missing. (Except for the odd brain cells, that is)

    Frank

    http://www.exitfegs.co.uk/amuckup.html

    Sorry I left that out.
    Last edited by effpeetee; 09-26-2007 at 05:48 PM. Reason: Errors and omissions.
    * Sources (updated: 21.11.2012.
    Using Windows 8 Professional. 64bit with HP Photosmart 5510 printer Very useful site here.

  • #2
    Regular Coder
    Join Date
    Jun 2004
    Posts
    495
    Thanks
    0
    Thanked 82 Times in 80 Posts
    What text?

  • #3
    Regular Coder
    Join Date
    Sep 2007
    Location
    Raleigh, NC
    Posts
    273
    Thanks
    7
    Thanked 59 Times in 52 Posts
    Yeah missing a link, but if the text isn't centered make sure the containing block has a "text-align: center" rule in it.

  • #4
    Senior Coder effpeetee's Avatar
    Join Date
    Feb 2007
    Location
    Clapham Junction - London SW
    Posts
    4,885
    Thanks
    228
    Thanked 204 Times in 203 Posts
    Whose a silly boy then............................

    http://www.exitfegs.co.uk/amuckup.html

    Sorry, I must keep off the Sherry trifles.

    Frank
    * Sources (updated: 21.11.2012.
    Using Windows 8 Professional. 64bit with HP Photosmart 5510 printer Very useful site here.

  • #5
    Senior Coder BarrMan's Avatar
    Join Date
    Feb 2005
    Location
    Israel.
    Posts
    1,644
    Thanks
    69
    Thanked 83 Times in 82 Posts
    It's not surprising me when the div is before the body tag:
    Code:
    <div id="body">
    <body>

  • #6
    Senior Coder effpeetee's Avatar
    Join Date
    Feb 2007
    Location
    Clapham Junction - London SW
    Posts
    4,885
    Thanks
    228
    Thanked 204 Times in 203 Posts
    Quote Originally Posted by BarrMan View Post
    It's not surprising me when the div is before the body tag:
    Code:
    <div id="body">
    <body>
    Thanks a lot.
    How on earth did I miss that?

    Frank

    http://www.exitfegs.co.uk/amuckup.html

    It's OK now.
    * Sources (updated: 21.11.2012.
    Using Windows 8 Professional. 64bit with HP Photosmart 5510 printer Very useful site here.

  • #7
    Regular Coder Jutlander's Avatar
    Join Date
    Jun 2007
    Location
    In my own sick little world :P
    Posts
    425
    Thanks
    1
    Thanked 12 Times in 12 Posts
    You missed it because you didn't validate the page... Something you've been encouraging others to do before.
    .
    .

  • #8
    Regular Coder
    Join Date
    Sep 2007
    Location
    Raleigh, NC
    Posts
    273
    Thanks
    7
    Thanked 59 Times in 52 Posts
    Quote Originally Posted by effpeetee View Post
    I'll go away if that is what you want.
    No need to be so self-deprecating or dramatic, but it is a good point--the W3C validation would have picked that up and saved you a lot of frustration. I don't think anyone was trying to be hostile about it. We all need a reminder to practice what we preach every now and then.

  • #9
    Regular Coder Jutlander's Avatar
    Join Date
    Jun 2007
    Location
    In my own sick little world :P
    Posts
    425
    Thanks
    1
    Thanked 12 Times in 12 Posts
    Quote Originally Posted by effpeetee View Post

    I'll go away if that is what you want.
    I don't see where I state that in my post before? I'm just saying that if you validated it, it would have caught it and you would have figured out this very simple problem by yourself instead of one of us doing it.

    It is very okay to come for help here - after all that's what it's for, but we all encourage people to validate their page in question before asking. It eliminates the possibility that it is a coding error that causes the mistake. I hope you can see what I mean. This is a long, but very relevant read: http://diveintomark.org/archives/200..._wont_help_you
    .
    .

  • #10
    Senior Coder effpeetee's Avatar
    Join Date
    Feb 2007
    Location
    Clapham Junction - London SW
    Posts
    4,885
    Thanks
    228
    Thanked 204 Times in 203 Posts
    I do have a validator and I regularly use it.
    I have added a screen shot of it.

    You assumed that I had not validated it.

    As the song used to say "It ain't what you say; it's the way that you say it."
    Not you personally, but I have been rebuked several times whan I asked for help. Made to feel small. By people who think that they are good teachers.

    Clever coders and obviously efficient but also obviously lacking in people skills.
    NOT the mark of a good teacher.

    I was annoyed and I have had my say.

    I have removed the post.

    Frank
    Attached Thumbnails Attached Thumbnails Why is this text not centred? - NOW SORTED.-screenhunter_04-sep.-26-16.42.jpg  
    Last edited by effpeetee; 09-26-2007 at 05:00 PM.
    * Sources (updated: 21.11.2012.
    Using Windows 8 Professional. 64bit with HP Photosmart 5510 printer Very useful site here.

  • #11
    Regular Coder Jutlander's Avatar
    Join Date
    Jun 2007
    Location
    In my own sick little world :P
    Posts
    425
    Thanks
    1
    Thanked 12 Times in 12 Posts
    I don't think the people who've helped you ever claimed that they were good teachers or wanted to be so. But please correct me if I'm wrong.

    I'll just rephrase that quote you gave: "It's not what they write. It's how you interpret it in your mind."

    When writing in a forum we only have the written word, not mimics, pitch, etc. Elements that play a big role in everyday communication with other people, face to face.
    .
    .

  • #12
    Regular Coder Jutlander's Avatar
    Join Date
    Jun 2007
    Location
    In my own sick little world :P
    Posts
    425
    Thanks
    1
    Thanked 12 Times in 12 Posts
    Quote Originally Posted by effpeetee View Post

    You assumed that I had not validated it.
    I see you've edited this later on. Yes I assumed you hadn't validated it because if you did, the validator would have picked up the error... So it doesn't really matter if I assumed this or not. But I can tell, you didn't.

    sigh
    .
    .


  •  

    Posting Permissions

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