Cascading Style Sheets (CSS) Question

Flush table left with CSS

I have a web page with multiple css files and I am trying to get a table in the middle of the page to flush left.

      text
      text
      wide table starting beginning of centered text instead to left
      text
      text

As you see, all the text is centered but the wide table start where the centered text is instead of flush left.

I have tried in the head css style section:

body {
margin: 0; body: 0;
}

and on the table:
<table width="955" class="sortable" id="anyid" style="margin: 0 auto">

But it is like some other css command has defined a "smaller" page so it won' t use the entire browser windows.

How do only that table to go flush left of the browser window, and leave everything else as-is?


Trusted by Thousands of Top Companies

  • CVS
  • IBM
  • Boeing
  • US Army
  • Kaiser
  • RalphLauren
  • Xerox
  • Cox
  • BlueCross
  • Accenture
  • Sony
  • Toyota
  • Allstate
  • Att
  • TomTom
  • BBC
  • Raytheon
  • Wells Fargo
  • US Navy
  • Direct TV
  • FootLocker
  • Nikon
  • BritishCouncil
  • TS Army
201410-LO-Qu-022

Related Questions We have nearly 4 million solutions here.

See More Cascading Style Sheets (CSS) Solutions

Solve Your Difficult Tech Problems Faster with Experts Exchange

Access millions of verified solutions and get 1-on-1 help from the experts.

Try It Free

30 Day free trial.

Experts Exchange gives me a day to day reference of proven solutions that provide me guidance and troubleshooting help for my own clients.

- Brian B. Forte Consulting

Experts Exchange powers the growth and success
of technology professionals worldwide.

  • Solve

    Experts Exchange is the tech professional’s trusted, on-demand resource for solving difficult problems, making informed decisions, and delivering excellent solutions.

  • Learn

    With unparalleled access to technical experts, verified real-world solutions, and diverse educational content, Experts Exchange enables personalized development of technology skills.

  • Network

    Experts Exchange gives you the professional exposure and valued relationships key to building the career you want.

Join the Network Today

See Plans and Pricing