+ Reply to Thread
Page 1 of 2 1 2 LastLast
Results 1 to 10 of 11

Thread: How do I maintain text size using <li>

  1. #1
    Join Date
    Nov 2006
    Location
    Oregon
    Posts
    858

    Default How do I maintain text size using <li>

    I am trying to use bullet lists in a page using <ul><li> code and it reduces the size of my text. This is an example of the current page I'm working on; http://www.dennispeaseteam.com/home-staging.php.

    Is there something I can do to maintain text size & color? I tried <h4> which was close in text size but made the text red.

  2. #2
    Join Date
    Oct 2007
    Posts
    56

    Default Re: How do I maintain text size using <li>

    You could either modify the CSS file, setting a font size for unordered lists in the #text div to 12px, or you could set it inline (within the page)...

    CSS File: #text ul { font-size: 12px }

    or...

    Inline: <ul style="font-size:12px">

    I think that'll fix it for ya...

  3. #3
    Join Date
    Nov 2006
    Location
    Oregon
    Posts
    858

    Default Re: How do I maintain text size using <li>

    Yoyo,

    I did the inline since I don't have access to the CSS. I couldn't seem to get the font exactly the same but it's a huge improvement over what I had.

    Thank you,
    Dennis Pease / Broker
    Hybrid Real Estate - Eugene, Oregon - 541-844-9287

    Eugene Real Estate | Florence Oregon Real Estate

  4. #4
    Join Date
    Feb 2007
    Location
    Fort Lauderdale, Florida
    Posts
    1,498

    Default Re: How do I maintain text size using <li>

    You could also just format it to make your own list, instead of using the fancy HTML for it. i.e. put the actual bullets and formatting for it yourself. Though that of course would be a last resort.
    If you're not remembered, you never existed.

  5. #5
    Join Date
    Oct 2007
    Posts
    56

    Default Re: How do I maintain text size using <li>

    It looks like the line height for the <p> tags are set to 18px. You could set the <ul> tags to 18px by:

    <ul style="font-size:12px; line-height:18px">

    Yoyo

  6. #6
    Join Date
    Nov 2006
    Location
    Oregon
    Posts
    858

    Default Re: How do I maintain text size using <li>

    I added the line-height:18px and that is much better. It seems like the letters are a little closer than the regular text and I added font-stretch: ultra-expanded; but it's still not quite the same.

    It is however much better than what I had, and the line-height really made it look better.

    Thank you,
    Dennis Pease / Broker
    Hybrid Real Estate - Eugene, Oregon - 541-844-9287

    Eugene Real Estate | Florence Oregon Real Estate

  7. #7
    Join Date
    Jul 2006
    Posts
    37

    Default Re: How do I maintain text size using <li>

    It's your font. Add font-family: verdana, arial, helvetica, sans-serif; and you should be good to go!

  8. #8
    Join Date
    Nov 2006
    Location
    Oregon
    Posts
    858

    Default Re: How do I maintain text size using <li>

    Perfect, that did it! Thank you everyone that helped.
    Dennis Pease / Broker
    Hybrid Real Estate - Eugene, Oregon - 541-844-9287

    Eugene Real Estate | Florence Oregon Real Estate

  9. #9
    Join Date
    Apr 2004
    Location
    Nanaimo
    Posts
    16,026

    Default Re: How do I maintain text size using <li>

    Ummm I hate to come in late here - but Dennis, you do not want to be putting messy inline styles in your code if at all possible - instead, just ask the REW team to change or increase the default styles for your UL / LI in the customer service forums in the "external" style sheet - then you never have to worry about it and it will always be consistent
    Starting LEC 7 soon but it won't be called LEC 7 - LEC 2012 coming soon!

  10. #10
    Join Date
    Nov 2006
    Location
    Oregon
    Posts
    858

    Default Re: How do I maintain text size using <li>

    Lol, I guess I should have known to do that first. I just always want to fix things myself.

    Thanks,
    Dennis Pease / Broker
    Hybrid Real Estate - Eugene, Oregon - 541-844-9287

    Eugene Real Estate | Florence Oregon Real Estate

+ Reply to Thread
Page 1 of 2 1 2 LastLast

Posting Permissions

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