Hi I need some help if poss I have got a html5, css and jquery website and want to add a 6th tab to it but can't seem to do it, things I have tried don't work I edited the menu as is a image and then added the following to the style.css #content>.dt6 { background-position:-240px 0; } #content>.dt6 a { background-position:-240px -459px; } Code (markup): Then copied and pasted the coding from the services section and just changed the css class and id to dt6 and page6 but is not working, can someone help please if poss the website is www.irhwebsites.co.uk Thank you so much
Well, you've got a lot of "gee ain't it neat" and ultimately useless **** there... I HIGHLY advise against rotating the menu like that because it's a pain in the ass to actually USE without cranking your head sideways. ... and that's before we talk the 1997 style HTML 3.2 with a 5 doctype, jquery and javascript for NOTHING, little if any graceful degradation, complete gibberish/nonsensical use of numbered heading tags, little if anything resembling semantic markup, inaccessible fixed width design with even less accessible fixed metric (px) fonts, and shoe-horning into one file what should be multiple separate pages. Much less the non-tiled background that looks really stupid on 1920 or wider screens. Do yourself a favor, back AWAY from the javascript, back away from the "gee ain't it neat" "but I can do it in photoshop" nonsense that's pissing all over your sites usability/functionality/accessibility, and go a bit more conventional on your layout. There's a REASON you don't see real websites doing garbage like this! Professional? Professionals do not jump from a H1 to a H6. Professionals do not still use clearing DIV like it's 2001. Professionals do not still use the TARGET attribute shoving a new window down the users throat! (there's a REASON it was deprecated! ... and no replicating it in scripting is NOT the answer either!). Professionals do not make their flow text be px metric. Professionals do not sleaze out crappy fixed width layouts. Professionals do not use Dreamweaver's DUMBASS MALFING mm_ functions that throw javascript at doing CSS' job! Professionals do not put double-breaks INSIDE a P -- if it has that much spacing it's probably a separate paragraph! JUST another laundry list of how not to build a website, rather than making it even HARDER to use and slower to load with another tab, you really need to throw it out and start over, there is NOTHING here I would even CONSIDER deploying as a website; as evidenced by the 26k of markup to deliver 2.6k of plaintext and one form -- much less the ridiculous 2.2 MEGABYTES in 58 files for same!!!