Home > CSS Help > Easy CSS Top Corner Banner

Easy CSS Top Corner Banner

March 19th, 2009

Easy CSS Top Corner Banner



There are may ways to add a top corner banner image to your website. But I found the code at exploding-boy is easiest and simplest. It is plain CSS code, no JavaScript

Source


Similar Posts

    Spiffy Box – Simple Rounded Corner CSS Boxes made easy.

    The Spiffy Box is really just an automated way to create the code and image … Or rather, “Simple Rounded Corner CSS Boxes” as he now calls it. …

    Source

    CSS text generator – CSS tricks with inline CSS for forum n message board

    Code Maker- CSS text tricks for forums or message boards. … Latest Trick (anchor tag) Pseudo Banner Link. This CSS code maker (code generator) outputs a ‘ …

    Source

    CSS and Round Corners: Build Boxes with Curves [CSS Tutorials]

    Turn the corner – gently – with CSS! … to assign our bottom right corner to this … Naming this bottom-right image br.gif, we’ll insert a new CSS rule: …

    Source

    CSS Beauty | Spiffy Box

    CSS Beauty focuses on providing its audience with a database of well … Automatically create the code and image needed to employ “Simple Rounded Corner CSS Boxes” …

    Source

    Inline, Embedded, and External CSS Explained

    Inline, embedded, and external cascading style sheets are explained in plain English. … Here are the three ways of implementing CSS: Inline Styles …

    Source

    Valencia Community College

    CSS Page Printing. Rotate Image Scripts. Remote Control. Flash Video Component. Flash Video Skins … Rotate Image Scripts. Banner AD Rotater. Random Image on Refresh …

    Source

    Running jQuery with Other Frameworks Via noConflict

    Photo "Chess" by Romainguy. Used under a Creative Commons license.

    While jQuery is certainly a popular JavaScript framework, it’s by no means the only game in town. Other frameworks such as Prototype, MooTools, Dojo and many others all have their own strengths, weaknesses, and devoted groupies.

    Generally speaking, these frameworks all play well together — you can mix and match framework functionality to your heart’s content, as long as you don’t mind the additional overhead of loading several libraries simultaneously. So you have a calendar widget in jQuery that you love, but you’re already using Prototype to animate your navigation bar? Don’t be shy… use both!

    Of course, every once in a while you can run in to problems when combining JS frameworks — particularly (in my experience) when combining jQuery and Prototype. Luckily, jQuery was kind enough to provide us with a workaround.

    The Problem: Sharing Syntax

    The most common compatibility problem stems from both jQuery and Prototype using the same shortcut syntax: namely, the $().doSomething syntax. Here’s a sample line of code in jQuery:

    $('#myelement').addClass('active');

    And the same functionality in Prototype:

    $('myelement').addClassName('active');

    Note the basic similarity? Both frameworks claim the dollar sign notation for themselves, which can wreak havoc on snippets of code dropped willy-nilly into a website. If your jQuery code is grabbed up by Prototype, things will stop working fast. And similarly, if your Prototype code is snagged by jQuery, not even the awesome power of jQuery will be enough to overcome the code confusion.

    The Solution: noConflict Mode

    But not to worry! jQuery has provided us with a workaround called “noConflict mode.”

    By default, there are two equally correct ways to call a jQuery function — the dollar sign notation, and “jQuery” notation:

    $('#myelement').show();
    jQuery('#myelement').show();

    Both of the lines above do exactly the same thing. However, most people use and prefer the dollar sign notation. Why? Probably because it’s shorter, and if web developers didn’t care about brevity in their code, they probably wouldn’t have used a framework in the first place.

    Of course, just using the longer jQuery notation isn’t enough. If jQuery has already claimed the dollar sign for itself, any Prototype functionality relying on that notation will still be grabbed by jQuery.

    This is where the noConflict function comes in handy. Simply run the following line after both Prototype and jQuery have been loaded:

    jQuery.noConflict();

    This will cause jQuery to give up the dollar-sign notation, allowing the other library to take it over. And you can still use your jQuery snippet, provided you change all instances of $() to jQuery().

    Keeping it Short

    The noConflict mode does have one other bit of functionality that I’ve found useful in some of my projects: you can select a different variable to use instead of the standard “jQuery”. The usage looks like this:

    var $j = jQuery.noConflict();

    Now in addition to using the default jQuery() notation, I can also use the shorter $j() notation. This allows me to avoid running into problems with other frameworks, while still enjoying almost the same conciseness in my code.

    Read More

    CSS Tutorials (Image Effects)

    Share your Tutorial about CSS Tutorials. … Create round corner for your images with CSS … CSS Images Menu using transparency for your website …

    Source

    CSS Tutorials (Image Effects)

    Share your Tutorial about CSS Tutorials. … Create round corner for your images with CSS … CSS Images Menu using transparency for your website …

    Source

    SlickMap CSS Lets You Create Beautiful Visual Site Maps Easily

    Bored with the same old uninspiring, list-based sitemaps? If you’re like me, most likely you will find that creating better looking sitemaps can be quite time consuming. Thus, we end up having to settle for text-based unordered lists that look nothing like a map.

    Well well well, worry not my friends, for now you can have a very beautiful and visual site map with nothing more than your standard unordered list and some CSS magic. Thanks to the efforts of Matt Everson of Astuteo, LLC, who released for public consumption what they call SlickMap CSS.

    SlickMap CSS is “a simple stylesheet for displaying finished sitemaps directly from HTML unordered list navigation. It’s suitable for most web sites – accommodating up to three levels of page navigation and additional utility links – and can easily be customized to meet your own individual needs, branding, or style preferences.”

    The first thing that really impressed me with SlickMap was the way data is visualized. The arrangment, grouping, and color coding of data makes it very easy to identify and find relevant data. The “Home link” is color blue and found at the top left most corner, immediately followed by the “Main links”, also colored blue. Level 2 and level 3 links can be found below them, each level having its own color, with a connector leading to each link. “Utility links” are grouped at the top right corner, separate from the main map.

    What’s even more amazing about SlickMap is that everything is implemented in pure CSS. There is not a single line of JavaScript to be found anywhere. It’s also very easy to implement. Simply create an HTML file with an unordered set of links and import the slickmap.css file. Couple this up with an online site map tool like WriteMaps and you should be all set to rock and roll.

    It supports most standards-compliant browsers, which means Safari, Firefox, and Opera. Sorry, IE but no love for you.

    In the README file:

    SlickMap CSS was created for web designers, and such was tested and developed for use with Safari, Firefox, Opera, and other standards-compliant browsers. Because of that, current versions of Internet Explorer (and probably IE versions long into the future) might look like sh*t.

    The only downside I could think of right now is actually a strength in itself. While those large boxes would work for small to medium websites with a fairly standard site map layout like the one Astuteo has, it might do very well for larger websites with hundreds of links on their site maps. But then again there are methods to optimize and trim down those gigantic things.

    It is a very well thought out and solid demonstration of the power of CSS, and for this reason I raise my glass and give my kudos to Matt Everson and the folks at Astuteo. Well done guys!

    Share

    Read More