CSS Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsWeb DesignCSS Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old June 8th, 2001, 09:24 AM
superyupkent superyupkent is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2001
Location: Amsterdam, The Netherlands
Posts: 16 superyupkent User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via ICQ to superyupkent
Question How to 'measure up' bg-images in CSS

Lets say I want to give image parameters in HTML, I would do something like this:

<img src="/pics/background.gif" width="4" height="77">

But now I'm trying to do this with CSS, then I would think I have to do something like this:

body {
background-image: url("/pics/background.gif") ;
background-repeat: repeat;
background-attachment: fixed;
width : 4;
height : 77;
}

But that doesn't seem to work for me, when looking at my page in Opera I see a mistake in how the browser 'looks' at my picture. That's why I want to give the exact parameters.

Hope someone has a nice tip

Alex

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb DesignCSS Help > How to 'measure up' bg-images in CSS


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 3 hosted by Hostway
Stay green...Green IT