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.

HTML Forum


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



Post a Project »

Find a Professional HTML Freelancer!

Find a Freelancer to help you with your HTML projects

FREE Outsourcing eBook!

Reply
Problem with vertical ticker
Old 03-14-2006, 12:16 PM Problem with vertical ticker
Junior Talker

Posts: 2
Trades: 0
Hey guys,
Great community. I'm new here and I hope my question want be too newbish.
I stumbled upon this website that offers tickers (www.feedostyle.com). I tried
to generate a vertical marquee thingy for my website, but i dont' like the way the ticker looks... but the stupid ticker is styled using inline styles so I'm having a hard time overriding it's look.

The code is..
Code:
<div class="feedostyle" id="marquee1058950873" style="position: relative;width: 200px; height: 350px;';overflow: hidden; border: 1px dashed #FF9463; padding: 2px; padding-left: 4px; font: normal normal 1em Verdana, Arial, Helvetica, sans-serif;text-align: left" ... >
<div id="wrapper1058950873" style="position: absolute; width: 98%;">
some text...
</div>
</div>
Is there a way to override the styles using the feedostyle class?
Has anyone ever used this service, or knows any similar free service with tickers that are more easily customizable?

Thanks a lot.
CinderellaMan is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 03-14-2006, 12:25 PM Re: Problem with vertical ticker
chrishirst's Avatar
Missing! presumed drunk.

Posts: 42,383
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
No, because the inline style will over-ride the external or on-page style. That's the way CSS works, the last defined is the one used.

Where's the problem with removing the inline style ??
__________________
Chris. ->>
Please login or register to view this content. Registration is FREE
<<-

A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?
chrishirst is online now
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 03-14-2006, 02:41 PM Re: Problem with vertical ticker
Extreme Talker

Posts: 170
Location: Canada
Trades: 0
What chrishirst said was there is a stlye on your div that is forcing it to look a certain way. CSS is read from the top down. It will read the external stylesheet first (if it's above the CSS you may or may not have in the head section) then it reads the inline styles. If there is something in the inline style that matches something in the head section or on the external stylesheet the latter two will be overidden by the inline style. So...

Code:
...width: 200px; height: 350px;...
If you remove or change the information here you will be able to change the width and height of the object.

Code:
...border: 1px dashed #FF9463;...
If you want to modify the border around the object you'll have to change it here.

Or, if you want, you can remove the inline style all together and put all you CSS code into a seperate file, or in the head section of your page.
__________________

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



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

Last edited by collyer_1; 03-14-2006 at 02:45 PM..
collyer_1 is offline
Reply With Quote
View Public Profile Visit collyer_1's homepage!
 
Old 03-16-2006, 09:27 AM Re: Problem with vertical ticker
Junior Talker

Posts: 2
Trades: 0
Thanks a ton for the feedback guys.
I solved the problem by sending an email to the webmaster of feedostyle. He told me they changed the markup of their tickers so now the style declarations can be easily overridden. Props to them

Thanks again for the replies.
CinderellaMan is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Problem with vertical ticker
 

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