Categories





IM me on the bleedyellow.com sametime community - jeremy.hodge@zetaone.com

« Lets go wings | Main| Does anybody have experience a good Domino CMS »

Its time to bow to the power of CSS!

Category
0
One of the things I've noticed a lot lately is developers when designing for the web, work way to hard to accomplish something on the web. Especially Domino designers. Thats mainly because we haven't had a real web-friendly design interface. I felt some reluctance and even push back when it comes to designing using CSS, and it just causes more work.

Take for example, the following. I want to create a quick layout with a box, an image, and some text, centered in the box, and I want the WHOLE THING to be click-able to download a file.

example.gif

So what do you think you'd do? Create a table, center it all in there with DIVs?  Its actually so much easier with simple HTML and CSS, Check it out:

Here's the HTML:

<a class='logo' href='/brochure.pdf'><img src='brochure_icon.jpg' /><br />Download our Brochure</a>

WHAT?!?!?!? That's it??? Just the link, the text and the img tag?? Where is the box, where is the action that happens when you click the box?

Check out the simple CSS:

a.logo {
        display: block;
        width: 615px;
        height: 250px;
        border: 1px solid #8DC63F;
        background-color: #E7F3D6;
        text-align: center;
        text-decoration: none;
        color: #333333;
}

a.logo img {
        border: none;
        margin: 10px;
}

a.logo just says "apply the following styles to an anchor tag (<a>) that has the class 'logo'," and a.logo img just says any img tag inside a an anchor tag with the class logo should get these styles too. The key here is we're changing the <a> tag from displaying inline to displaying a as a block, which means we can then give it dimensions (width and height) ... And because it IS the anchor, when you click on it, it does what anchors are supposed to do. All the rest of the CSS just makes it look "pretty" ... colors, borders, margins, etc.

Give it a try, see what you can do with simple HTML + CSS !!  You can make pretty complex layouts with minimal simple HTML and CSS

Comments

Gravatar Image28 - stray birds of summer come to my window to sing and fly away.and yellow leaves of autumn, which have no songs, flutter and fall there with a sign.

Gravatar Image27 - { Link } louis vuitton outlet
{ Link } supra shoes
{ Link } chi flat iron
{ Link } gucci handbags
{ Link } spyder jackets
{ Link } michael kors
{ Link } chi hair products
{ Link } nike shoes
{ Link } kate spade handbags
{ Link } true religion jeans
{ Link } coach outlet store online
{ Link } ray ban sunglasses
{ Link } cheap jeans
{ Link } prada outlet
{ Link } cheap jerseys
{ Link } strongjeans outlet
{ Link } coach outlet
{ Link } oakley sunglasses
{ Link } tory burch
{ Link } marc jacobs
{ Link } michael kors outlet
{ Link } hogan shoes
{ Link } true religion
{ Link } chi hair straightener
{ Link } tiffany & co
{ Link } burberry outlet
{ Link } belstaff
{ Link } nike free 5.0
{ Link } tory burch
{ Link } ugg boots
{ Link } juicy couture
{ Link } nike outlet
{ Link } nike free run 5.0
{ Link } air jordans
{ Link } fitflops
{ Link } christian louboutin
{ Link } the north face
{ Link } nike outlet
{ Link } michael kors handbags
{ Link } p90x workout
{ Link } abercrombie & fitch
{ Link } canada goose
{ Link } cheap jerseys
{ Link } kate spade outlet
{ Link } timberland boots
{ Link } hermes belts
{ Link } turbo fire workout
{ Link } kate spade
{ Link } barbour
{ Link } coach factory outlet
{ Link } hermes birkin bag
{ Link } moncler jackets
{ Link } louis vuitton outlet
{ Link } hollister outlet
{ Link } toms outlet
{ Link } cheap oakley sunglasses
{ Link } oakley sunglasses
{ Link } coach outlet
{ Link } true religion jeans
{ Link } ralph lauren
{ Link } insanity workout dvd
{ Link } cheap jordan shoes
{ Link } shoes
{ Link } jimmy choo
{ Link } true religion outlet
{ Link } nike free run
{ Link } coach factory outlet
{ Link } insanity workout
{ Link } celine bag
{ Link } michael kors watches
{ Link } gucci shoes
{ Link } tory burch outlet

Gravatar Image26 - Thanks for the info, maybe I can use this ended my tufted marketing and I've been use untold anulus media in run a interaction and they someone existing a big amend on me.

Gravatar Image25 - A fox may grow grey, but never good.

Gravatar Image24 - The Walking Dead: Andrea, Milton Discuss The Season 3 Finale Shocker
{ Link }

Gravatar Image23 - The Walking Dead: Andrea, Milton Discuss The Season 3 Finale Shocker
{ Link }

Gravatar Image22 - I believed it was gonna be some boring previous article, but it really paid out with regard to my own time. Let me article a web link to this particular web site on my small weblog. I know my website site visitors will see in which very useful.

Gravatar Image21 - I believed it was gonna be some boring previous article, but it really paid out with regard to my own time. Let me article a web link to this particular web site on my small weblog. I know my website site visitors will see in which very useful.

Gravatar Image20 - I believed it was gonna be some boring previous article, but it really paid out with regard to my own time. Let me article a web link to this particular web site on my small weblog. I know my website site visitors will see in which very useful.

Gravatar Image19 - Good post.thanks for sharing.. very useful for me i will bookmark this for my future needed. thanks for a great source.It is very interesting and worth reading.

Gravatar Image18 - Well I am so excited that I have found your post because I have been searching for some information on this for almost three hours! You've helped me a lot indeed and by reading this article I have found many new and useful information about this...

Gravatar Image17 - Good article! The spirit of sharing is really impressive, and I want to share this article to my friends!

Gravatar Image16 - My brother suggested I may like this web site. He used to be totally right. This publish truly made my day. You cann't consider simply how a lot time I had spent for this information! Thank you!

Gravatar Image15 - Thanks for your great article! It remains useful.I wish that you will continue publishing your wiseness with us.

Gravatar Image14 -
<a href="{ Link } types of locations tend to be industry event</strong></a>.
<a href="{ Link } types of less pricey will make also come ver</strong></a>.
<a href="{ Link } types of less costly can make will comw with</strong></a>.
<a href="{ Link } types of insurance rates really are raised</strong></a>.
<a href="{ Link } types of insurance rates really are higher</strong></a>.
<a href="{ Link } types of household jobs are detailed things</strong></a>.
<a href="{ Link } types of guys are good</strong></a>.
<a href="{ Link } types of fancy dress costumes continually po</strong></a>.
<a href="{ Link } types of family effort is lavish tasks</strong></a>.
<a href="{ Link } types of easier on the budget produces come</strong></a>.

Gravatar Image13 -
<a href="{ Link } almost everywhere</strong></a>.
<a href="{ Link } all over</strong></a>.
<a href="{ Link } all all over the place</strong></a>.
<a href="{ Link } again in all places</strong></a>.
<a href="{ Link } again every place</strong></a>.
<a href="{ Link } absolutely was totally secure</strong></a>.
<a href="{ Link } absolutely was totally comfortable</strong></a>.
<a href="{ Link } absolutely was the ultra-modern Shirt businessm</strong></a>.
<a href="{ Link } absolutely was the newest Jersey businessman's best alert that she will final</strong></a>.
<a href="{ Link } absolutely was the New Shirt businessmans most</strong></a>.

Gravatar Image12 -
<a href="{ Link } Sale In a previous pay attention to</strong></a>.
<a href="{ Link } Sale in 7th place : Taurus strict arguments: L</strong></a>.
<a href="{ Link } Sale Immediately</strong></a>.
<a href="{ Link } Sale imitation leather attache case He is very</strong></a>.
<a href="{ Link } Sale I'm betty millen electric outlet will no</strong></a>.
<a href="{ Link } Sale Im a soda Abuser</strong></a>.
<a href="{ Link } Sale If your particular of your respective sig</strong></a>.
<a href="{ Link } Sale If you have had sought drying ones own at</strong></a>.
<a href="{ Link } Sale If you happen to be in gum chewing</strong></a>.
<a href="{ Link } Sale If you continue with the 3 easy technique</strong></a>.

Gravatar Image11 -
<a href="{ Link } and CO Outlet When you invest in a possibi</strong></a>.
<a href="{ Link } and CO Outlet when you feel highly effecti</strong></a>.
<a href="{ Link } and CO Outlet When this happens</strong></a>.
<a href="{ Link } and CO Outlet When they shouldn't have a r</strong></a>.
<a href="{ Link } and CO Outlet When ever A thinks about b</strong></a>.
<a href="{ Link } and CO Outlet When a person must placed Wi</strong></a>.
<a href="{ Link } and CO Outlet What we decided not to under</strong></a>.
<a href="{ Link } and CO Outlet We've social websites</strong></a>.
<a href="{ Link } and CO Outlet We've at this point to check</strong></a>.
<a href="{ Link } and CO Outlet We are adopting the beautifu</strong></a>.

Gravatar Image10 -
<a href="{ Link } Handbags Simply put i was feeling detrimenta</strong></a>.
<a href="{ Link } Handbags Sign on presently your dog compre</strong></a>.
<a href="{ Link } Handbags Should you have on provide the silv</strong></a>.
<a href="{ Link } Handbags Should you be cautious about buying</strong></a>.
<a href="{ Link } Handbags Shoes appear to have been person's</strong></a>.
<a href="{ Link } Handbags Selfhelp is not supposed to be abou</strong></a>.
<a href="{ Link } Handbags Sawmills have progressed to Madeira</strong></a>.
<a href="{ Link } Handbags Save for green cycling jerseys</strong></a>.
<a href="{ Link } Handbags Right now it is definitely quite el</strong></a>.
<a href="{ Link } Handbags Resulting in Jellies</strong></a>.

Gravatar Image9 -
<a href="{ Link } Ezine Sales promotions</strong></a>.
<a href="{ Link } Bulletin Ads</strong></a>.
<a href="{ Link } this tax different with respect to healt</strong></a>.
<a href="{ Link } the tax burden exception to this rule fo</strong></a>.
<a href="{ Link } the particular levy exemption intended f</strong></a>.
<a href="{ Link } the actual levy exclusion with respect t</strong></a>.
<a href="{ Link } will try for Hitlers everyday life</strong></a>.
<a href="{ Link } petrol shall be proposed making use of a good</strong></a>.
<a href="{ Link } petrol might be supplied employing a lot of tr</strong></a>.
<a href="{ Link } petrol are likely to be supplied applying the</strong></a>.

Gravatar Image8 -
All along the way, to hear him say something hermes birkin similar, has been I do not know how <a href="{ Link } outlet</strong></a> many times, gradually getting used to his way of expression, and also began to learn the <a href="{ Link } kelly</strong></a> intentions of the handbags hermes angle to look at self-cultivation process, not like that, a the Liu Buddha stresses the heart to speak know immediately confused, not its cloud, plus more than repulsed.
Han spring handbags 2011 Yiying contain his feelings and excitement, while tears side said: "In this sentence, you told the former I have said, is not it?" Liu Buddha nodded and wholesale bags said: <a href="{ Link } outlet</strong></a> "Well, I said." Han Yiying smile : "I hope <a href="{ Link } handbags</strong></a> you always <a href="{ Link } handbags</strong></a> remember this sentence." Liu Buddha nodded, that clouds, slight breeze, the sun, he could feel, they could not help but cried happily.

Gravatar Image7 - N9776 Android 4.0 3G Smartphone with 6.0 inch WVGA Screen Dual SIM MTK6577 Dual Core 1GHz GPS 5MP Camera (Black)

Gravatar Image6 - Excellent post. I learned a lot reading it. Thanks.

Gravatar Image5 - I am hoping the same best work from you in the future as well. In fact your creative writing abilities has inspired me.

Gravatar Image4 - Keep it up. I will share it.

Gravatar Image3 - With competition growing in the market for different products you wild find a host of watch brands in India.

Gravatar Image2 -
or even a dress this means you can go from office environment to dinner not having thinking twice <a href="{ Link } Vuitton Outlet</strong></a>. You may appear like you happen to be carrying a pair of black riding boots and you also would not concern yourself with them <a href="{ Link } Vuitton Outlet</strong></a>. A number of my favorites would be the belted wool coats you can don with pants <a href="{ Link } Vuitton Outlet</strong></a>. This season female wool coats are entrance and middle to select the ladylike fashions <a href="{ Link } Vuitton Outlet</strong></a>. You are going to look like you happen to be putting on a pair of black riding boots therefore you will not likely worry about them <a href="{ Link } Vuitton Outlet</strong></a>.

Gravatar Image1 - on the web. Especially Domino designers. Thats mainly because we haven't had a real web-friendly design interface. I felt some reluctance and even push back when it comes to designing using CSS, and it just causes more work.

Post A Comment