Art IMHO homepage

art in my humble opinion

  • VisualArt
  • Photography
  • Philosophy
  • Css and XHTML
  • Marketing
  • Cooking

Hello World! Wordpress developers’s two-way sentences. MARKUP CODE IS ART!

1 COMMENT
code is art, css, markup
CSS & xHTML
November 29th,2008


Welcome to WordPress. This is your first post. Edit or delete it, then start blogging!

I decided to write my first CSS and xHTML post on this one, instead of deleting it. You may will ask: “why are you doing it? “. Well, just cuz the content of it it’s thinly geek. I love the Wordpress developers’s two-way sentences!

The famous Worpress tagline is: CODE IS POETRY (I don’t know exactly where this sentence came from and who said it first, but it’s really a great one). I would love to say to everybody who write, as i do, xHTML and CSS: MARKUP CODE IS ART.

Usually, while talking with a customer about a campaign, or a visual product to realize, I automatically figure in my mind how this product will looks like. Therefore, the mind-walk is: words transposed into images.

The same happen while using style sheets. Code transposed into graphic images. I think that it can be considered art, just when you do it automatically without seeing the result in real time. You may need the “realtime changes’s step” when you are rounding it off, when the main framework is done.

After that, I have to make an example of what I’m talking about, then.. here you are!

HERE IS THE CODE FOR A LIST OF ITEM.

<div id=”menu”>
<ul>
<li><a href=”#”>Item 1</a></li>
<li><a href=”#”>Item 2</a></li>
<li><a href=”#”>Item 3</a></li>
<li><a href=”#”>Item 4</a></li>
<li><a href=”#”>Item 5</a></li>
</ul>
</div>

I was thinking to build up a menu, then i figure out in my mind how it would looks like. Mmmhh.. let’s have a horizontal menu, clear, well spaced, orange with white links; as wide as this article, with a simple rollover on the links.

I CREATE A NEW .CSS FILE AND WRITE DOWN:

#menu {
width: 100%;
height: 39px;
margin: 0 auto;
padding: 0;
text-align:center;
background-color: #ffae00;
}

#menu ul {
margin: 0;
padding: 0;
list-style: none;
line-height: normal;
height:40px;
}

#menu li {
display: inline;
margin: 0;
padding: 0;
height:40px
}

#menu a {
display: block;
float: left;
width: 20%;
height: 30px;
padding: 10px 0 0 0;
text-decoration: none;
text-align: center;
font-size: 11pt;
color: #fff;
background-color: #ffae00;
}

#menu a:hover {
color: #fff;
font-weight:bold;
text-decoration:underline;
background-color: #ffae00;

}

AND HERE IS THE RESULT:

  • Item 1
  • Item 2
  • Item 3
  • Item 4
  • Item 5

Yeah, I know it’s a simple one. That’s only to show what I was talking about.

After that, here it comes the second step: round it off! Your idea now has a shape and you have to preen it. Then some adjustment and it’s over.

#menu {
width: 100%;
height: 39px;
margin: 0 auto;
padding: 0;
text-align:center;
background-color: #ffae00;
background: #ffae00 url(’img3.gif’) repeat-x;
border-bottom: 3px solid #ff8400;

}

#menu ul {
margin: 0;
padding: 0;
list-style: none;
line-height: normal;
height:40px;
}

#menu li {
display: inline;
margin: 0;
padding: 0;
height:40px
}

#menu a {
display: block;
float: left;
width: 20%;
width: 19%;
height: 30px;
padding: 10px 0 0 0;
text-decoration: none;
text-align: center;
font-size: 11pt;
color: #fff;
background-color: #ffae00;
border-left: 2px solid #ff8400;
}

#menu a:hover {
color: #fff;
font-weight:bold;
text-decoration:underline;
background-color: #ffae00;

}

  • Item 1
  • Item 2
  • Item 3
  • Item 4
  • Item 5

Get Firebug!Yup, it’s over. I hope I made the right example to let you understand what I mean. The final result it’s not so bad..   …IS IT ART OR NOT?

By the way, I MUST suggest to anyone who didn’t use it yet, Firebug: a FF apps which allow to edit your style sheet directly on the browser in real time (without saving the real .css).

Share it!
Add 'Hello World! Wordpress developers’s two-way sentences. MARKUP CODE IS ART!' to Del.icio.usAdd 'Hello World! Wordpress developers’s two-way sentences. MARKUP CODE IS ART!' to diggAdd 'Hello World! Wordpress developers’s two-way sentences. MARKUP CODE IS ART!' to redditAdd 'Hello World! Wordpress developers’s two-way sentences. MARKUP CODE IS ART!' to TechnoratiAdd 'Hello World! Wordpress developers’s two-way sentences. MARKUP CODE IS ART!' to Google BookmarksAdd 'Hello World! Wordpress developers’s two-way sentences. MARKUP CODE IS ART!' to FaceBookAdd 'Hello World! Wordpress developers’s two-way sentences. MARKUP CODE IS ART!' to WikioAdd 'Hello World! Wordpress developers’s two-way sentences. MARKUP CODE IS ART!' to Twitter

Related Post

  • Web Design standards: too many newbie


1 Comment »

Mr WordPress
2008-11-29 04:43:39

Hi, this is a comment.
To delete a comment, just log in and view the post's comments. There you will have the option to edit or delete them.

Reply to this comment
 
Click here to cancel "reply".
Name (required)
E-mail (required - never shown publicly)
URI
Your Comment (smaller size | larger size)
You may use <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> in your comment.
FOLLOW ME TwitterCounter for @BlackMamby
RSS | E-MAIL

Author

Welcome in my way of being! A "geeky" way to see the fine art that sorrounds us, but not everybody are able to see. I'm Mirta, Art Director of Symbiotic Sas, in Rome. This blog represents me and I hope you will enojoy its content. Suggestions are welcome! More about me...

How to contact me? Easy! E-MAIL ME! Or meet-up @ 41.91 - 12.46 from 15:00 to 21:00 CET :D

Categories

  • Cooking
  • CSS & xHTML
  • Marketing
  • Philosophy
  • Photography
  • VisualArt

<art>IMHO</art>

art in my humble opinion

Copyright © 2008 Mirta Rotondo. All right reserved. Symbiotic Web agency - Roma

<art>IMHO</art> | CSS and XHTML validation | Entries RSS and Comments RSS