homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

Home / Forums Index / WebmasterWorld / Webmaster General
Forum Library, Charter, Moderators: phranque

Webmaster General Forum

Is a Hidden <div> considered bad?

 2:29 pm on May 16, 2008 (gmt 0)

Quick question, are hidden <div> tags considered bad?




 5:36 pm on May 16, 2008 (gmt 0)

That would depend upon your definition of bad.

I use hidden divs all of the time, although the div usually becomes visible when the user performs a specific action.

Similarly, if I have a page where javascript is required, I will create a div with content that says "javascript is required", then on page load, I will use javascript to hide the div. If the user's browser has javascript enabled, then the div will never be visible and this is a good thing.

Global Options:
 top home search open messages active posts  

Home / Forums Index / WebmasterWorld / Webmaster General
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved