Web Design Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsWeb DesignWeb Design 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 September 28th, 2003, 03:31 AM
ranger ranger is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2003
Posts: 29 ranger User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 2 m 19 sec
Reputation Power: 0
Question display only half of the image...

Hi there,
I wonder how can I make that only half of an image can be displayed on the homepage. It seems simple task, huh?

For example, I have this image inserted in my HP:
http://voap.weather.com/weather/oap...bd40f311c1bfe1e
The image is on a different server and of course I can't edit it.

Now, I want only the upper half of it to be seen, so that I can use the space below for other stuff.
(I tried height="..." but it doesn't work...)
Does anyone know if that can be done somehow...?

Thanks

Reply With Quote
  #2  
Old October 1st, 2003, 09:44 AM
icy_polecat's Avatar
icy_polecat icy_polecat is offline
Senior Polecat
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2003
Location: Jersey (the original version)
Posts: 210 icy_polecat User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 59 m 57 sec
Reputation Power: 6
Send a message via Yahoo to icy_polecat
well, you could try wrapping the iage in a div, setting overflow to hidden and sizing the div to fit your needs.
__________________
Quidquid latine dictum sit, altum viditur.

http://www.XSet.co.uk

Reply With Quote
  #3  
Old October 2nd, 2003, 01:46 PM
aaron.martone's Avatar
aaron.martone aaron.martone is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2003
Location: Central Florida
Posts: 76 aaron.martone User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 5
Send a message via ICQ to aaron.martone
Though current day "rules" say it's best to stick with Table-less, CSS and XHTML compliant coding, you can always create a table that is 1 row and 2 columns. Make it the width of the image, and set the column widths to 50%.

In the left column, make the cell background the image in questions. And make the background color of the right cell BLACK. In effect, you're only showing half the image.

Reply With Quote
  #4  
Old October 4th, 2003, 09:18 AM
ranger ranger is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2003
Posts: 29 ranger User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 2 m 19 sec
Reputation Power: 0
Thanks guys, I'll try both ways; seems it'll work without problems.

Reply With Quote
  #5  
Old October 8th, 2003, 02:09 AM
sardonyx's Avatar
sardonyx sardonyx is offline
sardonyx quinx
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2003
Posts: 157 sardonyx User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 34 m 3 sec
Reputation Power: 5
Send a message via Yahoo to sardonyx
Try editing the image itself. Maybe this will decresease the potential problems in different browsers.

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb DesignWeb Design Help > display only half of the image...


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