HTML - Page Icon(browser)
Okay, I'm not exactly sure what these images are called, but in Opera, on most websites, there is a little image (usually the logo of the website), up to the left of the address bar.
Is anyone able to explain how to get images there? Thank you. ______________________ Similar TutorialsHello! I would really like to have the meta tags code which allows one to put a logo or icon in the browser window, right before the URL. Thanks so much! Kathy A company website I went to gives the user the option of downloading a program, the purpose I believe is to open a browser and automatically log the user into their online account at www.companysite.com. The user simply double-clicks an icon on the desktop which lauches the browser, etc. How can I do this? Anyone have a link to a fre script? Thanks! Chris Hey Some webpages have an icon attached to it. In Firefox, that icon in at the left of each tab, and they're also seen while looking through the bookmarks list. For instance, all yahoo pages have a red Y. How does one add such an icon to their page? Could someone point me to a page with (easily followed) instructions? Thanks! Paul Hello, I'm trying to create a web page the old fashioned way - typing the code myself. However I'm having a problem: I can't make my page fit the browser window. The page is always a LITTLE BIT wider than the screen, creating a scroll bar across the bottom that's completely unnecessary. I'd appreciate help to eliminate this unnecessary sideways scroll bar. Hi all, I'm a totally new user to HTML and CSS. I hope i could get some simple and clear advices from you guys. I create this website using manual positioning. Here's the link ---> www.danielgohdesign.com I would like my site to be in the center for all browser. What should i do? Thanks, Dan Im searching for codes what will disallow to view browser your page, i need opera, firefox, and internet explorer codes. Anyone know where i can find codes what will disallow them to view page? Thanks Hello, I want to open a html page in a same browser window with fullscreen mode. I tried following code: window.open("hello.html","_self","fullscreen,scrollbars") However if I use _self, I did not get page in fullscreen mode. Any help is really appreciated. Regards, John Hello; I am a graphic designer that codes pages quick and dirty entirely with tables. The one I am currently working on needs to be centered in all browser windows at all sizes. I understand that this shouldn't be hard, however everything that I have tried so far hasn't worked. My thoughts are that since it is built entirely in tables (with a java search tool) that I need to make a centered container and place the entire page inside of it. I have tried a few codes I've pulled from other forums with no luck temporary url (and I know the code is dirty) www.showcasepublishing.com/myoutandabout Thanks in advance Hi all, just came here to ask why is it that when I try to open my HTML file in Internet Explorer, which I created in note pad, it comes up with the code I typed it rather than displaying the actual page? Like for example I typed in this... <html> <head><title>Interspecies Conflict Videos</title></head> <body> <div align="center"> <img src="web logo.jpg" alt="Web Header" /> </div> </body> </html> And all I got was the code you see above you, there was no picture or anything. Hi im aware how to fit the width of a page so it fills the browser window but im curious on how to set the height of the page? the width works perfectly and just the height im stuck with I have a terrible problem how to make this page resize whatever the resolution of the browser. I've already did liquid layout via percent but the height doesn't do it. They want the content to be scalable in whatever browser dimensions they want. Kindly help me. Thanks. Here is the html: Code: <!DOCTYPE html> <html> <head> <meta charset="utf-8" /> <title>Porter House New York</title> <link rel="shortcut icon" href="images/favicon.ico" /> <link rel="stylesheet" href="css/main.css" /> <script src="js/jquery.js"></script> <script src="js/drop-down-menu.js"></script> <!--[if IE]> <script src="js/CreateHTML5Elements.js"></script> <![endif]--> <!--[if IE 6]> <script src="js/unitpngfix.js"></script> <![endif]--> </head> <body> <header> <a href="index.html"><img src="images/logo_porter_house_new_york.png" alt="Porter House New York" class="logo" title="Porter House New York" /></a> </header> <!-- end header --> <nav> <ul> <li><a href="#" class="about" title="about">about</a> <ul> <li><a href="#" title="The Restaurant">The Restaurant</a></li> <li><a href="#" title="The Chef">The Chef</a></li> <li><a href="#" title="The Owners">The Owners</a></li> </ul> </li> <li><a href="#" class="menus" title="menus">menus</a></li> <li><a href="#" class="press" title="press">press</a></li> <li><a href="#" class="photos" title="photos">photos</a></li> <li><a href="#" class="private" title="private dining">private dining</a></li> <li><a href="#" class="gift" title="gift certificates">gift certificates</a></li> <li><a href="#" class="contact" title="contact">contact</a></li> <li><a href="#" class="watch" title="contact">contact</a></li> <li><a href="#" class="reserve" title="contact">contact</a></li> </ul> </nav> <!-- end nav --> <div id="content"> <div id="contentTop"> </div> <!-- end contentTop --> <div id="side"></div> <!-- end side --> <div id="main"> </div> <!-- end main --> <div id="contentBottom"> </div> <!-- end contentBottom --> </div> <!-- end content --> <footer> <p>© Copyright 2007. Porter House New York. Powered by 2B-Unique.com</p> </footer> <!-- end footer --> </body> </html> Here is the CSS: Code: /* ---------------------------------------- */ /* CSS RESETS */ /* ---------------------------------------- */ @import url('reset.css'); body { background: #fff url(../images/bg.jpg) repeat-x center 0; background-size: 100% 100%; -o-background-size: 100% 100%; -webkit-background-size: 100% 100%; -khtml-background-size: 100% 100%; -moz-background-size: 100% 100%; } /* ---------------------------------------- */ /* HEADER */ /* ---------------------------------------- */ header { position: relative; margin: 1% auto 0; height: 20%; width: 98%; background: url(../images/header.png) no-repeat 0 0; *background: url(../images/header_ie.gif) no-repeat 0 0; background-size: 100% 100%; -o-background-size: 100% 100%; -webkit-background-size: 100% 100%; -khtml-background-size: 100% 100%; -moz-background-size: 100% 100%; } header img.logo { margin: 3% 0 2% 3%; height: 50%; width: 25%; } /* ---------------------------------------- */ /* NAV */ /* ---------------------------------------- */ nav { position: relative; margin: 0 auto; height: 28px; width: 98%; background: url(../images/nav.png) no-repeat 0 0; *background: url(../images/nav_ie.gif) no-repeat 0 0; background-size: 100% 100%; -o-background-size: 100% 100%; -webkit-background-size: 100% 100%; -khtml-background-size: 100% 100%; -moz-background-size: 100% 100%; } nav ul { margin-left: 1.1%; position: relative; } nav li { position: relative; float: left; } nav a { display: block; text-indent: -9999px; height: 25px; background: url(../images/nav_sprites.png) no-repeat 0 0; } nav a.about { background-position: 0 0; width: 73px; } nav a.about:hover { background-position: 0 -25px; } nav a.menus { background-position: -73px 0; width: 85px; } nav a.menus:hover { background-position: -73px -25px; } nav a.press { background-position: -158px 0; width: 83px; } nav a.press:hover { background-position: -158px -25px; } nav a.photos { background-position: -241px 0; width: 98px; } nav a.photos:hover { background-position: -241px -25px; } nav a.private { background-position: -339px 0; width: 145px; } nav a.private:hover { background-position: -339px -25px; } nav a.gift { background-position: -484px 0; width: 166px; } nav a.gift:hover { background-position: -484px -25px; } nav a.contact { background-position: -650px 0; width: 84px; } nav a.contact:hover { background-position: -650px -25px; } nav a.watch { background-position: -741px 0; width: 252px; } nav a.watch:hover { background-position: -741px -25px; } nav a.reserve { background-position: -993px 0; width: 121px; } nav a.reserve:hover { background-position: -993px -25px; } nav ul ul { position: absolute; left: -10px; top: 25px; z-index: 900; padding: 3px 0; background-color: #ffffeb; } nav ul ul li { float: none; width: 143px; } nav ul ul a { margin: 0 3px; padding-left: 10px; height: 16px; width: 127px; background: none; color: #71462d; font: normal 12px Tahoma; text-indent: 0; text-decoration: none; text-transform: uppercase; } nav ul ul a:hover { background: url(../images/submenu_hover.jpg) no-repeat 0 0; color: #fff; } /* ---------------------------------------- */ /* CONTENT */ /* ---------------------------------------- */ #content { position: relative; margin: 0 auto; overflow: hidden; height: 304px; width: 98%; background: url(../images/content.png) repeat-y 0 0; *background: url(../images/content_ie.gif) repeat-y 0 0; background-size: 100% 100%; -o-background-size: 100% 100%; -webkit-background-size: 100% 100%; -khtml-background-size: 100% 100%; -moz-background-size: 100% 100%; } #contentTop { position: absolute; top: 0; left: 1.05%; z-index: 100; background: url(../images/content_top.png) repeat-x 0 0; *background: none; height: 2%; width: 97.85%; } #contentBottom { position: absolute; bottom: 0; left: 1.05%; z-index: 100; background: url(../images/content_bottom.png) repeat-x 0 0; *background: none; height: 2%; width: 97.75%; } #side { position: relative; float: left; display: inline; margin-left: 1.1%; height: 304px; width: 19.62%; } #main { position: relative; float: right; display: inline; margin-right: 1.1%; min-height: 276px; width: 76.07%; padding: 28px 0 0 12px; } /* ---------------------------------------- */ /* FOOTER */ /* ---------------------------------------- */ footer { position: relative; margin: 0 auto; width: 98%; background: url(../images/footer.png) no-repeat 0 0; *background: url(../images/footer_ie.gif) no-repeat 0 0; background-size: 100% 100%; -o-background-size: 100% 100%; -webkit-background-size: 100% 100%; -khtml-background-size: 100% 100%; -moz-background-size: 100% 100%; } footer p { margin: 20px 0 0 11px; display: inline-block; text-indent: -9999px; height: 50%; width: 40%; background: url(../images/copyright.png) no-repeat 0 0; background-size: 100% 100%; -o-background-size: 100% 100%; -webkit-background-size: 100% 100%; -khtml-background-size: 100% 100%; -moz-background-size: 100% 100%; } Hello I'm new to HTML Now straight to the point : I have a web page that looks too big when screen resolution is 1024x786 , but on the other pc (screen resolution 1280x1024 ) the same page looks too small and I have white spaces around it. I want my whole page with it's elements adapt to the browser window size and fit exactly to it ( I don't want to see that scrolling thing on the right or bottom ). You could just give me the link of the function/code I have to use. Here is my code if that helps. Code: <html> <title>AiiT</title> <body background="b.png" style="background-repeat:no-repeat; background-position:center center; width: 1024px;height:768px;"> <div style="background-image: url('1.png'); width:764px; height:557px; position: absolute; top: 12%; left: 50%; margin-left: -382px; text-align:center; "><div style="background-image: url('Tr.png'); background-repeat:no-repeat; position: relative; left:30px; top:30px;"><img src="Her.png" border="0" style="margin-top:10px;"><br><br> <a href="en/"><img src="an.png" border="0"></a> <a href="lt/"><img src="li.png" border="0"></a><br><br><img src="Logo.png" border=0"></div></div> </body> </html> Help appreciated. Hello, I am having a bit of a problem with a website I just started. I am currently on a resolution of 1280x1024 and I want it work for 1024x768. Well, I want it to work for any resolution, really. In fact, I noticed the problem exists when I go from maximizing the browser window to minimizing it. Here is what it looks like at 1280x1024 with the browser window maximized. Here is what it looks like at 1024x768 or when the browser window is less than maximized. See the problem? The two background images to either side of the banner image are lessening, as the resolution decreases or the browser window is decreases. Yet, the banner image remains unaffected. How can I make sure that the html is proportional to resolution, such that the background image on either side of the banner image remain unaffected in the manner in which they are currently? Thank you. Here is the HTML: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> <html> <head> <meta http-equiv="content-type" content="text/html; charset=iso-8859-1"> <title>Test</title> </head> <body> <table border="2"> <!-- table 1 --> <tbody> <tr> <td width="10%" style="BACKGROUND-IMAGE: url(pictures\BG.jpg)"><!-- col 1 --> </td> <td width="80%"><!-- col 2 --> <table border="4"> <!-- Table 2 --> <tbody> <tr> <td><img src="pictures/banner.jpg"> </td> </tr> <tr> <td>More stuff goes here</td> </tr> </tbody> </table> </td> <td width="10%" style="BACKGROUND-IMAGE: url(pictures\BG.jpg)"><!-- col 3 --> </td> </tr> </tbody> </table> <!-- table 1 --> </body> </html> hello, I'm an HTML novice who designed/maintains my own site without any expertise at all. One problem I can't seem to figure out: When the browser window is sized more narrowly than the content on the page, the table sections get shoved down underneath one another. Most sites I see don't do that -- when the browser window narrows, the site content stays in place. Any insight about what my error is? You can check out the problem at www.adamgwon.com. Thanks much. How do you make that little icon that appears at the address of your browser's address bar and in the favrotes' menu? You know that like 16x16 picture... How do I put tyhat into my pages? Thanks. I want something like what's circled in red above, And I've made my own. Now, how do I do this? Does anyone know where I can find an icon of a padlock? I need one that's opened and one that's closed. Thanks! Hi, In most of the web sites nowadays we can see an icon appearing before the URL in the address bar. What is the technique behind it ? Even in this web site it appears. This might not be html at all, but how do you get the little icon on the page tabs on people's browsers (like the lightbulb on this page) ? Can't find the info anywhere. Thanks. I would like have the HTML code for my web pages that will put my tiger icon on my page shortcuts that I save to my desktop. I believe its an attribute in the body tag such as: <body logo=""> or something like that. When I put a web page shortcut on my desktop an icon for that page appears above the name. I can not find the correct tags by sourcing the page. When I save this page to my desktop an icon displays above the name. Please help. Thanks Walt |