Customizing SMF > Modifications and Packages

Ad Management mod 3.1 Released SMF 2.0.x and SMF 1.1.x Support!

<< < (1356/1406) > >>

iain sherriff:
right, thanks
So with mine (Anecdota) I may not find the exact lines quoted.
Becomes a trial and error thing then I guess. Well if I find the right places I will post it.
Maybe part of the "problem" is that the mod is so popular thus creating a HUGE thread that people (myself included  O:) ) dont spend the time checking through other than with search.

All part of the fun  8) 8)

was1f:
I Want Know THere Is Any Option TO Add Banner Add On The Center Of The Header. .

Here Is Screen Short I Want This Banner in Center Please help. .


Thanks.

Yoshi:

--- Quote from: was1f on July 01, 2012, 01:25:41 PM ---I Want Know THere Is Any Option TO Add Banner Add On The Center Of The Header. .

Here Is Screen Short I Want This Banner in Center Please help. .


Thanks.



--- End quote ---
If you are using BBCode, try using the [center] tag.

If you are using HTML (which I think you are), wrap the other HTML like this:

--- Code: ---<div align="center">
Other HTML here
</div>
--- End code ---

Could be invalid but it works.

Labradoodle-360:
The align attribute isn't valid XHTML, you should know that. Rather use text-align or margins. Assuming it's inside of SMF (which it is, in this case) you can use the centertext class.

<div class="centertext">
Other HTML Here.
</div>

centertext is defined as:

--- Code: ---.centertext
{
text-align: center;
margin-left: auto;
margin-right: auto;
}
--- End code ---
Which covers all the browsers.

iain sherriff:

--- Quote from: Labradoodle-360 on July 02, 2012, 02:04:36 AM ---The align attribute isn't valid XHTML, you should know that. Rather use text-align or margins. Assuming it's inside of SMF (which it is, in this case) you can use the centertext class.

<div class="centertext">
Other HTML Here.
</div>

centertext is defined as:

--- Code: ---.centertext
{
text-align: center;
margin-left: auto;
margin-right: auto;
}
--- End code ---
Which covers all the browsers.

--- End quote ---

does the .centertext bit go in index.css ?
in curve or in the custom template ?
and where in the file does it go ?


thanks  :)

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version