Aligning the forum to the left, the easy way - NBS






 

 

Aligning the forum to the left, the easy way - NBS

View Full Version : Aligning the forum to the left, the easy way


halfcut
03-Nov-2002, 11:52 AM
Although not my cup of tea, I've been asked this question a few times
over on ibskins, in order to fit the forum in with the rest of their site
people want to align their forums to the left and want a quicker way than
going through all the templates.

Its a trick that relies on the
fact that tables naturally align themselves to the left.

go to
admin CP/skins & template/manage macros/edit and find the tbl_width and
increase your basic table width to 100%.

Then edit your wrapper in
effect putting your board inside a table of the actual width you require,
this could be a fixed width of 800 or a percentage eg 80% : for example
assuming you wanted 80%

<html> <head> <title> <%
TITLE %> </title> <% GENERATOR %> <% CSS %>
<% JAVASCRIPT %> </head><body
bgcolor='#ffffff' leftmargin="0" topmargin="0"
marginwidth="0" marginheight="0" alink='#000000'
vlink='#000000'>
<table width='80%'
border='0'
cellpadding='0'>
<tr><td>
<% BOARD
HEADER %><% NAVIGATION %><% BOARD %><% STATS
%><% COPYRIGHT
%>
</td></tr>

</body></html>

voila you have a left aligned forum
and you havent had to edit a single align='center'
:)