brandon
-
Active state on a menu item
By active, do you mean that the user has navigated to the page represented by the menu item? What framework are you working in?
-
width:expression(document.body.clientWidth < 782? "780px" ?
It's called a CSS expression. Google can give you a better explanation, but in short it's a way to assign the result of a Javascript expression to a CSS attribute, rather than a static value. EDIT: if you need a literal explanation of th…
-
Dynamic CSS Switching using Javascript...
Give this a read http://alistapart.com/stories/alternate/
-
CHRIS can you explain
I know I'm not Chris, but here goes. The input tag is an inline element. Most HTML elements can be divided into block and inline elements (list is another type IIRC). Block level elements (like div, p, h1, h2, h3...) typically have an intrin…
-
how many CSS files?
Personally, I love using SASS (http://haml.hamptoncatlin.com/docs/rdoc ... /Sass.html) While it's a little tougher to use outside of the Rails framework, it makes a cinch of writing CSS. Furthermore HAML is a true gem (no pun intended) when it …
-
IE / FF positioning ?
Your markup could use a little help. You have many places where you don't close your tags. Browsers typically don't complain about this but it makes diagnosing problems a little more difficult when the code isn't easy to read. You …
-
Multiple Header Colors
same concept #page1 .header { color: blue; background: url(/path/to/your/image) } In order to leave your markup the same, have some CSS that relates to each custom page
-
Which comes first - cart or horse?
I always write the markup first, and leave it pretty much style-less. Once I'm happy with it, I move on to CSS. It can be a large headache trying to style your page well (in addition to making it cross-browser compliant) if you don't hav…