Mobile Friendly Website


Doing it with style

basic drop-down COMMENTS

Welcome to my Comments Pages

Please note. I get a few hundred emails a week from visitors asking for help, or posing questions on how to modify my demos to suit their application and I read them all. Unfortunately I only have a limited amount of time to spend answering these questions.

So if I do not reply, please do not be offended, and if I do reply then you are one of the lucky ones.

If you are asking for permission to use any of my demonstration then please email me with your request stu{at}

Post a comment

Current posts

James Chapman:-
myparkphotos com
(19.07.2007, 17:14)

James, you will need a standards compliant doctype, see my FAQs for the list url.
(19.07.2007, 18:54)

Hello. I am trying to remove the label tabs from my blog but can't seem to remember what part of the code to delete. I've only been partially successful (the labels are still at the top of the main body but are bulleted rather than folder tabs). I'd like to remove them completely (as I have so many, it isn't appealing to me). Can you please take a look at my source code and thereby point me in the right direction?? Thank you! :)
(31.12.2007, 16:52)

Oops...never mind. I figured it out! Sorry to have bothered you... I shouldn't hunted a little more.

Thanks again though for all your help. :D
(31.12.2007, 17:12)

Hi Stu, I'm impressed with all the great work you've done creating CSS-based menus.
I tried separating the CSS from the content in the basic drop down, as I prefer to link to CSS as external files. However, I'm having problems like misalignment of the submenus (IE & F/fox), and appearance of the bullets (only in F/fox). Can you explain why cutting and pasting the styles into an external file doesn't work the same way as having the CSS embedded?
Just to be sure I didn't mess something up in the process, I copied the contents of the external file back into an HTML page and removed the CSS link tag, and it works perfectly.
(17.04.2008, 00:07)

Is my face red!!??
I forgot to remove the <style></style> tags from the embedded code before saving as an external file. D'uhh.
All working perfectly now ;-)
(17.04.2008, 00:44)

I have a question about the dropdown menu, well the css conditional comments connected with the dropdown.
As i understand the code for the dropdown, you use conditional comments for IE 6 and 7, and thus it will only read the </a> tag in IE 6 and 7 because the </a> is inside a conditional comment.
Shouldn't the lack of the </a> be a problem for some browsers?
Also shouldn't we also put another conditional comment in for not IE6/7 to give other browsers a </a>.
Also i'm further wondering shouldn't a html validator complain about the potential lack of an </a> tag, or is it just trained to be happy because it exists inside of a comment, or is there something i'm missing about conditional comments that make things peachy?
(20.07.2008, 03:33)

Sirus, what you are missing is that the </a> is inside CSSplay 'special' conditional comments not a standard MS one, and is in fact seen by ALL browsers except IE6 and lower. This 'special' conditional comment does validate. See for more information. To be future proof you should change 'IE7' to 'gte IE7'.
(20.07.2008, 08:33)

i had already read up about conditional comments, but i had forgotten something about comments

(21.07.2008, 00:46)

Hi, I would know how to center the menu.
Currently I have it aligned left, but I increased the size
the container and is moved to the left, but
I would like to stay focused on the page.

Thanks and regards.
(07.12.2010, 08:57)

10 of 42 comments (part 1). [ » ] [ * ]


Your comment:

Your Name:

Stu's First Name - 3 letters (required)

Thanks to Alex for this script.

Please enter your comments for this site page.
Please note that all posts are moderated.

Posting rules

HTML is turned off
Maximum word length is 80 characters.
Messages limited to 1200 characters.
Web links should not include 'http://'


Your donations keep CSS PLAY running.
If your donation is for the use of a demo then please email me with the demo url after making your donation.


Facebook Twitter rss feed Facebook Fan Page