Search code examples
alignmentjqplotcss-tables

Align table to the right of a page


I currently have an html page including a series of patterns organized as follows :

  • a div including a jqplot aligned to the left of the page
  • the associated table below the jqplot.

I'd like to align the table to the very right of the jqplot. Here is a link showing the current organization for the html :

http://snovae.in2p3.fr/canto/scratch/spectra_sample/SN2007le_fullrun.html

As for now I don't have any style within the html. The jqplot is called with the div and the table is not currently within any div if this helps.

Any help will be greatly appreciated.


Solution

  • You should set your .jqplot-target elements to have a margin-left: 0px. Those seem to have inline style set, act on this and set their style (which is always the same) via a css acting on their class, not on each individual elements.