prova così:Originariamente inviato da zanna91
Ciao a tutti, non capisco perchè il logo non mi si centra. Qui sotto il codice:
GrazieCodice PHP:<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" dir="ltr" lang="<?php echo str_replace('_', '-', osc_current_user_locale()); ?>">
<head>
<?php osc_current_web_theme_path('head.php') ; ?>
</head>
<body class="<?php osc_run_hook('body_class'); ?>">
<div id="container">
<div id="header">
<div class="wrapper">
<div align="center">[url="<?php echo osc_base_url() ; ?>"][b]<?php echo logo_header() ; ?>[/b][/url]
</div>
<div id="user_menu"></div>
<ul id="nav">![]()
nel css ci metti:
e nell'html ci metti questo:codice:.wrapper .logo_img a{ display: block; margin-left: auto; margin-right: auto }
Sappimi dire... ciauzzcodice:<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" dir="ltr" lang="<?php echo str_replace('_', '-', osc_current_user_locale()); ?>"> <head> <?php osc_current_web_theme_path('head.php') ; ?> </head> <body class="<?php osc_run_hook('body_class'); ?>"> <div id="container"> <div id="header"> <div class="wrapper"> <div class="logo_img"><?php echo logo_header() ; ?> </div> <div id="user_menu"></div> <ul id="nav">![]()
![]()
![]()

Rispondi quotando