How to you fix it? CSS Edition
CSSOK, I like CSS just like everyone else but I'm having a bit of an issue here. Check out the page and let me know what you think. The bottom portion of the web site looks ok in FF, but is off in IE. Once you see it in IE you should see the problem.
http://www.ryaneverhart.com/kre/index4.cfm
Below is the code... any ideas? It looks like to me that the problem is with the border of the wrapper, 1px on each side seems to push the divs in by 1px on each side.
CSS
HTML
Let me know what you think! Thanks!
Good Day!
Ryan
IDs vs Classes
CSSI got asked a simple question today that I honestly didn't know the answer too.
Bob: When using a particular style, are there any advantages over using CLASS vs. ID?
Me: I'm not sure what the differences between class and ID are to be honest, I always use class.
Not knowing the answer to a simple question like that often bothers me so I need to find the answer. A quick Google search lead me to tizag.com and this tutorial.
The whole tutorial gets summed up pretty well in the last line:
Use IDs when there is only one occurence per page. Use classes when there are one or more occurences per page.
How do you all use IDs vs Classes?
Good Day!
Ryan
Vertical or Horizontal Only Scroll Bars
CSS
Hey Everyone,
Had a client that needed tabular data to scroll to the right without messing up the layout of the screen. This is what I found
.hortScroll{overflow-x:auto; overflow-y:none; width:400px; height:400px;} .vertScroll{overflow-x:none; overflow-y:auto; width:400px; height:400px;}
Display only horizonal scroll bar
<div class="hortScroll">...</div>
Display only vertical scroll bar
<div class="vertScroll">...</div>
Note: overflow-y and overflow-x are not compatiable with FireFox as I understand it. This isn't a big issue for me as my company has IE6 as it's current standard. But I suppose it will break in a few months when we adapt to IE7. Thoughts or opinons?
Good Day!
Ryan





Loading....