YotaTech Forums

YotaTech Forums (https://www.yotatech.com/forums/)
-   Computer Talk (https://www.yotatech.com/forums/f98/)
-   -   Quick coding help... (https://www.yotatech.com/forums/f98/quick-coding-help-104565/)

Cebby Jan 19, 2007 07:31 AM

Quick coding help...
 
I have a website I've been working on for a while now - it is nearly complete.

I have a small nagging problem that I can't seem to cure here.

When you do an unordered list <ul> and have a bit of text above it, the code automatically puts an extra blank line in between the unordered list and the text above it.

I need to figure out how I can eliminate that extra line on the page at the link attached.

Between lines "Adjoining..." and "Oversized..."

http://www.villabellavita.com/index....d=16&Itemid=33

Thanks in advance.

My workaround was putting everything in a table as I did on "Maps & Proximities" page.

garrett1478 Jan 19, 2007 07:43 AM


Originally Posted by Cebby (Post 50399677)
My workaround was putting everything in a table as I did on "Maps & Proximities" page.

that's what i was going to suggest...but i dont really know enough about HTML to know any other solution.

jsnby Jan 19, 2007 08:31 AM

try this(i broke up the lines so I could read it better):

Code:

<p>All Bedroom Suites Include:</p>
<ul style="margin-bottom: 0px; padding-bottom: 0px">
  <li>Adjoining Bathrooms luxuriously appointed with: </li>
</ul>
<ul style="margin-top: 0px; padding-top: 0px">
  <ul>
    <li>Oversized showers with multiple shower heads on main level</li>
    <li>Double sinks on main level</li>
    <li>French soaps and spa toiletries</li>
  </ul>
  <li>Custom Walk-in closets equipped with electronic safes </li>
  <li>Flat Screen TVs - Satellite Service</li>
  <li>....</li>
</ul>


calrockx Jan 19, 2007 08:37 AM

Good ol CSS, that's what I was gonna suggest :great:

Cebby Jan 19, 2007 09:05 AM

That fixed it! You da man!!!

THANK YOU!!!


All times are GMT -8. The time now is 05:29 AM.


© 2026 MH Sub I, LLC dba Internet Brands