Forum Moderators: not2easy

Message Too Old, No Replies

CSS Background Image Appears In All Floats

Need help with CSS Background Image Appears In All Floats

         

iamPariah

10:02 am on Dec 15, 2004 (gmt 0)

10+ Year Member



Last night, this page <No URLs, thanks. See TOS [WebmasterWorld.com] and CSS Forum Charter [WebmasterWorld.com]>
.. looked exactly as intended. Today, with no changes whatsoever to the xHTML or CSS, the background image on the .BlogPost DIV is repeated (and shifted) by all subsequent floats. The floats shouldn't have a background, but they're also ignoring any background-image: none; attributes.

I'm at my wits end. I would appreciate any help I can get.

The CSS is in the header for testing purposes.

Thanks,

P

[edited by: SuzyUK at 10:43 am (utc) on Dec. 15, 2004]

SuzyUK

11:15 am on Dec 15, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Hi iamPariah - Welcome to WebmasterWorld

have you validated your HTML [validator.w3.org] and CSS [jigsaw.w3.org] could there be some malformed HTML markup causing the CSS confusion? (how stirct this is will depend on the Doctype)

If not can you provide us with a shortened example of your HTML nesting and its relevant CSS

Thanks
Suzy

iamPariah

7:00 pm on Dec 15, 2004 (gmt 0)

10+ Year Member



I can't narrow it down to a small section of code pastable here.

What kind of "webmaster" forum doesn't allow URLs? How are members supposed to view live examples and help one another with problems?

--P