Archive for June, 2009

04 Jun 2009 @ 5:02 PM 

Hello again

Did you know that IE6(and only IE6, IE7+ doesnt have this issue) has a weird UL/OL bug ?

If not read on

Lets say you want to make a vertical list of items that are linkedable like this

<ul>
<li><a href="#">Item 1</a></li>
<li><a href="#">Item 2</a></li>
<li><a href="#">Item 3</a></li>
<li><a href="#">Item 4</a></li>
</ul>

+ Continue Reading This Article

Tags

Tags: , ,

Categories: IE6 Bugs, XHTML/CSS

Posted By: Dinulescu Alexandru Adrian

Last Edit: 07 Jan 2010 @ 11:33 PM

EmailPermalinkComments (1)

04 Jun 2009 @ 5:00 PM 

Did you know the difference between them?

Well to be honest at first glance, both of them do the same thing. Make the element invisible to the user. However there is a very small subtle difference between them.

display: none -> This makes the element invisible AND removes it from pageflow. so if you have items below the item, they will be slided upwards to fill the space this element previous occupied

visibility: hidden -> This makes the element invisible HOWEVER it still retains it’s space in the pageflow of the page. so the items below wont move upwards. In other words you will have an empty hole where this element is.

Nice eh?

Tags

Tags: ,

Categories: XHTML/CSS

Posted By: Dinulescu Alexandru Adrian

Last Edit: 07 Jan 2010 @ 11:27 PM

EmailPermalinkComments (0)