42 users online (0 members and 42 guests)  


  Results 1 to 11 of 11

Related

  1. #1
    nvisages's Avatar
    New User

    Status
    Offline
    Join Date
    Apr 2009
    Location
    USA
    Posts
    5

    Text is restyling even though I'm using the same CSS

    Hi!

    I can't for the life of me figure this one out. I'm linking to the same stylesheet and I've even tried using the very same code for the links. I don't know why on the first (ezine) page, the text is styled with italics but not on the second (links) page. It's not supposed to be in italics- (the links page is correct). I looked for the italic tag but it's not that either.

    ezine page: http://budurl.com/xkju
    links page: http://budurl.com/ur9h

    Can anyone figure this out? There's probably some awesome html person who will see it right away.

    Thank you so much for your help!

    PS: I'm getting the message on this forum:

    "The following errors occurred with your submission: You are only allowed to post links once you have at least 5 posts. You may post the URL but you must uncheck "Automatically parse links in text" in the Additional Options below." ... I did uncheck it but I'm still getting this error message.

  2. #2
    coothead's Avatar
    bald headed old fart

    Status
    Offline
    Join Date
    Aug 2003
    Location
    chertsey, a small town 25 miles south west of london, england.
    Posts
    732

    Re: Text is restyling even though I'm using the same CSS

    Hi there nvisages,

    and a warm welcome to these forums.

    you will find the answer in the HTML not the CSS.

    Here is an example to get you started...
    Code:
    
    <strong>Sign up for </strong><em><strong>Conscious  Living, our</strong></em>
    The em element invariably displays text as italic.

    Also note that double posting is a no no in the forums.

  3. #3
    nvisages's Avatar
    New User

    Status
    Offline
    Join Date
    Apr 2009
    Location
    USA
    Posts
    5

    Re: Text is restyling even though I'm using the same CSS

    Quote Originally Posted by coothead View Post

    you will find the answer in the HTML not the CSS.

    Here is an example to get you started...
    Code:
    
    <strong>Sign up for </strong><em><strong>Conscious  Living, our</strong></em>
    The em element invariably displays text as italic.
    Hi and thank you for your answer!

    I just checked and that's not it, unfortunately. The text you indicated is actually intended to be italic. The problem I'm having is the REST of the text. For example, all of the body copy as well as the bottom links appear in italics although I have not put <em> around them.

    And just so you know, it wasn't my intention to double-post, it was my intent to MOVE the post. I originally posted in the HTML section, then thought it should have been in the CSS section so I put it there intending to delete my original post ... but someone had already replied to the first one as I was creating the replacement post so I didn't want to delete the original.

    You'll notice I had mentioned that on my first post, the one in the html forum.
    Last edited by nvisages; 04-02-2009 at 08:18 AM. Reason: checked the solution which was provided and noticed that wasn't it :)

  4. #4
    nvisages's Avatar
    New User

    Status
    Offline
    Join Date
    Apr 2009
    Location
    USA
    Posts
    5

    Re: Text is restyling even though I'm using the same CSS

    I just noticed that the <em> wasn't what was causing the trouble so I edited my reply ... see above My challenge hasn't been resolved.

    (For future ref, Would it have been better for me to have added a second reply or editing the first reply?) Thank you

  5. #5
    coothead's Avatar
    bald headed old fart

    Status
    Offline
    Join Date
    Aug 2003
    Location
    chertsey, a small town 25 miles south west of london, england.
    Posts
    732

    Re: Text is restyling even though I'm using the same CSS

    Hi there nvisages,

    I am sorry about that.
    I looked at the wrong link.

    The problem on the ezine page...
    • http://budurl.com/xkju

    ..is, again, not in the CSS but in the HTML.

    You have an unclosed em element that causes all the text that follows to be italicised.

    I have highlighted in red where it is to be positioned...
    Code:
    
    <div id="quot">
    <p>“<em>
    I  appreciate your dedication and passion to improving the lives of others, 
    and I have enjoyed  learning the following from you: 1- simple, applicable, easy to 
    remember  techniques, 2- how to use positive affirmations to clear energy instead of just  
    focusing on what is perceived as ‘wrong’, 3- the importance of keeping a  gratitude journal, 
    4- how to use a profound tool (EFT) for healing. ”
    </em></p>
    — Anah L., Wellness Coach, Hawaii 
    </div>
    

  6. #6
    nvisages's Avatar
    New User

    Status
    Offline
    Join Date
    Apr 2009
    Location
    USA
    Posts
    5

    Thumbs up Re: Text is restyling even though I'm using the same CSS

    YOU are absolutely the BEST!!!! Thank you! Wow, that's it!!! Do you have *any* idea how long I was looking at this trying to figure it out? lol

    Thank you so much.

    The funny thing is, as I came to the forum here, I kept reading this, "...Remember being a youngster, mom or dad telling you "close the door"? Well the same applies to HTML ...." never even realizing THAT was my very issue! (Shaking my head at self)

    I wonder if there's a tool online which will check opening and closing tags ... do you know of one?

    THANK YOU!!!!

  7. #7
    HTML's Avatar
    Administrator

    Status
    Offline
    Join Date
    Aug 2000
    Posts
    3,445

    Follow HTML On Twitter Add HTML on Facebook Add HTML on Google+ Add HTML on Linkedin Visit HTML's Youtube Channel

    Re: Text is restyling even though I'm using the same CSS

    Quote Originally Posted by nvisages View Post
    YOU are absolutely the BEST!!!! Thank you! Wow, that's it!!! Do you have *any* idea how long I was looking at this trying to figure it out? lol

    Thank you so much.

    The funny thing is, as I came to the forum here, I kept reading this, "...Remember being a youngster, mom or dad telling you "close the door"? Well the same applies to HTML ...." never even realizing THAT was my very issue! (Shaking my head at self)

    I wonder if there's a tool online which will check opening and closing tags ... do you know of one?

    THANK YOU!!!!
    http://www.ahfb2000.com/htmlvalidator.php

    http://www.ahfb2000.com/webmastertools.php
    AHFBWEB Less customers per server, more power for you!

    Business Class Shared Hosting

  8. #8
    rangana's Avatar
    Moderator/Allstar

    Status
    Offline
    Join Date
    Feb 2008
    Location
    Cebu City Philippines
    Posts
    317

    Re: Text is restyling even though I'm using the same CSS

    Thread moved from CSS section to HTML.
    Checkout my porfolio.
    Please click the button when a member helped you.
    Take time to use Forum's Search function.

  9. #9
    nvisages's Avatar
    New User

    Status
    Offline
    Join Date
    Apr 2009
    Location
    USA
    Posts
    5

    Smile Re: Text is restyling even though I'm using the same CSS

    I just wanted to thank you so much to the people who responded. I completely appreciate your wisdom and references and how quick you were to respond to my question and followup. You guys are amazing!

  10. #10
    coothead's Avatar
    bald headed old fart

    Status
    Offline
    Join Date
    Aug 2003
    Location
    chertsey, a small town 25 miles south west of london, england.
    Posts
    732

    Re: Text is restyling even though I'm using the same CSS

    No problem, you're very welcome.

  11. #11
    adamsen's Avatar
    Senior Member

    Status
    Offline
    Join Date
    Jan 2009
    Location
    Denmark
    Posts
    128

    Re: Text is restyling even though I'm using the same CSS

    Hi, I saw your need of a Html/XHtml/Xml validator (!?!). Here you have one of the bests (unfortunaly only for sites on servers )

    1. http://www.w3schools.com/site/site_validate.asp

    Please note that W3schools.com is a very good place to learn almost everything about WWW. I learned HTML and CSS by printing their guides and reading them when I had time.
    Adamsen



Tags for this Thread