/    Sign up×
Community /Pin to ProfileBookmark

Simple CSS….I thought

Hi, 1st time post hope you can help and thanks in advance.

So I am i playing with CSS and LavaLamp following the tutorial on this site to create the menu at the top of the page (the one with the nice orange bg ? ) [url]http://www.gmarwaha.com/blog/2007/08/23/lavalamp-for-jquery-lovers/[/url] I thought i had followed the tutorial 100% and still can’t see where I have gone wrong but the background would not come up [yes i have copped the images and added them to my testing server]. All i get is a menu with the moving orange blob beneath it.

I investigate a little further using firebug [firefox] and chrome’s built in code tool and find that none of the information I have included in the CSS HERE section is

[CODE]
.lavaLamp {
CSS HERE
}
//or
.lavaLamp ul{
CSS HERE
}

[/CODE]

being looked at and there is no reference to it in the browser, its like this code is not been written at all. So I delete it, and the LavaLamp stops working altogether showing the ul as an old fashioned ul.

However it works (without the bg of course ? ) with any tag in the css

[CODE] .BigPIG{}[/CODE]

or even just

[CODE] .{}[/CODE]

which baffles me! If anyone can let me know where I am going wrong, and or why the code still partially works with code in it that seems to do nothing I would be very great-full!

Thanks,
Stu

to post a comment
CSS

2 Comments(s)

Copy linkTweet thisAlerts:
@PBSWebDesignFeb 12.2011 — Dunno I tried it as well and all i got was a menu. No javascript running at all. Seems pretty poorly written or there is just something not explained to well in this tutorial.
Copy linkTweet thisAlerts:
@splatcatauthorFeb 13.2011 — I was just lost with this, and feel like i am seriously misunderstanding css and js ?
×

Success!

Help @splatcat spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.18,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...