Forum Moderators: phranque

Message Too Old, No Replies

CSS What is causing my text to drop

Can someone please check my CSS?

         

Familyman501

2:02 am on Aug 24, 2007 (gmt 0)

10+ Year Member



I have a menu on the left then some paragraphs of text in the middle of this page...

How do I get my paragraphs of text to allign to the top on this page. It's defined in the css file at

Can anyone see how to move my words up the page?

Any other problems you see? Let me know, please, as I'm going to make all my pages off this template.

Thanks if you can help.

[edited by: jatar_k at 6:59 pm (utc) on Aug. 24, 2007]
[edit reason] no urls thanks [/edit]

rocknbil

6:29 am on Aug 24, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



First, put a border on #content so you can see what's happening.

#center{float: left;width:380px;padding: 0 20px; border: 1px solid #ff0000; }

Next, immediately after div #main and before div #content, remove this:

<br><br><br>

and see what happens. "Raw elements" anywhere in a page is a recipe for odd behavior.

In return, see #13 [webmasterworld.com].

Familyman501

6:57 pm on Aug 24, 2007 (gmt 0)

10+ Year Member



Thanks Rocknbill. Your help is truely appreciated. Works fantastic. It's always good to have and expert look over my mess and offer help.

One thing that puzzles me. I can't find any reference to Italics in my css yet the two headers in the leff-hand-side menus are in italics. What is causing the italics? Can you help?

[edited by: Familyman501 at 7:00 pm (utc) on Aug. 24, 2007]

Beagle

11:38 pm on Aug 24, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



And thank you from the visitor's side! I've just about clicked the back button on a few sites because I thought the page wasn't loading - to discover that if I scrolled down the text starts at the bottom end of the nav menu. rocknbill, is it okay with you if I pass the solution along? One of the offenders is a big-name webhost, BTW - you'd think they'd notice something like that, wouldn't you?

(This also wins a bet I had with a friend, who'd had the same experience. I said it had to be css-related, but she didn't see how that was possible.)