Webmaster Forum


Go Back   Webmaster Forum > Web Development > Web Design Lobby > Coding Forum
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Coding Forum Problems with your code? Let's hear about it.

Sponsored Reviews   ClickBooth Network   V7N Directory

Reply
 
LinkBack Thread Tools Display Modes
Old 03-18-2007, 05:53 AM   #1 (permalink)
Inactive
 
Join Date: 03-12-07
Posts: 17
iTrader: 0 / 0%
Latest Blog:
None

CookieHost is liked by many
Thumbs down CSS Layer problem

Hi,

Recently I redesigned our company's website. I still have some problems with layers on the homepage:

http://www.cookiehost.com/

I used a relative positioned layer to position the "90 Day Money Back Guarantee" image/link. Besides I used some transparent GIF images inside relative positioned layers to make the prices of the hosting plans clickable.
I inserted the DIVs right after the other content. They leave a white space at their original location, what doesn't look so good. Does any know a solution for this problem? Is it possible to insert some other elements inside this white space?

Thanks in advance,
Jiska
CookieHost is offline  
Add Post to del.icio.us
Reply With Quote
Sponsored Links
SEO Hosting by HostGator  Advertise Here  Buy Blog Links
Old 03-18-2007, 09:28 AM   #2 (permalink)
Contributing Member
 
Bagi Zoltán's Avatar
 
Join Date: 11-28-06
Location: Hungary
Posts: 196
iTrader: 1 / 100%
Bagi Zoltán is liked by somebodyBagi Zoltán is liked by somebodyBagi Zoltán is liked by somebodyBagi Zoltán is liked by somebodyBagi Zoltán is liked by somebody
Hi Jiska, I can't see any white spaces. Possibly you have already fixed the problem.
__________________
eCommerce shopping cart :: seo directory
Bagi Zoltán is offline  
Add Post to del.icio.us
Reply With Quote
Old 03-18-2007, 01:39 PM   #3 (permalink)
Inactive
 
Join Date: 03-12-07
Posts: 17
iTrader: 0 / 0%
Latest Blog:
None

CookieHost is liked by many
Hi, thanks for your reply. No, I didn't fix it yet. I guess I wasn't clear enough about the problem
In my website http://www.cookiehost.com you see right after the textboxes with the hosting specials, recipes, tell-a-friend etc. some empty space. This is where I inserted the layers that I positioned relatively. For example the layer that contains the 90 day money back guarantee image:

div.moneyback {
position: relative;
width: 172px;
height: 82px;
top: -795px;
left: -304px;
z-index: 2;
margin-left: auto;
margin-right: auto;
}
I would like my page to end right after the textboxes, but the background is stretching because of the layers that I placed there initially. I'm looking for a way to remove this "empty space" or to fill it up with some other elements.

Thanks,
Jiska
CookieHost is offline  
Add Post to del.icio.us
Reply With Quote
Old 03-19-2007, 10:34 AM   #4 (permalink)
v7n Mentor
 
Taltos's Avatar
 
Join Date: 11-22-06
Location: Phoenix, AZ
Posts: 1,799
iTrader: 0 / 0%
Latest Blog:
None

Taltos is a highly respected web proTaltos is a highly respected web proTaltos is a highly respected web proTaltos is a highly respected web proTaltos is a highly respected web proTaltos is a highly respected web proTaltos is a highly respected web proTaltos is a highly respected web proTaltos is a highly respected web proTaltos is a highly respected web proTaltos is a highly respected web pro
Send a message via Yahoo to Taltos
I'm not sure if this will work but I have seen similiar techniques used. Try adding to your div.moneyback a margin-bottom instruction that is the negative of your height. Something like:

margin-bottom: -82px;

Although I am not sure that the moneyback div is the problem. Good luck.
__________________
Experimenting
Taltos is online now  
Add Post to del.icio.us
Reply With Quote
Old 03-19-2007, 11:09 AM   #5 (permalink)
Inactive
 
Join Date: 03-12-07
Posts: 17
iTrader: 0 / 0%
Latest Blog:
None

CookieHost is liked by many
Hi,
Thanks a for your help! Even though it didn't completely fix the problem it reduced the size of the empty space a lot. Looks much better now

Thanks,
Jiska
CookieHost is offline  
Add Post to del.icio.us
Reply With Quote
Old 03-19-2007, 11:23 AM   #6 (permalink)
v7n Mentor
 
Taltos's Avatar
 
Join Date: 11-22-06
Location: Phoenix, AZ
Posts: 1,799
iTrader: 0 / 0%
Latest Blog:
None

Taltos is a highly respected web proTaltos is a highly respected web proTaltos is a highly respected web proTaltos is a highly respected web proTaltos is a highly respected web proTaltos is a highly respected web proTaltos is a highly respected web proTaltos is a highly respected web proTaltos is a highly respected web proTaltos is a highly respected web proTaltos is a highly respected web pro
Send a message via Yahoo to Taltos
I didn't dig completely through the code but it looks like the order now images are just below the moneyback. Looks like you might want to try the same thing on:

tagone, tagtwo, and tagthree divs?
__________________
Experimenting
Taltos is online now  
Add Post to del.icio.us
Reply With Quote
Old 03-19-2007, 03:29 PM   #7 (permalink)
Inactive
 
Join Date: 03-12-07
Posts: 17
iTrader: 0 / 0%
Latest Blog:
None

CookieHost is liked by many
Hi,
I applied a negative bottom margin to the other three layers as well. It reduces the size of the empty space even more, but there still remains some of it.

Jiska
CookieHost is offline  
Add Post to del.icio.us
Reply With Quote
Old 03-19-2007, 06:32 PM   #8 (permalink)
v7n Mentor
 
Taltos's Avatar
 
Join Date: 11-22-06
Location: Phoenix, AZ
Posts: 1,799
iTrader: 0 / 0%
Latest Blog:
None

Taltos is a highly respected web proTaltos is a highly respected web proTaltos is a highly respected web proTaltos is a highly respected web proTaltos is a highly respected web proTaltos is a highly respected web proTaltos is a highly respected web proTaltos is a highly respected web proTaltos is a highly respected web proTaltos is a highly respected web proTaltos is a highly respected web pro
Send a message via Yahoo to Taltos
The only other thing I seen do this is sometimes there is an assumed or default margin-bottom on body or tables or divs. You might try forcing margin-bottom to 0px on some of those and see if it clears up your mystery space.
__________________
Experimenting
Taltos is online now  
Add Post to del.icio.us
Reply With Quote
Old 03-25-2007, 10:04 AM   #9 (permalink)
Inactive
 
Join Date: 03-12-07
Posts: 17
iTrader: 0 / 0%
Latest Blog:
None

CookieHost is liked by many
I applied a margin-bottom of 0px to all relevant layers and tables, but as it appears to me this is not the problem in this case. The mystery space didn't give up yet Thanks for your tip anyway!

Jiska
CookieHost is offline  
Add Post to del.icio.us
Reply With Quote
Go Back   Webmaster Forum > Web Development > Web Design Lobby > Coding Forum

Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
CSS layer stretch CookieHost Coding Forum 9 05-17-2007 11:35 AM
layer ahhhhh ball420 Web Design Lobby 3 02-27-2007 04:14 PM
<div> Layer Can't see Help! :cry: donnyouyang Coding Forum 7 02-19-2005 09:18 PM
DIV layer emitind. Coding Forum 1 06-18-2004 11:29 AM
Layer edges ... Atom Graphic Design Forum 33 12-16-2003 08:24 PM


Sponsor Links
Get exposure! Get exposure! Find Scripts Web Hosting Directory Get exposure! SEO Blog


All times are GMT -7. The time now is 03:36 PM.
© Copyright 2008 V7 Inc