Devam Ediyor

484662 Change code to display links Horizontal

I have a custom link job. Should only be a character or two for someone to fix.

Currently my links are displayed vertically generated by a code. I want them to display horizontally using the same code.

Here is the working code that displays links vertically

#-------------------------------------------------------------------------------------

# Pages links

#-------------------------------------------------------------------------------------

$pages = explode("\n",PAGES);

if (is_array($pages)) {

$default = '';

foreach ($pages as $k => $v) {

$page_name_exp = explode("******************************************", $v);

$page_name_exp[0] = trim($page_name_exp[0]);

$page_name_exp[1] = trim($page_name_exp[1]);

if ($default == '') {

$default = $page_name_exp[1];

}

$page_navigation .= '<li><a href="[url removed, login to view]' . $page_name_exp[1] . '">' . $page_name_exp[0] . '</a></li>';

}

}

define('PAGE_NAVIGATION', $page_navigation);

-------------------

Here is the [url removed, login to view] code

body {

margin: 0px;

font-family: Verdana, Arial, Helvetica, sans-serif;

font-size: 11px;

background: url('images/[url removed, login to view]') repeat-x top;

color: #AAAAAA;

}

a {

color: #666666;

text-decoration: none;

}

a:hover {

color: #8DC919;

text-decoration: none;

}

.a {

color: #8DC919;

text-decoration: none;

}

.a:hover {

color: #FF9900;

text-decoration: none;

}

.headerNav {

padding: 10px;

padding-left: 0px;

font-size: 12px;

font-weight: bold;

text-align: center;

}

.headerTitle {

font-weight: bold;

text-transform: uppercase;

text-align: center;

padding: 20px;

font-size: 30px;

color: #000000;

}

.left {

padding-top: 10px;

}

.footer {

background: url('images/[url removed, login to view]') repeat-x top;

text-align: center;

padding: 10px;

}

.pageNav {

padding: 0px;

margin: 0px;

}

.pageNav ul {

font-size:[url removed, login to view];

list-style-image:none;

list-style-position:outside;

list-style-type:none;

padding: 0px;

margin: 0px;

}

.pageNav li {

padding-bottom: 3px;

}

.pageNav li a {

background:#F4F4F4 none repeat scroll 0 0;

border-left:4px solid #CCCCCC;

color:#505050;

display:block;

font-weight:bold;

height:20px;

padding:6px 0 0 10px;

text-decoration:none;

}

.pageNav li a:hover {

background:#F9F9F9 none repeat scroll 0 0;

border-left:4px solid #8DC919;

color:#8DC919;

display:block;

font-weight:bold;

height:20px;

padding:6px 0 0 10px;

text-decoration:none;

}

.pageTitle {

text-transform: uppercase;

font-weight: bold;

font-size: 15px;

padding-bottom: 15px;

}

.pageContent {

font-family: Georgia, "Times New Roman", Times, serif;

font-size: 14px;

line-height: [url removed, login to view];

color: #444444;

display: block;

width: 500px;

}

.right {

padding: 10px;

}

Thank you!

Beceriler: Her şey Kabul, Link Oluşturma, PHP

Daha fazlasını görün: php color code, padding background, li.be, li-be, code top, code that, code line, background padding, url change, type code, Trim, roman building, display color x as color x, decoration, change url, change background, body building , css background image fix, change color background color php, php image href, css fix size, image hover text, php change color, css font size fix, css horizontal align

İşveren Hakkında:
( 116 değerlendirme ) none, Canada

Proje NO: #2230572

Seçilen:

tonysodano

let's do it!

0 gün içinde 20$ USD
(0 Değerlendirme)
0.0