terryds 0 Newbie Poster 11 Years Ago Here is the fiddle : http://jsfiddle.net/terryds/2QNK3/ The problem is the black bar at the top of the page... It should have 5px margin-bottom.. But, it doesn't... Please help me fix it... web-design 0 0 Share minitauros 151 Junior Poster Featured Poster 11 Years Ago Not sure but I think it's not recommended you place HTML elements outside your <body> tags (which is what your CSS is doing with the black bar). 0 0 Share Last Seen 32 Minutes Ago pritaeas 2,194 ¯\_(ツ)_/¯ Moderator Featured Poster 11 Years Ago Copy to Clipboard.topblack { position:relative; padding-top: 5px; } 1 0 Share terryds 0 Newbie Poster 11 Years Ago Thanks for your answer, pritaeas... It's working now... 0 0 Share Share Facebook Twitter LinkedIn Reply to this topic Be a part of the DaniWeb community We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge. Sign Up — It's Free!
minitauros 151 Junior Poster Featured Poster 11 Years Ago Not sure but I think it's not recommended you place HTML elements outside your <body> tags (which is what your CSS is doing with the black bar). 0 0 Share
Last Seen 32 Minutes Ago pritaeas 2,194 ¯\_(ツ)_/¯ Moderator Featured Poster 11 Years Ago Copy to Clipboard.topblack { position:relative; padding-top: 5px; } 1 0 Share
terryds 0 Newbie Poster 11 Years Ago Thanks for your answer, pritaeas... It's working now... 0 0 Share