Free Republic
Browse · Search
General/Chat
Topics · Post Article

To: Blogger
too many errors to go into here. Open your page in Firefox browser, go to Tools > Web Developer > Error Console to view list. You're using HTML declarations in CSS, which won't work... the browser just drops the declaration if it doesn't recognize. See the error console to find where they are.

Don't use the div tags as margin/padding around your images (such as the rotator image.) Use the margin and padding properties applied to the element that holds the rotator. Apply margin-left: auto; margin-right: auto; to center rather than "align: center" (which is HTML, not CSS).

30 posted on 01/22/2013 9:00:35 PM PST by ponygirl (Be Breitbart.)
[ Post Reply | Private Reply | To 1 | View Replies ]


To: ponygirl

Thanks, Ponygirl!


31 posted on 01/22/2013 9:08:27 PM PST by Blogger
[ Post Reply | Private Reply | To 30 | View Replies ]

To: ponygirl; Blogger
Don't use the div tags as margin/padding around your images (such as the rotator image.) Use the margin and padding properties applied to the element that holds the rotator. Apply margin-left: auto; margin-right: auto; to center rather than "align: center" (which is HTML, not CSS).

Since the main problem has already been identified a few posts up, I'll add your very good suggestions with a couple of my own.

Use a tool like tidy to unclutter the source and to spot HTML syntax errors. I was going to take a stab at it but was put off by the long lines of text and a hard to read layout of the HTML. White space is good and lines that don't occupy too much horizontal space are easier for the eye to parse.

Also there's a lengthy run of <BR> to force line breaks. This is better (and less fragile) done via CSS. I also see (not on this page) but elsewhere, a use of repeated &nbsp; sequences to force horizontal spacing which is likewise better handled with CSS.

Now that you've evidently got the crux of the problem solved, that's just some after-the-fact stylistic tweakage.

35 posted on 01/22/2013 9:37:05 PM PST by re_nortex (DP...that's what I like about Texas.)
[ Post Reply | Private Reply | To 30 | View Replies ]

Free Republic
Browse · Search
General/Chat
Topics · Post Article


FreeRepublic, LLC, PO BOX 9771, FRESNO, CA 93794
FreeRepublic.com is powered by software copyright 2000-2008 John Robinson