DIV centering issue

I have created a simple widget for displaying my blogger posts in the following url:

http://www.unsignedindustry.com/blogfeed.cfm

The widget maker site allows for custom CSS to style the display how I want.  What I can't seem to make work is to get it centered in the browser.  I've tried every combination of css I know to make the div center properly.

My CSS is:

.feedsweep {
      margin:0 auto 0 auto;
      position:relative;
      width:880px;
      height:550px;
      overflow:scroll;
}
.feedsweep_link {
      color:#dda627;
      text-decoration:none;
}
.feedsweep_title {
}
.feedsweep_item {
      font-family:Verdana, Geneva, sans-serif;
      font-size:12px;
      color:#000;
}
.feedsweep_date {
      font-family:Verdana, Geneva, sans-serif;
      font-size:9px;
      font-style:italic;
      color:#000;
      padding-top:20px;
}
.feedsweep_headline {
      font-family:Verdana, Geneva, sans-serif;
      font-size:16px;
      font-weight:bold;
      font-style:italic;
      color:#dda627;
}
.feedsweep_body {
      font-family:Verdana, Geneva, sans-serif;
      font-size:12px;
      color:#000;
}
div.feedsweep div.feedsweep_body a:link {
      color:#dda627;
      text-decoration:none;
      font-weight:bold;
}
LVL 1
day6Asked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

COBOLdinosaurCommented:
To center a div give it a width that is less than the width of its parent, set margin:auto;


Cd&
day6Author Commented:
Margin is already set to auto
COBOLdinosaurCommented:
Well then if you post a link to something that is actually in a valid document format we can probably figure out what the problem is.

Cd&
Determine the Perfect Price for Your IT Services

Do you wonder if your IT business is truly profitable or if you should raise your prices? Learn how to calculate your overhead burden with our free interactive tool and use it to determine the right price for your IT services. Download your free eBook now!

day6Author Commented:
the link I posted "IS" the document I am working with. I don't have access to the widget maker's Javascript, else I could see how they are compiling the CSS DIVS.  I figured there may be some trick to writing my CSS that would fix the issue. I've provided both the URL and my CSS.
COBOLdinosaurCommented:
Its not a valid document.  The browser has no way of knowing how to render it. There is no HTML header, or xml header or anything to indicate it is an RSS feed.  All the browser can do is dump raw text with whatever is embedded in it.  If you are using someone else's code than you get whatever they put out.  If you want control then you have to parse out what you want and put it into a valid presentation format.

Your CSS cannot have any impact because it is not in a valid page.

As for the script it is not even creating valid DOM elements it is just writing the text out to a page with local formatting that overrides any CSS applied through a style sheet.

Cd&  
day6Author Commented:
I don't know about the DOM stuff. That's something I don't know about.

As for the the local formatting, that isn't correct. Cause when I remove my style sheet, it gives me plain Roman Font and default link colors, etc. All the font sizes and stuff are controlled through my CSS sheet, so I don't know why it would just ignore the DIV assignments I'm giving... especially since the OVERFLOW I put in there is applying to the DIV on the rendered page.

I'm sorry I'm so ignorant about it.

I'm happy to use an alternative RSS FEED PARSER to format it the way I want, but I'm completely at a loss on how to create that.

I've spent 16 hours the last two days trying EVERY single WIDGET maker on the web and can't find one that lets me have complete design control of the feed.
COBOLdinosaurCommented:
Both problems: No centering and lack of complete control are because someone else controls the code.  There is something in the structure (or lack of it in this case) or in their styling that invalidates you efforts.

Javascript widgets don't parse and the generate, it has to be s a single real time operation. If you want a real RSS parsing tool you should be processing with server side scripting.  

If you can use php then here is a link to the script that is the basis of a lot of RSS processing and parsing.


Cd&

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
day6Author Commented:
Although the link to a script in PHP wasn't provided, it led me to think of a way to use Cold Fusion to parse my own RSS feed instead of messing around with other people's services. There is a tag in CF called <cffeed> which essentially takes any RSS feed and parses it for you. All I had to do is pull the three pieces of content I wanted from the feed and I was able to display it in my own styles, etc. without having to rely on a third party's site to do so.
COBOLdinosaurCommented:
Ooops I screwed up the link :^(

But as long as you found a solution that is a good thing. I've never used coldfusion but it scores a plus with me if it has a parser that lets you grab what you need.

Cd&
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
CSS

From novice to tech pro — start learning today.