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.

CSS Forum


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



Reply
Stylizing Forms in CSS
Old 08-03-2007, 05:50 PM Stylizing Forms in CSS
wilbury's Avatar
Skilled Talker

Posts: 68
Trades: 0
I have had several problems trying to stylize a Google search form using CSS.

Here are some of the issues:

1. I am trying to apply a background color to the form, but it does not show in IE6. It does show in Firefox, however.

2. If I set a width to the form, the form moves to the left margin of the (#topheader) div in Firefox and I cannot get it to align to the right (using align:right or margin).

3. I cannot align multiple images in the div to the right, just before the form.

I've worked around these issues by putting the images inside of the form, just before the search box, and setting a background image in the div ("Green by Nature"). The div basically looks like I want it to, with the exception of not being able to set a background color.

http://www.peaceofchristparish.org/C...z_diamond6.htm
http://www.peaceofchristparish.org/C...z_diamond6.css

Thanks in advance for your help.
wilbury is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 08-03-2007, 06:51 PM Re: Stylizing Forms in CSS
ADAM Web Design's Avatar
Canadastaninianite

Posts: 5,938
Name: Adam for web page design, not program
Location: Toronto, Ontario, Canada
Trades: 0
Sweet...green initiatives. You've come to the right place!

Put the form inside of its own containing div (call it form-div) and float that div to the right. You'll hopefully get what it is that you want. Just remember to clear your float after.
__________________

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
(my blog)


Please login or register to view this content. Registration is FREE
(with proof)
ADAM Web Design is offline
Reply With Quote
View Public Profile Visit ADAM Web Design's homepage!
 
Old 08-04-2007, 01:14 PM Re: Stylizing Forms in CSS
Angelosanto's Avatar
Webmaster Talker

Posts: 548
Name: Danny Angelosanto
Trades: 0
Sorry this is a little irrelevant to your question, but isn't that a bit of an odd domain name for the website? If you don't mind me asking
__________________
"The only reason some people get lost in thought is because it's unfamiliar territory."
_____________________________________
Angelosanto is offline
Reply With Quote
View Public Profile Visit Angelosanto's homepage!
 
Old 08-05-2007, 02:35 PM Re: Stylizing Forms in CSS
wilbury's Avatar
Skilled Talker

Posts: 68
Trades: 0
Adam:

Thanks for the reply. I didn't realize that IE6 will not recognize the bacakground color of a form. I was able to change the background color of it's containing div (#topheader) and the form itself to correct the problem.


Angelosanto:

Sorry about the confusion. The site is just in a development stage. When I started creating the site I was working from a computer outside of work. I just haven't moved it over to the correct server yet.
wilbury is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Stylizing Forms in CSS
 

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.19456 seconds with 12 queries