about 13 hours ago @cjsamuel Madonna light-years better than The Who, Prince or even JT/JJ. SB shows are watered down like Tonight Show with Lenno comedy.
about 13 hours ago CAT-5 successfully installed. Thanks to @matthewAhylton and Mike Morton for helping, and guiding my first successful RJ-45 crimping.
about 1 day ago Best thing from star wars episode 1 3d trailer? Jarjar no where to be seen. Wish it represented no jarjar in the movie.
about 1 day ago @cjsamuel the blue bottle is for d-bags.
about 2 days ago @Urvaksh running network from data closet to Sarah's work from home office. Wifi not reliable/supported for her VPN.
about 2 days ago Just acquired 250 feet of Cat-5. Guess what my weekend project is?
about 3 days ago @ATKII as I recall, they made a nice tasty sandwich. Mmmm. Exotic meat.
about 3 days ago iBooks Author 1.0.1 EULA: you own the content, we want 30% of .ibooks files http://t.co/vpVwJdkI
about 4 days ago @AlanaMarie Puppy! That iPhone is in the way.
about 4 days ago @Urvaksh better make sure there is a power outlet nearby. ;)
about 4 days ago This is a great overview of Internal Social Media engagement at work: http://t.co/fi1Tc5cB
about 4 days ago I want to welcome @Urvaksh back to the world of standard iOS 5. Even if its for a few days when to JB your iPhone again.
about 5 days ago @Urvaksh @joeypowell yes. That's awfully quick. I was at 40% at 4. Heavy use since. Now at 23%. 2.5 hours with less drain and more use.
about 5 days ago @joeypowell @Urvaksh yep, its got to be either exchange or JB. The backlight would not kill it that fast.
about 5 days ago @Urvaksh not sure about the heat-up, either unrelated, or bad battery. best way to test, un-JB for a couple days. see if it stops, then JB
about 5 days ago @Urvaksh before a full wipe, you could try re-setting-up the exchange account. But I still think the JB is more likely.
about 5 days ago @Urvaksh yeah, it could be email. are you guys on exchange 2010 now? what changed? could be constantly updating.
about 5 days ago @AlanaMarie Hand sanitizer.

From the Blog

End of the week thunderstorms
08/20/2010 | E. Lee Cunningham

Its been a great week for ELC Innovations, even as thunderstorms rumble past late Friday afternoon. As a company we have grown beyond one of my first  [ ... ]


Why Facebook's new Places is bad
08/18/2010 | E. Lee Cunningham

It was only a matter of time before social networking giant Facebook came out with an answer to foursquare, the most popular – up until now – way  [ ... ]


Other Articles
Web Development
Learning CSS: Position, Float and your relatives

The last article I posted was about padding and margins, the key to both of those items is that, in order to be effective, they must be used as part of elements that are given a position or float. I am going to attempt to show the differences between these two tools, and help you decide what is the best method for your design.

What Is Position?

Position rules are used to position the element in the document flow. The position rule can take four values: static, relative, absolute and fixed. The default value of every element is static, where each element comes after each one another in order.

Positioned elements can be moved around the layout using the left, right, top and bottom rules and a pixel or percentage value. When an element is not positioned within another element, the measurements will be calculated using the browser window: And element that is 100x 100, positioned alone, with a left value of 20px will be placed 20px off of the left-most side of the browser window.

css1

However, when an element is positioned inside another positioned element, in this case a second box with a left value of 20px, the 20px will be calculated from the left side of the container. Below you will see two elements, the first with a left of 20px, and a second, inside that element, with a left of 20px.

css2

Positioning seems to work well in IE with little bugs, however I generally use positioning as a last resort. Using float on elements allows for more flexibility when dealing with repeating backgrounds as well as expanding your content and layouts to the browser window size.

Relative Positioning

Relative position is close to floats in terms of how they work. They can be moved around using either the top, right, left, bottom rules or by margins like floats can. Relative positioning changes the element without influencing the layout of other elements.

The element technically remains in the document flow, but will be “relatively” positioned in it. If we have 3 elements and gave the middle element a position relative and a bottom of 40px, the element would move up 40px, but the element below it will not move at all, as if the middle element never moved.


div { width: 100px; height: 100px; border: 1px solid #000; background: #CCC;}
div.middle { position: relative; bottom: 40px; }




css3

Absolute Positioning

Absolute positioning removes the element from the document flow altogether. The other elements around it will move together and act as if the absolute positioned element never existed.

css4

Fixed Positioning

Fixed positioning is the same as absolute positioning, except it’s always positioned against the user’s browser window independant of the contents of the page, and remains motionless as the user scrolls up or down in the browser. Fixed positioning doesn’t work in IE6 and below.

What Are Floats?

Floats are elements that are literally “floated”, so that they render side by side to each other. The float rule accepts three values: left, right and none. Floated elements can only be moved using margins, not by using the top, left, right or bottom rules.

Let’s say we have 2 boxes with a width of 50%. Normally, these boxes will appear one beneath the other, but if we give both boxes a float left, each box will render side by side.

css5

If there’s no height and width specified on the floated element, the element will automatically size itself to the content inside just like inline elements, even though a floated element is consider a block element. Also, non-floated elements will ignore floated ones in document flow, creating layout issues, so it’s important to either float all your elements in a container, or none of them.

Floating your elements left and right will solve a lot of weird browser issues. Unfortunately, modern browser deal with float rights differently than older browsers (including the IEs).

In modern browsers, you can either float right the element before or after the left float element, and it will render the same. For example, if the boxes had a width of 30% and the first one had a float left, and the second a float right, it would render correctly like:

css6

However, in older browsers, the floated right element has to come before the floated left element, otherwise it will render slightly below the left element. So, if we were to take the same example as above and check it out in an older version of Safari, or even in IE7, here’s an idea of how it would render:

css7

Which is better?

I prefer to float my elements and only use positions when breaking the layout. However, you’ll quickly come to figure out which works for your coding style better, so try experimenting with different floats and positions for all your layouts!

 
<< Start < Prev 1 2 3 4 5 6 7 8 Next > End >>

Page 1 of 8

Design Services

ELC Innovations offers customized, professional visual design solutions for a broad range of printed and web marketing materials. We will plan, develop, and deliver any size project from small one-off logos, business cards, and brochures to comprehensive branding & identity packages and informational or eCommerce websites.

Online Services

ELC Innovations will work with you to create the best possible website for you business. The business websites we design combine original graphics and cutting edge web features such as simplified e-commerce and database management with innovative solutions to organizing and presenting our clients' message and important information. In addition to building custom websites, ELC Innovations provides outstanding ongoing site maintenance services. We will work with your business to help fill your support needs.

Business Solutions

ELC Innovations is ready to solve your business needs. With so many technology solution choices for your business, how do you know which to choose? We spend a lot of time reviewing and researching technology solutions, so chances are we can help you make the choices about which tools to are best for you. Let us help you assess your business requirements and make recommendations with regard to your network equipment, selecting the appropriate email service and software packages, etc. We are happy to train you and your staff on any number of tools, and help you establish a brand identity
Search

Follow ELC Innovations

Facebook Page Linked In Twitter
Hosted with:  Lunarpages.com Web Hosting
-->