|
|
||||||
|
||||||
| Index Link To US Private Messages Archive FAQ RSS | ||||||
| Graphics & Design Discussion Forum Post your graphics design questions/comments/ideas in here. Ask questions, post tutorials, discuss trends and best practices. Sub-forum for website accessibility and usability. |
Share Thread: & Tags
|
||||||
|
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
||||
|
Well, the format you use isn't really a 'background' image per se, it's directly in the code. Furthermore what you've displayed is deprecated (height and width inline).
The idea with background images as to my understanding, is to use them more for layout, as opposed to actual content. That's the way I separate the two. If an image has to do with the content on the site, use the img tag, if not, use a background image. |
|
||||
|
Guess it depends on if the image is unique for various pages vs the style sheet. If the image is the same sitewide, it makes it easier to change that image if you're working in css, as you can use a new image, change the placement of the image, remove the image, so forth and so on.
My 2 Cents on that one.
__________________
We offer a total eCommerce solution with eCommerce Web Design using Pinnacle Cart |
|
||||
|
Very good point, Ron!
__________________
If I ever stop learning, let the wolves have my carcass. ![]() http://doccampbell.wordpress.com/ http://cleanstreamwaterconditioning.com http://carforums-online.com |
|
|||
|
if you are planing to link that image then use it in the html code.. but if the image is just a background image and you would like to change the image in future to something else then its better to put it in css file just to keep everything organized as well
|
|
|||
|
Sorry, kgun, for butting in...
Quote:
Note that width and height are indeed, still optional attributes of the IMG tag. Including them helps browsers reserve space in the layout and move on to other code without having to wait for the download. |
![]() |
|
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Image ALT tags with an image name | dlamar | Search Engine Optimization Forum | 9 | 05-20-2009 09:09 AM |
| It is a free image hosting site upload image and generate sharing links for easy post | imagestored | Services for Sale/Hire | 0 | 06-07-2008 02:08 AM |
| imagexc.com & imgxc.com (image exchange / image hosting) | riverbirch | Domains Buy/Sell | 0 | 03-01-2008 11:48 PM |
| Y. Image Search takes you to Image Directory, not website | Joe_Wood | Yahoo! Discussion Forum | 2 | 12-13-2007 07:27 PM |
| Help wanted for Image::Magick Remote image size: PERL | TrafficProducer | Web Programming Discussion Forum | 0 | 02-25-2005 08:03 AM |
|
WebProWorld |
Advertise |
Contact Us |
About |
Forum Rules |
MVP's |
Archive |
Newsletter Archive |
Top |
WebProNews
WebProWorld is an iEntry, Inc. ® site - © 2009 All Rights Reserved Privacy Policy and Legal iEntry, Inc. 2549 Richmond Rd. Lexington KY, 40509 |