Click here to Skip to main content
15,887,776 members
Home / Discussions / Web Development
   

Web Development

 
GeneralRe: A Favor, Please, From Any CSS Gurus Out There Pin
Roger Wright27-Mar-12 19:34
professionalRoger Wright27-Mar-12 19:34 
GeneralRe: A Favor, Please, From Any CSS Gurus Out There Pin
jkirkerx28-Mar-12 6:34
professionaljkirkerx28-Mar-12 6:34 
AnswerRe: A Favor, Please, From Any CSS Gurus Out There Pin
JimBob SquarePants29-Mar-12 3:02
JimBob SquarePants29-Mar-12 3:02 
GeneralRe: A Favor, Please, From Any CSS Gurus Out There - modified Pin
Roger Wright29-Mar-12 11:24
professionalRoger Wright29-Mar-12 11:24 
GeneralRe: A Favor, Please, From Any CSS Gurus Out There - modified Pin
miyasudokoro29-Mar-12 21:25
miyasudokoro29-Mar-12 21:25 
GeneralRe: A Favor, Please, From Any CSS Gurus Out There - modified Pin
Roger Wright30-Mar-12 3:44
professionalRoger Wright30-Mar-12 3:44 
GeneralRe: A Favor, Please, From Any CSS Gurus Out There - modified Pin
miyasudokoro30-Mar-12 14:22
miyasudokoro30-Mar-12 14:22 
GeneralRe: A Favor, Please, From Any CSS Gurus Out There - modified Pin
JimBob SquarePants30-Mar-12 0:08
JimBob SquarePants30-Mar-12 0:08 
Hi there,

The problem wasn't with the menu. It was actually with the content block. Removing the position:relative property from that solved the issue.

I had a closer look at the page and created a slightly tweaked copy that I've posted online for you. That fixes the menu problem as well as the moving logo problem. (That had to have been a bug right?)

I also introduced a new .clearfloat class which is added to any parent elements surrounding floating elements and correctly clears them.

There has been a lot of changes to the way css is used in the last few years and a lot of very clever and hard working people are doing the research and writing the code to make our lives as developers easier.

I highly recommend looking up the following http://html5boilerplate.com[^] project. That is the culmination of hundreds of hours combined work by a whole community of experts and really saves you some effort. Most of the stuff you won't need but I would certainly check out their normalise and helper css code as they are simply awesome.

Check out this too http://csslint.net/[^]. It'll gently chide you and point you in the direction of best practise css. On that note I would highly recommend looking up the concept of object orientated css. There are a lot of blogs out there that talk about it. This woman here http://www.stubbornella.org/content/[^] Is one of the foremost speakers on the subject. Don't believe it when you read she invented the concept though. I was certainly experimenting with it well before she made it popular. I don't have a shiny blog though.

I would certainly look into html5 too http://html5doctor.com/[^]. These guys here are really good. The markup you produce is cleaner, more semantically driven and can be supported for the most part using Modernizr http://www.modernizr.com/[^] to shiv in support for the new elements in ie8 and below.

Hopefully this will be enough to get you right back into web development again. It really is an exciting time for it.

Your tweaked files.

https://skydrive.live.com/redir.aspx?cid=46b6ee8fd7feac15&resid=46B6EE8FD7FEAC15!254&parid=46B6EE8FD7FEAC15!136[^]

Cheers

James

ps. Yeah jsfiddle is awesome. It's a really neat way to experiment and show people samples whenever you need help.
JimBob SquarePants
*******************************************************************
"He took everything personally, including our royalties!"
David St.Hubbins, Spinal Tap about Ian Faith, their ex-manager
*******************************************************************

GeneralRe: A Favor, Please, From Any CSS Gurus Out There - modified Pin
Roger Wright30-Mar-12 3:47
professionalRoger Wright30-Mar-12 3:47 
GeneralRe: A Favor, Please, From Any CSS Gurus Out There - modified Pin
User 171649230-Mar-12 4:09
professionalUser 171649230-Mar-12 4:09 
AnswerRe: A Favor, Please, From Any CSS Gurus Out There Pin
FireDog3126229-Mar-12 6:01
FireDog3126229-Mar-12 6:01 
QuestionApplication Hosting Pin
pix_programmer25-Mar-12 23:55
pix_programmer25-Mar-12 23:55 
AnswerRe: Application Hosting Pin
Wayne Gaylard26-Mar-12 0:55
professionalWayne Gaylard26-Mar-12 0:55 
GeneralRe: Application Hosting Pin
pix_programmer26-Mar-12 1:26
pix_programmer26-Mar-12 1:26 
GeneralRe: Application Hosting Pin
Wayne Gaylard26-Mar-12 4:41
professionalWayne Gaylard26-Mar-12 4:41 
AnswerRe: Application Hosting Pin
Mohibur Rashid26-Mar-12 19:04
professionalMohibur Rashid26-Mar-12 19:04 
QuestionFacebook Chat API Pin
Masihur25-Mar-12 19:51
Masihur25-Mar-12 19:51 
AnswerRe: Facebook Chat API Pin
Wayne Gaylard25-Mar-12 21:50
professionalWayne Gaylard25-Mar-12 21:50 
QuestionSOLVED :: $_SERVER['DOCUMENT_ROOT'] in php behaving different in my EasyPHP test server and in the production server... Pin
Joan M22-Mar-12 4:10
professionalJoan M22-Mar-12 4:10 
AnswerRe: $_SERVER['DOCUMENT_ROOT'] in php behaving different in my EasyPHP test server and in the production server... Pin
Peter_in_278022-Mar-12 11:04
professionalPeter_in_278022-Mar-12 11:04 
GeneralRe: $_SERVER['DOCUMENT_ROOT'] in php behaving different in my EasyPHP test server and in the production server... Pin
Joan M22-Mar-12 22:54
professionalJoan M22-Mar-12 22:54 
GeneralRe: $_SERVER['DOCUMENT_ROOT'] in php behaving different in my EasyPHP test server and in the production server... Pin
Peter_in_278025-Mar-12 14:28
professionalPeter_in_278025-Mar-12 14:28 
GeneralRe: $_SERVER['DOCUMENT_ROOT'] in php behaving different in my EasyPHP test server and in the production server... Pin
Joan M25-Mar-12 20:16
professionalJoan M25-Mar-12 20:16 
QuestionSOLVED :: I don't understand a black stripe on my web site... any tool/advice that could help me? Pin
Joan M22-Mar-12 0:28
professionalJoan M22-Mar-12 0:28 
AnswerRe: I don't understand a black stripe on my web site... any tool/advice that could help me? Pin
Mohibur Rashid22-Mar-12 3:32
professionalMohibur Rashid22-Mar-12 3:32 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.