When combined with a mouseover color change on the div that's 1% less than what it should be, it adds up to an ugly effect! is there a way around this?
Set Search Time - A google chrome extension. When you search only results from the past year (or set time period) are displayed. Helps tremendously when using new technologies to avoid outdated results.
I think this is a known issue with the way CSS boxes are handled. The outer edges are butted up against the outer edges of those elements that meet up against it (I believe), so there is a possibility that 100% is actually wider that 100% of your screen. I think, also, that addind in a fixed measurement can get hairy if your vertical scroll bars show up on the side of your browser window.
Of course, this is all speculative as I am not certain about any of it.
Set Search Time - A google chrome extension. When you search only results from the past year (or set time period) are displayed. Helps tremendously when using new technologies to avoid outdated results.
But if I float LI's with 20% width, won't i wind up with the same problem?
Set Search Time - A google chrome extension. When you search only results from the past year (or set time period) are displayed. Helps tremendously when using new technologies to avoid outdated results.
arborint wrote:Set the border to 0px and it will work at 100%.
That worked.
But I was using a border for aesthetic purposes. Might just go with a thin dot for a background image instead of a border
Set Search Time - A google chrome extension. When you search only results from the past year (or set time period) are displayed. Helps tremendously when using new technologies to avoid outdated results.
Set Search Time - A google chrome extension. When you search only results from the past year (or set time period) are displayed. Helps tremendously when using new technologies to avoid outdated results.
I second that article from Alistapart. A list is better to mark up your navigation, uh... list, then divs. Also an interesting article is doors meet sprites
The problem with not being able to set a % width and border to one element at the same time might also be solved by setting the border on an element inside the element with the width. Say you give the li 20% width, and the a inside the border and display:block;