Does anyone know how i can place a static(or floating) image with a link that touches the top right corner(or any of the other corners) of the page.
Does anyone know how i can place a static(or floating) image with a link that touches the top right corner(or any of the other corners) of the page.
Your best bet is to use CSS to position it.
Here are a few links with that information:
w3schools
BarelyFitz
DevX
Just remember that positioning is done based on the containing element. So if you have a few divs or tables and your image is inside those the border attributes will be from those walls not the browser itself.
{CWoT - Riddle } {Freelance Copywriter} {Learn to Write}
Follow Me on Twitter: @InkingHubris
PHP Code:$result = mysql_query("SELECT finger FROM hand WHERE id=3");
echo $result;
Yes, make sure it's not nested in any elements.
- Mike
Nested. That's the word I was looking forMeh.
{CWoT - Riddle } {Freelance Copywriter} {Learn to Write}
Follow Me on Twitter: @InkingHubris
PHP Code:$result = mysql_query("SELECT finger FROM hand WHERE id=3");
echo $result;
The simplest way is to set:Unfortunately, everyone's favourite browser (IE<7) doesn't support position: fixed;. The common workaround is to use a huge 100%x100% <div> with scrollbars and put all one's content inside it, then put the offending image outside.Code:position: fixed; top: 0; right: 0;
Twey | I understand English | 日本語が分かります | mi jimpe fi le jbobau | mi esperanton komprenas | je comprends français | entiendo español | tôi ít hiểu tiếng Việt | ich verstehe ein bisschen Deutsch | beware XHTML | common coding mistakes | tutorials | various stuff | argh PHP!
Yes, it is a tragedyeveryone's favourite browser (IE<7)
After switching to anything but IE, you'll never go back.
- Mike
{CWoT - Riddle } {Freelance Copywriter} {Learn to Write}
Follow Me on Twitter: @InkingHubris
PHP Code:$result = mysql_query("SELECT finger FROM hand WHERE id=3");
echo $result;
Yeh
I want something like the "too cool for IE" thing.
I would have used that, but the main problem (as the name itself suggests), it doesnt work for IE (<IE7)
This tends to produce the same effect.Originally Posted by myself
Twey | I understand English | 日本語が分かります | mi jimpe fi le jbobau | mi esperanton komprenas | je comprends français | entiendo español | tôi ít hiểu tiếng Việt | ich verstehe ein bisschen Deutsch | beware XHTML | common coding mistakes | tutorials | various stuff | argh PHP!
Bookmarks