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 July 18th, 2004, 04:29 PM
MastahUK's Avatar
MastahUK MastahUK is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2003
Location: UK
Posts: 244 MastahUK User rank is Corporal (100 - 500 Reputation Level)MastahUK User rank is Corporal (100 - 500 Reputation Level)MastahUK User rank is Corporal (100 - 500 Reputation Level)MastahUK User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 1 Day 9 h 43 m 31 sec
Reputation Power: 9
Send a message via ICQ to MastahUK
CSS Layout question

I'm building a simple gallery site for my old man, who wants a place to upload his artwork. I've made all the slices in ImageReady for the images around the edge of the screen, and customised the code so that they fit to any resolution. I'm having a problem with the DIV tag that I would like to contain the main section of the site. I would like it to fit the gap in the middle - whatever size that may be - so it can scroll if necessary later on. As it is though, it just wraps around whatever content I put there. Here's the stylesheet code for that particular DIV:


Code:
#vg-09 {
	position:absolute;
	margin-top:183px;
	margin-left:49px;
	margin-right:56px;
	margin-bottom:97px;
	background-image: url(images/vg_09.gif);
}


I thought those margins would make it meet the surrounding images, but it doesnt work. I've also tried setting the height and width to 100%, but then it extends beyond the size of the screen and looks ugly after scrolling.

Here's the Page:
http://vic.retina-designs.com

Does anyone know how I can get that DIV layer to sit flush against all the surrounding images? Thanks for any help!

EDIT: Added the link

Last edited by MastahUK : July 18th, 2004 at 04:38 PM.

Reply With Quote
  #2  
Old July 19th, 2004, 01:01 PM
amassedaura's Avatar
amassedaura amassedaura is offline
"I'm dulled by excess..."
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2004
Location: London, England
Posts: 237 amassedaura User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 Day 17 h 38 m 36 sec
Reputation Power: 5
i'm not *completely* sure what you're trying to do, but, the "position: absolute;" line always makes things difficult. try it without this, or, try "float : none;"...

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb DesignCSS Help > CSS Layout question


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 5 hosted by Hostway
Stay green...Green IT