Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > HTML > probleme css

Reply
Thread Tools

probleme css

 
 
johann
Guest
Posts: n/a
 
      05-30-2007
bonjour
je suis en train de faire ma page internet
j'ai le menu en css
que voici :

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0
Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
xml:lang="en"><head><title>Testos</title>

<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<meta name="robots" content="all">
<link rel="stylesheet" type="text/css" href="menu01.css" title="default"
media="screen">
</head>


<body>

<ul id="menuDeroulant">
<li>
<a href="#">Les castors</a>
<ul class="sousMenu">
<li><a href="#">Pelage doux mais robuste qu'on aime bien
beaucoup</a></li>
<li><a href="#">Ils confectionnent des barrages !</a></li>
<li><a href="#">Ils ont des grandes dents</a></li>
</ul>
</li>
<li>
<a href="#">Partie 2</a>
<ul class="sousMenu">
<li><a href="#">whisky</a></li>
<li><a href="#">vodka</a></li>
<li><a href="#">gin</a></li>
<li><a href="#">vin</a></li>
<li><a href="#">champagne</a></li>
</ul>
</li>
</ul>

</body></html>

-------------------------------------------------------------------------------------------------------------------------------------------
le css :
-------------------------------------------------------------------------------------------------------------------------------------------
body {
font: 11px verdana, sans-serif;
background: #AFA99B url("fond.jpg") top left no-repeat;
margin: 0;
padding: 0;
}

/* ------------------------------------------------------------------------------------
Tha Drop-down Menu
------------------------------------------------------------------------------------
*/

/* Elements de premier niveau
--------------------------------------*/
#menuDeroulant
{
background: #6A6458;
width: 1024px;
height: 21px;
list-style-type: none;
margin: 5px;
padding: 0;
border: 0;
}
#menuDeroulant li
{
float: left;
width: 120px;
margin: 0;
padding: 0;
border: 0;
}
#menuDeroulant li a:link, #menuDeroulant li a:visited
{
display: block;
height: auto;
color: #FFF;
background: #3B4E77;
margin: 0;
padding: 4px 8px;
border-right: 1px solid #fff;
text-decoration: none;
}
#menuDeroulant li a:hover { background-color: #F2462E; }
#menuDeroulant li a:active { background-color: #5F879D; }

#menuDeroulant .sousMenu
{
display: none;
list-style-type: none;
margin: 0;
padding: 0;
border: 0;
}
#menuDeroulant .sousMenu li
{
float: none;
margin: 0;
padding: 0;
border: 0;
width: 149px;
border-top: 1px solid transparent;
border-right: 1px solid transparent;
}
#menuDeroulant .sousMenu li a:link, #menuDeroulant .sousMenu li a:visited
{
display: block;
color: #FFF;
margin: 0;
border: 0;
text-decoration: none;
background: transparent url("fondTR.png") repeat;
}
#menuDeroulant .sousMenu li a:hover
{
background-image: none;
background-color: #F2462E;
}

#menuDeroulant li:hover > .sousMenu { display: block; }

-------------------------------------------------------------------------------------------------------------------------------------------
-------------------------------------------------------------------------------------------------------------------------------------------
j'aimerais utiliser ceci pour fair un menu en haut d'une page, et que a
chaque clic sur les liens ce la me l'affiche sur un cadre ou ifram ou div
juste en dessous.

Mais j'arrive pas a trouver le truc

Voila merci d'avance
 
Reply With Quote
 
 
 
 
Jukka K. Korpela
Guest
Posts: n/a
 
      05-30-2007
Scripsit johann:

> je suis en train de faire ma page internet


Not really.

> j'ai le menu en css


No you haven't.

> que voici :


Where's the URL?

> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0


Bogosity alert!

> xml:lang="en"


Well, your French on the page might not be pure, but it surely ain't no ***
English either.

> <a href="#">Les castors</a>


That's a link to the page itself, hence worse than pointless.

> font: 11px verdana, sans-serif;


Please learn some basics of web authoring before proceeding.

--
Jukka K. Korpela ("Yucca")
http://www.cs.tut.fi/~jkorpela/

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Probleme mit LoadControl Andreas ASP .Net 1 03-04-2006 11:16 PM
VPN Probleme with Pix 515 and operator router. LLFF Cisco 2 06-16-2005 03:47 PM
Probleme de lecture de champs BDD sdffsdf ASP .Net 2 04-07-2005 12:00 PM
Probleme with struts 1.0 html:file tag Kristiansem Java 0 03-03-2004 03:31 PM
Probleme d'affichage de couleur d'arriere plan christian Ginouvet Java 0 11-10-2003 07:16 PM



Advertisments