Berthou.com

A french developper blog

A good use of style sheet.

Imprimante
I often print an article to keep a copy. I use most of the time a “see before printing” to select the pages I want to print. But I’ve remarked that 50% of the printing area is employed with publicities or menus.

When we create the design of a site we foresee an area for menus, for publicity and sometimes others specific areas to boost the look and the ergonomic of the site.
These areas useful for the navigation become a pain for the printing of the article. However it is very simple to handle this problem if you use the style papers.CSS.

In an ecological wish (it’s tendance) but also to have a “cleaner” printed text, I am going to explain you how to adapt your WP theme to print correctly.
(more…)

  • 0 Comments
  • Filed under: dhtml, wordpress
  • Plugin – Rbl-Navigator

    Description

    Rbl-Navigator is my second plugin for WordPress. In this plugin I just integrate a treeview menu in a widget.

    This plugin permit to represent in just a widget your last articles, the list of the categories (and their “n” last articles), static links and the directory contents. I think I am going to add soon, if it seems usefull to you, the blogroll and the list of the last comments.

    Exemple of use

    Rbl-navigator

    (more…)

  • 5 Comments
  • Filed under: wordpress
  • Description

    News version ! Correct bug in categories tag

    rbl-listtag is a WordPress plugin, it can display in a page or in a post the last comments or the last posts filtered by tags or categories.
    It’s my first plugin, you can send me either your bugs or comments.

    Installation

    • Upload rbl-listtag.php to the /wp-content/plugins/ directory
    • Activate the plugin through the ‘Plugins’ menu in WordPress
    • That’s it!

    (more…)

  • 1 Comment
  • Filed under: wordpress
  • News – Updates

    6 december 2007 : Some corrections (bugs and, display problem), widgets modification to add open/close option. Add bottom sidebar.

    Chose a theme…

    After having tested some blog’s engines (dotclear, drupal, joomla, ..), I chosed WordPress. This choise done I needed to configurate it and chose a theme and plugins.


    I wanted a theme with the following functions :

    • Fluid Width
    • 3 colums
    • Widget ready

    After many tests I select “Illacrimo” by Design disease .
    I had to do some modifications on this theme to be totally satisfied.


    I made the following modifications :

    • I change the left colum to give him fluid width
    • I change the left “date” colum to include it into the title
    • Correction of a little bug with WordPress 2.3.x

    If you do some corrections or modifications in this theme I would be pleased if you send me a copy of it.



    Download

    Rbl – Illacrimo – Français

    Rbl – Illacrimo – English

  • 4 Comments
  • Filed under: wordpress
  • When I publish a news in my blog I need some CSS styles. To define this in wordpress I use an external css with a simple import tag put in main css file theme (I found no plugin to do this).

    Code to include an external css in “theme/yourTheme/style.css”

    @import url(“/myCss/myStyle.css”);


    Sample

    Exemple avec alert info Exemple avec alert info Exemple avec alert info Exemple avec alert info Exemple avec alert info Exemple avec alert info Exemple avec alert info Exemple avec alert info Exemple avec alert info Exemple avec alert info

    Exemple avec alert warning Exemple avec alert warning Exemple avec alert warning

    Exemple avec alert Feed

    Exemple avec alert Code Exemple avec alert Code Exemple avec alert Code Exemple avec alert Code Exemple avec alert Code Exemple avec alert Code Exemple avec alert Code Exemple avec alert Code
    Exemple avec alert Code Exemple avec alert Code Exemple avec alert Code
    Exemple avec alert Code Exemple avec alert Code

    Exemple avec titre1

    Exemple avec titre2

    Exemple avec titre3

    Exemple avec titre4

    Exemple avec titre5

    Exemple avec titre6

    Table “tbl0″

    col1 col2 col3 col4
    col1 col2
    col1 col2 col3 col4
    col1 col2 col3 254,52
    col1 col2 col3 2.40
    col1 col2 col3 2 545.00

    Table “tbl1″

    col1 col2 col3 col4
    col1 col2
    col1 col2 col3 col4
    col1 col2 col3 254,52
    col1 col2 col3 2.40
    col1 col2 col3 2 545.00

    Table “tbl3″

    col1 col2 col3 col4
    col1 col2
    col1 col2 col3 col4
    col1 col2 col3 254,52
    col1 col2 col3 2.40
    col1 col2 col3 2 545.00



  • 0 Comments
  • Filed under: dhtml, wordpress
  • 

    Archives



    Recent Comments


    View Berthou Raymond's profile on LinkedIn Add to Technorati Favorites
    Web Developement Blogs - Blog Catalog Blog Directory tlmeb