2013-06-05, 10:41 AM
Pages: 1 2
2013-06-05, 11:40 AM
please show your requirement with an image and give forum url. in general, we use float left style for elements
2013-06-05, 11:43 AM
I guess the op is asking for a way to reduce the list style indent.
For that you can use this css code in global.css:
For that you can use this css code in global.css:
ul li { margin-left: -20px }
2013-06-05, 12:06 PM
This is what i want to move guys to the left, there where it starts the container.
@effone, it works but it causes the tabs to shrink.
@effone, it works but it causes the tabs to shrink.
2013-06-05, 12:10 PM
Bind the lists in a class which you want to decrease indent and then apply the css trick. This will then not affect your tabs.
This way:
And in CSS:
This way:
<div class="noindent">
<ul>
<li>Text 01</li>
<li>Text 02</li>
<li>Text 03</li>
<li>Text 04</li>
<li>Text 05</li>
</ul>
</div>
And in CSS:
.noindent ul li { margin-left: -20px }
2013-06-05, 12:21 PM
Nothing my friend. It makes all of my forums to stretches to the edges of the site but the ul list it remains untouched.
2013-06-05, 12:23 PM
Have you closed the div tag?
<div class=".....">
.
.
</div>
<div class=".....">
.
.
</div>
2013-06-05, 12:30 PM
Her's my code:
<div id="container">
<a name="top" id="top"></a>
<div id="header">
<div class="logo"><a href="{$mybb->settings['bburl']}/index.php"><img src="{$theme['logo']}" width="1150px" height="170px alt="{$mybb->settings['bbname']}" title="{$mybb->settings['bbname']}" /></a></div>
<div id="nav">
<ul id="list-nav">
<li><a href="{$mybb->settings['bburl']}/index.php">Home</a></li>
<li><a href="{$mybb->settings['bburl']}/portal.php">Front Page</a></li>
<li><a href="https://www.facebook.com/TotalWarGreece?ref=hl">Facebook</a></li>
<li><a href="http://www.totalwarhellas.com/Announcement-TW-HELLAS-FORUM-RULES">Rules & FAQ's</a></li>
<li><a href="{$mybb->settings['bburl']}/memberlist.php">{$lang->toplinks_memberlist}</a></li>
<li><a href="{$mybb->settings['bburl']}/calendar.php">{$lang->toplinks_calendar}</a></li>
<li><a href="{$mybb->settings['bburl']}/search.php">{$lang->toplinks_search}</a></li>
<li><a href="{$mybb->settings['bburl']}/misc.php?action=help">{$lang->toplinks_help}</a></li></ul>
</ul>
</div>
<hr class="hidden" />
<div id="panel">
{$welcomeblock}
</div>
</div>
<hr class="hidden" />
<br class="clear" />
<div id="content">
{$pm_notice}
{$bannedwarning}
{$bbclosedwarning}
{$unreadreports}
{$pending_joinrequests}
<navigation>
<br />
2013-06-05, 12:32 PM
in global.css remove margin: auto; for #nav
2013-06-05, 12:34 PM
Try
#nav ul li {margin-left: -20px; }
or
#list-nav li {margin-left: -20px; }
#nav ul li {margin-left: -20px; }
or
#list-nav li {margin-left: -20px; }
Pages: 1 2