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
Old 05-20-2006, 04:48 PM Removing Styles
phileplanet's Avatar
Average Talker

Posts: 25
Trades: 0
Is there a way I can remove all styles from an element through something like style: none;?
__________________
Visit
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
phileplanet is offline
Reply With Quote
View Public Profile Visit phileplanet's homepage!
 
 
Register now for full access!
Old 05-20-2006, 05:25 PM Re: Removing Styles
vangogh's Avatar
Post Impressionist

Posts: 10,688
Name: Steven Bradley
Location: Boulder, Colorado
Trades: 0
I'm not entirely sure what it is you're trying to do. Do you want to remove some styles you've applied when some clicks on something or when the page first loads? Is it something like that?

Would you mind giving a little more detail about what you're trying to do? I don't believe there's anything like style:none, but there may be a way to do what you want. I just need a little more detail to understand more what you're trying to achieve.
__________________
l Search Engine Friendly Web Design |
Please login or register to view this content. Registration is FREE

l Tips On Marketing, SEO, Design, and Development |
Please login or register to view this content. Registration is FREE

l
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
vangogh is offline
Reply With Quote
View Public Profile Visit vangogh's homepage!
 
Old 05-20-2006, 05:28 PM Re: Removing Styles
phileplanet's Avatar
Average Talker

Posts: 25
Trades: 0
I have Google search box on phileplanet.com and it is messing everything up in all browsers but Firefox. I have tried padding 0, margin 0, outline 0 and even all three simultaneously but it still looks weird.

Basically, I want to see if removing all CSS from that box will help.
__________________
Visit
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
phileplanet is offline
Reply With Quote
View Public Profile Visit phileplanet's homepage!
 
Old 05-20-2006, 06:41 PM Re: Removing Styles
vangogh's Avatar
Post Impressionist

Posts: 10,688
Name: Steven Bradley
Location: Boulder, Colorado
Trades: 0
Ok I see what you mean. It looks like that extra space below the form is outside of the form itself and inside the table cell. My first thought is to either set the margin of the form or the padding of the table cell or maybe even both.

Where did you try applying the things you mentioned? Was it on the form or the table cell or something else. The space is probably being caused by a default value on one of the elements. I'm not entirely sure which, but probably the form itself.

I had another thought. Maybe setting the form itself to float to the right since that will take it out of the document flow.

td#searchForm form {float:right}

I'm not sure if that will work, but it might be something else to try.
__________________
l Search Engine Friendly Web Design |
Please login or register to view this content. Registration is FREE

l Tips On Marketing, SEO, Design, and Development |
Please login or register to view this content. Registration is FREE

l
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
vangogh is offline
Reply With Quote
View Public Profile Visit vangogh's homepage!
 
Old 05-20-2006, 06:56 PM Re: Removing Styles
phileplanet's Avatar
Average Talker

Posts: 25
Trades: 0
float: right never occured to me. I tried it and it works great; it's not exactly what I was looking for but 1000 times better than what I had.

Thanks vangogh!
__________________
Visit
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
phileplanet is offline
Reply With Quote
View Public Profile Visit phileplanet's homepage!
 
Reply     « Reply to Removing Styles
 

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