I'm new to CSS and im learning from a demo of a CSS tabbed menu. (This is the demo: http://odyniec.net/articles/css-based-tabbed-menu/). My question is that under ul.tabs li a { }, the display property was set to "block". I'm not sure why it's set to block. i have set the display property to "inline" to see what would happen but nothing really changed. On another attempt, i didnt set the display property and still nothing changed.
So what is the purpose of having set the display property to block?
Also, this tabbed menu is suppose to be a horizontal menu yet block was used. Isn't the purpose of block suppose to seperate elements by break lines thus possibly making the menu not horizontal but maybe even vertical???
2006-07-24
10:13:59
·
4 answers
·
asked by
burnt1ce85
2
in
Computers & Internet
➔ Programming & Design