Posts

Showing posts with the label CSS

East Coast German Shepherd Rescue

Image
Yesterday I put up the newly redesigned and rebuilt East Coast German Shepherd Rescue website. We adopted our German Shepherd, Keely, from this rescue. Since then I have chatted off and on with the founder of the rescue, and have gained the up-most respect for her and what she does. I wanted to help, but wasn't sure how. One day she mentioned how difficult it has been to get updates to her website, and new dogs that come into her care can't get adopted if no one knows about them. And so I began a mission to design a better website. How it is currently is only the first round. I need to learn more about PHP and different content management systems. The ultimate goal is to enable her the ability to update the website easily herself. I also have several ideas to make the site better, more interesting, and to get more funding. Here's a link to the site (iteration 1) http://www.ecgsrescue.com

Getting a value out of CSS file

I keep forgetting how to do this: mx.styles.StyleManager.getStyleDeclaration('.styleclassname').getStyle('style') This gets a value out of the CSS. So for example if you had a .lineStroke style with a style property of color and you wanted to use that for a stroke declared in MXML you could do this: <mx:Stroke id="myStroke" weight="1" color="{mx.styles.StyleManager.getStyleDeclaration('.lineStroke').getStyle('color')}"/>

Adobe Contribute and CSS layouts

Image
One of the charity sites that I designed and built (using divs with CSS layout) want to use Adobe Contribute to manage the site, since they have high volunteer turnover, and it's too much to try to train each one in HTML. Makes total sense right? So the manager tells me that the menu (which is a absolute positioned div with the highest z-index) is covering up the editable content region. I've never used Contribute myself, so I downloaded the trial so I could see what she was talking about. Now in my head I'm thinking, well the menu isn't editable so it shouldn't be showing up in Contribute edit mode at all... but it does... and it does indeed overlap the editable region, which makes it pretty damn difficult to edit! Completely annoying. But wait... there is more frustration to come. I start googling, and at first I can't find anything! Eventually I start finding questions on forums like mine, but unfortunitely no one has answered them. I finally found an ok solu...

HTML - rounded div corners with CSS (no images)

I am doing an html website and the design I came up with has one rounded corner. I come from way back when we used to use tables and use images to get rounded corners. Although I haven't worked much in HTML in a while, I know the norm now is to use divs instead of tables... so I did some digging and found this: http://www.html.it/articoli/nifty/index.html Using stripes with different margins to get a rounded corner look. So clever! It makes total sense, but I would have never thought to do this. To get my ONE rounded corner I had to make some slight modifications. A code snip is below. <style type="text/css"> body{background-color: #FFF; margin-right:0; padding-right:0; margin-left:0; padding-left:0; font: 100.01% Verdana,Arial,sans-serif} p{margin: 0 10px} div#nifty{ margin-left:300px; margin-top:35px; background: #FF0000;} b.rtop, b.rbottom{display:block;background: #FFF} b.rtop b, b.rbottom b{display:block;height: 1px; overflow: hid...

Metro SPCA

Thanks to the people at the SPCA for sending me a thank you gift. It feels great to be appreciated. The NS SPCA gave me an honorary membership, a tote bag, and a certificate of appreciation. Here is what I did for them: http://www.metro.spcans.ca/