Because I was having a "duh" moment. $_SERVER["HTTP_HOST"] . $_SERVER["REQUEST_URI"]
Because I was having a "duh" moment. $_SERVER["HTTP_HOST"] . $_SERVER["REQUEST_URI"]
24 Jan, 2007
Posted by: Jennifer In: Bookmarks|Javascript Related
From Javascript Get or Set Checked Radio Value // return the value of the radio button that is checked // return an empty string if none are checked, or // there are no radio buttons function getCheckedValue(radioObj) { if(!radioObj) return ""; var radioLength = radioObj.length; if(radioLength == undefined) if(radioObj.checked) return radioObj.value; else return ""; for(var […]
22 Jan, 2007
Posted by: Jennifer In: Bookmarks|CSS|CSS related
Boy, do I love that "Position is everything" site. Every problem I've been having these days with CSS, the fix can be found there. Here's today's CSS dilema. Had a simple floated div. Gave it a margin – and for some reason, IE doubled it. The solution is just to add "display: inline;" to the […]
20 Jan, 2007
Posted by: Jennifer In: Bookmarks|CSS|CSS related
Ran into this problem today: Had a container div with floated divs inside. However the container div was shrinking up above the bottom of the floated divs inside. See example here. Found this solution which basically suggested adding the following so that it wouldn't do that: .containerdiv:after { content: "."; display: block; height: 0; clear: […]
Ever email someone a really long link and have the thing wrap to two lines, and then your friend gets the email clicks on the link but it's broken so they can't go to it? I just found this website: Email URL that will give you a simple URL to send to people and it […]
Like I said, I'm still fighting my way through understanding CSS. Here's a little tid-bit I finally understand today. Had a bit of text that I wanted to have centered in a nav bar. "vertical-align: middle;" didn't seem to do anything. Found this article which said this: the thing with vertical-align is that it's vertical […]
I'm still fighting my way to understand CSS – so if there's a better way to do this, feel free to let me know. I wanted a black center column, that I would put content boxes with a white background over it. So I created my background with the centered black column, used CSS to […]
Just installed this captcha code on a form and it was extremely simple to do and so far seems to work great. Just thought I'd share.