Q

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?


201409-LO-Qu-014

Find Your Answer,
Ask the Experts.

Start your free trial

Free 30 day trial of a Premium Membership. Cancel anytime.

What's a Premium Membership?

Download the Experts Exchange Guide

Consulting & Contracting:
How to Go Out On Your Own

Can you become an independent contractor with your own business?

We will never share this with anyone.

Skill Training Video TutorialsExpand your tech skills quickly with five-minute, instructional videos.

See More Web Development Videos

What does a Premium Membership get you?

  • Unlimited Access to over 4 million verified technology solutions

  • Unlimited Access to thousands of interactive articles and videos

  • Unlimited technical writing assistance

  • Submit your projects for Expert Testing

  • Expand your professional network with our messaging and hire me features

  • Ad free and mobile optimized experience

Join the Network Today!

See Plans and Pricing