Results 1 to 7 of 7
  1. #1
    Join Date
    May 2012
    Posts
    564
    Plugin Contributions
    0

    Default Help with Styling here please

    I'm trying to get this page to look the way I want and there's something wrong with my coding. The first paragraph is fine. The first question and every question thereafter, I want in ED3A84 and I'm obviously not entering the right code. The answer should be in #444443. I didn't continue entering the same incorrect code.

    I might want the question to appear in bold font. I won't know until I see how light it looks in the bright pink. Can you give an option for bold as well? The answer will always be regular.


    <p style="COLOR:#444443; FONT-SIZE: 120%;"> I thought you might be interested in how this Website came to be, and how I run my business, which is different than other impersonal discount perfume stores you’ll find online. So here’s a little question and answer to cover all of that. <br/><br/>

    <p style="COLOR:ED3A84; FONT-SIZE: 120%">Why perfume? <br/><br/></font></font>

    I guess it started with my mother’s Evening in Paris. I would go into her room and just smell it for what seemed like hours. In the 80s, I fell seriously in love with Borghese’s Fiamma, now sadly discontinued or it would be my signature scent. I simply love fragrance and have to be a part of the industry in some way. Having free reign to showcase what I choose, and gush over what I choose, and discount what I choose, is a dream come true. <br/><br/>

    How did this Website come to be? <br/><br/>

    I went to a trade show hoping to connect with one or more perfume wholesalers and successfully made some contacts.<br/><br/>
    It looks like this:


    http://www.zen-cart.com/newthread.php?do=newthread&f=16

    Thanks!
    Last edited by traytray; 25 May 2013 at 02:06 AM.

  2. #2
    Join Date
    Jan 2004
    Posts
    66,450
    Plugin Contributions
    81

    Default Re: Help with Code here please

    Why aren't you closing your <p> paragraphs with a </p> tag?
    Why are you using </font> tags? (use of <font> tags is largely obsolete nowadays, plus you're using closing </font> tags without ever having opened them first)
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  3. #3
    Join Date
    May 2012
    Posts
    564
    Plugin Contributions
    0

    Default Re: Help with Code here please

    Quote Originally Posted by DrByte View Post
    Why aren't you closing your <p> paragraphs with a </p> tag?
    Why are you using </font> tags? (use of <font> tags is largely obsolete nowadays, plus you're using closing </font> tags without ever having opened them first)
    Can you please show me the right way to get the desired result?

  4. #4
    Join Date
    Jan 2004
    Posts
    66,450
    Plugin Contributions
    81

    Default Re: Help with Code here please

    <p>Every paragraph opens and closes with a corresponding P tag like this one has.</p>

    <p style="color:#444443">This one has a color associated with all text in this paragraph. Remember that any number-based color code must begin with a # symbol.</p>
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  5. #5
    Join Date
    May 2012
    Posts
    564
    Plugin Contributions
    0

    Default Re: Help with Code here please

    Quote Originally Posted by DrByte View Post
    <p>Every paragraph opens and closes with a corresponding P tag like this one has.</p>

    <p style="color:#444443">This one has a color associated with all text in this paragraph. Remember that any number-based color code must begin with a # symbol.</p>
    Thanks, I learned something tonight.

    How do I get the color for the questions to turn to ED3A84. I am using :

    <p style="COLOR:ED3A84; FONT-SIZE: 120%">Why perfume? </p>

    But it is still coming up #4444443 from the previous paragraph.

  6. #6
    Join Date
    Jan 2004
    Posts
    66,450
    Plugin Contributions
    81

    Default Re: Help with Code here please

    See my comment about your missing # symbol on that color code.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  7. #7
    Join Date
    May 2012
    Posts
    564
    Plugin Contributions
    0

    Default Re: Help with Code here please

    Quote Originally Posted by DrByte View Post
    See my comment about your missing # symbol on that color code.
    Thanks! I thought you meant only if it had ALL numbers and no letters. All is good now.

 

 

Similar Threads

  1. v151 Help with sub category styling
    By longstockings in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 19 Dec 2013, 12:29 PM
  2. Newbie here, please help.
    By Silver_ss in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 27 Mar 2008, 10:06 PM
  3. Replies: 1
    Last Post: 9 Oct 2006, 08:45 PM
  4. New here please help!
    By dallas82221 in forum Installing on a Linux/Unix Server
    Replies: 5
    Last Post: 8 Sep 2006, 02:09 PM
  5. New here! Please help!
    By lollyloopp in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 12 Jul 2006, 08:33 PM

Posting Permissions

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