padding problem

my site is
on the left side bar just under the clock i am displaying a message: the car is....
how can i display this message from the top left corner of the box and not in the middle of the box i tried zeroing the padding but it doesn t work???
Who is Participating?
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.

Chris WalshSoftware DeveloperCommented:
You have a DIV with a class name of "demos"
In there you have table with cellspacing of 30.  
I would suggest you remove the table completely (and enclosing tr and tds) and just have the DIV with class name of "message" left behind.

You have a lot of html error on your page.  Try using Firefox and installing an extension called HTML Validator to identify and remove errors on your HTML.  Once it is W3C standard, you will find that problem solving things like this is much easier because loosely related errors won't impact on the specific tags you are working on.

You are using XHTML document type.  Therefore:
* use <br /> rather than <br> in your scripts.  
* always put quotes around your attribute values (align="center" rather than align=center)
* ensure your ID attibute values are unique on the page (e.g. multiple tags with ID="PM")
* esscape URL links e.g. use "&amp;" instead of "&" in your src and href attributes.

Also, one usually puts colour styles on the td rather than tr tags of tables.

Hope this helps.

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
Have you tried setting the cellpadding of the surrounding table to 0 instead of 30? :-)
(actually, that table shouldn't even be there... what do you use it for in a div-based design?)
(just pointing out the obvious: our comments overlapped, of course BloodBaz' comment wasn't there when I posted mine...)
falfouliAuthor Commented:
it helped a lot thank you!!
Chris WalshSoftware DeveloperCommented:
@Holger: Always happening to me to!
@falfouli: Glad we could help.
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

From novice to tech pro — start learning today.