Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

Website Design Forum


You are currently viewing our Website Design Forum as a guest. Please register to participate.
Login



Freelance Jobs

Reply
Simple question making me depressed!!
Old 02-14-2008, 08:29 AM Simple question making me depressed!!
Skilled Talker

Posts: 50
Name: luke
Trades: 0
Hi all ! How are you?

Can someone please help me.. look at this page, I made especially for this exmaple: http://www.comespanish.com/me/default.htm

Then you see where it says - "if you want the new song sent to you.. "
And under that it is bright purple. Basically this is a div, and I only want it to be as high as it needs to be to cover the search box. But it won't let me reduce the height. Currently its 45px, but If i make it less.. nothing happens. It refuses.

I tried everything I know, which isn't much, like "border=0" but nothing is working

I know it seems like nothing, except that I have the same problem when I try to add a google search box.. The div that it is in ends up being massive, and I can't reduce the size ! It's like their is an invisible border of 30px around it. So i need help in order to put google search on my site, thanks!
__________________

Please login or register to view this content. Registration is FREE
lukedahel is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 02-14-2008, 12:07 PM Re: Simple question making me depressed!!
Skilled Talker

Posts: 83
Location: UK
Trades: 0
There is a div tag there, but there's also a form tag there too. Forms are awful for creating gaps, this happened to me a while ago and I think I changed round the form attribute in my CSS. Make sure you don't have any white space or any other loose coding hangting around too. Let us know if that helps
__________________

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
graham08 is offline
Reply With Quote
View Public Profile Visit graham08's homepage!
 
Old 02-14-2008, 02:32 PM Re: Simple question making me depressed!!
LadynRed's Avatar
Defies a Status

Posts: 10,017
Location: Tennessee
Trades: 0
Part of your problem is that you've got everything set to position: absolute. That means every single element is taken OUT of the document flow and the elements do NOT 'interact' with each other.

Add this to your CSS:

Quote:
#submit {
position: absolute;
width:400px;
height:22px;
background-color: #FF00FF;
top: 68px;
text-align: center;
left: 52px;
margin: 0;
padding: 0;
}
#submit form{
margin: 0;
padding:0;
height: 22px;
}
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

LadynRed is offline
Reply With Quote
View Public Profile
 
Old 02-14-2008, 08:18 PM Re: Simple question making me depressed!!
Skilled Talker

Posts: 50
Name: luke
Trades: 0
That worked!!
Thanks a lot
__________________

Please login or register to view this content. Registration is FREE
lukedahel is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Simple question making me depressed!!
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.19412 seconds with 12 queries