Creativebits.org

an All Creative World site
wedgin's picture
267 pencils

CSS layout issue

I'm hoping someone will be able to help me out with a CSS issue I've run into.

http://artsandtreasures.ca/home/artists.html
and
http://artsandtreasures.ca/home/stylesheet.css

On this page I've had issues with getting the CSS to work right. I have 2 columns of names and then below I want a horizontal rule, then all the artist descriptions. The problem I've run into is that for some reason I can't get the horizontal rule to display below my 2 columns, it keeps on occupying space to the right of the columns. I've tried putting numerous manual breaks to get it to drop down to where it should, but this isn't an ideal solution Is there a way to force the horizontal rule below the columns? Any help would be appreciated.

SlideawayMedia - web design for Cambridge, Kitchener, Waterloo, Guelph and surrounding areas.

http://www.modsuperstar.ca - now with 23% more iron

Commenting on this Forum topic is closed.

Ivan's picture

put this html right after the names:
{div class="line"}{/div}

and this into css:
.line { clear: both; width: 400px; border-bottom: 1px solid black }

Change the width according to your needs.

wedgin's picture
267 pencils

Thanks Ivan, that sorted it out. I knew there had to be a way of doing it, I just didn't know how.

SlideawayMedia - web design for Cambridge, Kitchener, Waterloo, Guelph and surrounding areas.

http://www.modsuperstar.ca - now with 23% more iron

Ivan's picture

NP. Glad to help.

Creativebits is a blog about creativity, design and Macs. We also have a critique section where you can post your work to get opinions and a forum to discuss any design related topics.

Recommend us on Google

Latest critique

Do you need a great new logo?

If you need a logo for your company or product you can get it done with us.
In our logo store you can pick from over 28,000 pre-made logos that will be customized to your name for free or you can post a contest for us for just $250 and our designers from all over the world will submit dozens of logo design suggestions to your specific needs.

Marketplace