Placer une image dans le coin droite
Utilisateur anonyme
-
Utilisateur anonyme -
Utilisateur anonyme -
Bonjour,
J'aimerais placer une image (un ruban rouge à mettre en diagonale dans un coin sur mon site.
Il s'agit de placer cette image sur un premier background... Je suis un perdu !
Comment puis-je faire ?
Merci pour vos réponses !
URL effacée à la demande de l'auteur
J'aimerais placer une image (un ruban rouge à mettre en diagonale dans un coin sur mon site.
Il s'agit de placer cette image sur un premier background... Je suis un perdu !
Comment puis-je faire ?
Merci pour vos réponses !
URL effacée à la demande de l'auteur
A voir également:
- Mettre une image à droite html
- Les textes ne doivent pas être en retrait à droite et à gauche - Guide
- Editeur html - Télécharger - HTML
- Légender une image - Guide
- Image iso - Guide
- Mettre une image en filigrane sur word - Guide
11 réponses
bonjour
warlix a parfaitement raison ...
mais en plus, personnellement, j'ajouterai : " inscris-toi " ce serait quand même mieux, non ?
ne serait-ce que par respect ou politesse vis à vis de ceux qui voudront t'aider ...
@+
b g
warlix a parfaitement raison ...
mais en plus, personnellement, j'ajouterai : " inscris-toi " ce serait quand même mieux, non ?
ne serait-ce que par respect ou politesse vis à vis de ceux qui voudront t'aider ...
@+
b g
salut
j'essayerai de rendre le fond transparent avec un log de retouche photo et je l'insererai comme une image dans l'angle voulu.
j'essayerai de rendre le fond transparent avec un log de retouche photo et je l'insererai comme une image dans l'angle voulu.
Bonjour à tous,
tu peux, il me semble, utiliser une balise <DIV> flottante (voir les balises CSS) pour afficher cette image,
Si cette p'tite info ne t'aide pas & pour éventuellement t'en dire plus il serait bon de pouvoir examiner le code de ta page...
à bientôt,
Claude
tu peux, il me semble, utiliser une balise <DIV> flottante (voir les balises CSS) pour afficher cette image,
Si cette p'tite info ne t'aide pas & pour éventuellement t'en dire plus il serait bon de pouvoir examiner le code de ta page...
à bientôt,
Claude
Vous n’avez pas trouvé la réponse que vous recherchez ?
Posez votre question
Merci pour vos premieres réponses.
Si je rend mon image transparente, il me suffirait de l'insérer dans ma page avec un code CSS ?
Quelqu'un aurait-il la gentillesse de m'établir ce code ?
Si je rend mon image transparente, il me suffirait de l'insérer dans ma page avec un code CSS ?
Quelqu'un aurait-il la gentillesse de m'établir ce code ?
comment établir un css sur une page qu on ne voit pas :)
Donc présente ta base ici et on pourra 'sûrement' te guider
Donc présente ta base ici et on pourra 'sûrement' te guider
Bonjour,
Me voici inscrit.
Alors, l'adresse du site est la suivante : www.cva-charleroi.be
Merci pour votre aide !
Me voici inscrit.
Alors, l'adresse du site est la suivante : www.cva-charleroi.be
Merci pour votre aide !
Voici mon fichier CSS :
/* CSS Document */
html {
height:100%;
}
body {
height: 100%;
margin: 0px;
background:url(../images/background.jpg) repeat-x;
}
td,tr,p,div {
font-family:Tahoma,Arial, Helvetica, sans-serif;
font-size:11px;
color:#444444;
}
a {
color:#4F90C2;
text-decoration:none;
}
table.moduletable {
width:100%;
}
table.moduletable th, div.moduletable h3 {
text-transform:uppercase;
color:#305775;
font-size:12px;
padding-bottom:5px;
border-bottom:2px #999999 dotted;
margin-bottom:5px;
}
.content_container {
}
.content_table {
background:url(../images/content_table_bg_top.jpg) no-repeat;
}
.content_table_td {
background:url(../images/content_table_bg_middle.jpg) repeat-y;
}
.content_table_bottom {
background:url(../images/content_table_bg_bottom.jpg) no-repeat;
}
ul#mainlevel-nav
{
margin-bottom:8px;
font-size:11px;
font-family:Tahoma, Arial, Helvetica, sans-serif;
padding-top:5px;
}
ul#mainlevel-nav li
{
list-style: none;
display:inline;
margin-left:0px;
line-height:100%;
}
ul#mainlevel-nav li a:link, ul#mainlevel-nav li a:visited
{
font-weight:bold;
color:#D0E2F0;
background-color:#1365A2;
padding: 5px 10px 5px 10px;
margin-left: 5px;
text-decoration: none;
}
ul#mainlevel-nav li a:hover
{
color:#FFFFFF;
font-weight:bold;
padding: 10px 10px 5px 10px;
margin-left: 5px;
text-decoration:none;
}
#topmodul {
background:url(../images/topmodul_bg.gif) no-repeat right;
width:320px;
height:120px;
overflow:hidden;
text-align:justify;
vertical-align:middle;
padding:0px 10px 0px 10px;
border-left: 1px dotted #999999;
}
#pathway_td {
padding-left:10px;
vertical-align:middle;
background:url(../images/pathway_hg.gif) no-repeat;
}
/*CONTENT-BEREICH */
.componentheading {
font-size:18px;
font-weight:bold;
color:#305775;
padding-left:20px;
background:url(../images/component_heading_voran.gif) left no-repeat;
margin-bottom:25px;
/*color:#234C6D;*/
}
.contentheading{
font-size:15px;
font-weight:bold;
color:#4F90C2;
padding-left:20px;
background:url(../images/content_heading_voran.gif) left no-repeat;
}
.small {
font-size:9px;
}
.createdate {
font-size:9px;
font-weight:bold;
}
div.mosimage {
border: 1px solid #ccc;
}
.mosimage {
border: 1px solid #cccccc;
margin: 5px
}
.mosimage_caption {
margin-top: 2px;
background: #efefef;
padding: 1px 2px;
color: #666;
font-size: 10px;
border-top: 1px solid #cccccc;
}
a.readon {
text-decoration:underline;
}
.modifydate {
font-weight: bold;
}
a.mainlevel:link, a.mainlevel:visited{
padding-left:15px;
color:#444444;
line-height:150%;
background:url(../images/link_voran.gif) no-repeat left;
}
a.mainlevel:hover {
padding-left:15px;
font-weight:bold;
color:#444444;
line-height:150%;
background:url(../images/link_voran.gif) no-repeat left;
}
.inputbox {
border: 1px solid #444444;
color: #444444;
padding:3px;
font-size:11px;
margin: 5px 0px 5px 0px;
}
.mostread li{
display:list-item;
list-style:circle;
color:#444444;
margin-left:-28px;
line-height:150%;
}
.mostread li a{
color:#444444;
font-weight:normal;
}
.sectiontablefooter{
background:url(../images/sectiontableheader_hg.gif);
font-weight:bold;
padding:5px;
}
.pagenav{
font-weight:bold;
}
.latestnews li{
border:1px solid white;
display:list-item;
list-style:circle;
color:#444444;
margin-left:-28px;
line-height:150%;
}
.latestnews li a{
color:#444444;
font-weight:normal;
}
.button {
margin-top:10px;
margin-bottom:10px;
border: 1px solid #444444;
background-color:#EEEEEE;
}
li {
display:list-item;
list-style:circle;
color:#444444;
margin-left:-28px;
line-height:150%;
}
li a{
font-weight:bold;
}
.back_button {
padding-top:10px;
font-weight:bold;
}
.contenttoc {
text-align:left;
border:1px solid #CCCCCC;
margin-left:10px;
padding-left:5px;
padding-right:5px;
}
.contenttoc a:link, .contenttoc a:visited{
background:url(../images/link_voran.gif) no-repeat left;
padding-left:8px;
color:#444444;
}
.contenttoc a:hover{
background:url(../images/link_voran.gif) no-repeat left;
padding-left:8px;
color:#444444;
text-decoration:underline;
}
.sectiontableheader {
background:url(../images/sectiontableheader_hg.gif);
font-weight:bold;
padding:5px;
}
.category {
}
.sectiontableentry1 {
background-color:#E6EFF6;
padding:5px;
text-align:left;
}
.sectiontableentry1 td{
padding:5px;
}
.sectiontableentry1 a{
font-weight:bold;
}
.sectiontableentry2 {
background-color:#EEEEEE;
padding:5px;
text-align:left;
}
.sectiontableentry2 td{
padding:5px;
}
.sectiontableentry2 a{
font-weight:bold;
}
.poll{
width:160px;
}
.blog_more strong{
font-size:15px;
font-weight:bold;
color:#4F90C2;
padding-left:20px;
background:url(../images/content_heading_voran.gif) left no-repeat;
}
.blogsection{
font-size:11px;
font-weight:normal;
color:#444444;
}
Et voici ma page PHP :
<?php
defined( '_VALID_MOS' ) or die( 'Direct Access to this location is not allowed.' );
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<?php echo "<?xml version=\"1.0\"?>"; ?>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; <?php echo _ISO; ?>" />
<?php mosShowHead(); ?>
<script language="JavaScript" type="text/javascript" src="<?php echo $mosConfig_live_site;?>/templates/seriousblue/js/netscaperesizefix.js"></script>
<link href="<?php echo $mosConfig_live_site;?>/templates/seriousblue/css/template_css.css" rel="stylesheet" type="text/css" />
<link href="css/template_css.css" rel="stylesheet" type="text/css" />
<link rel="shortcut icon" href="<?php echo $mosConfig_live_site;?>/images/favicon.ico" />
</head>
<body>
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="content_container">
<tr>
<td><table width="780" border="0" align="center" cellpadding="0" cellspacing="0" class="content_table">
<tr>
<td height="300" valign="top"><table width="700" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td align="left" valign="middle"> </td>
<td width="350" height="79" align="right" valign="bottom"><?php mosLoadModules ( 'user3', -1); ?></td>
</tr>
<tr>
<td height="20" colspan="2" valign="top"> </td>
</tr>
<tr>
<td colspan="2" align="left" valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="40" align="right" valign="middle"><span class="body_outer">
<?php mosPathWay(); ?>
</span></td>
</tr>
</table></td>
</tr>
<tr>
<td align="center" valign="middle" style="font-size:28px; color:#006699;">
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://fpdownload2.macromedia.com/get/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="385" height="123">
<param name="movie" value="/templates/seriousblue/images/logo.swf">
<param name="quality" value="high">
<embed src="/templates/seriousblue/images/logo.swf" quality="high" pluginspage="https://get.adobe.com/flashplayer/" type="application/x-shockwave-flash" width="385" height="123"></embed></object>
</td>
<td align="right" valign="middle"><div id="topmodul">
<?php
if ( mosCountModules( 'top' ) ) {
mosLoadModules ( 'top', -2 );
} else {
?>
<span class="error">Top Module Empty</span>
<?php
}
?>
</div> </td>
</tr>
<tr>
<td colspan="2" align="left" valign="top"> </td>
</tr>
<tr>
<td id="pathway_td" height="25" colspan="2" valign="middle"> </td>
</tr>
</table></td>
</tr>
<tr>
<td class="content_table_td"><table width="700" border="0" align="center" cellpadding="0" cellspacing="0" >
<tr>
<td colspan="2" valign="top"> </td>
</tr>
<tr>
<td width="160" valign="top"><?php mosLoadModules ( 'left', -2 ); ?>
<span style="padding-left:10px;"><?php mosLoadModules ( 'right', -2 ); ?>
</span></td>
<td valign="top" style="padding-top:7px; padding-left:20px;padding-right:0px;line-height:175%;text-align:justify;"><span class="body_outer">
<?php mosMainBody(); ?>
</span>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="50%" valign="top" style="padding-right:10px;"><span class="body_outer"><span class="user1_inner">
<?php mosLoadModules ( 'user1', -2 ); ?>
</span></span></td>
<td width="50%" valign="top"><span class="body_outer"><span class="user1_inner">
<?php mosLoadModules ( 'user2', -2 ); ?>
</span></span></td>
</tr>
</table></td>
</tr>
<tr height="10"><td></td></tr>
<tr>
<td colspan="2" align="center" valign="bottom" style="border-top:1px dotted #CCCCCC; font-size:9px;"><span class="user1_inner"><?php mosLoadModules ( 'bottom', -2 ); ?>
</span><br />
<?php include_once( $GLOBALS['mosConfig_absolute_path'] . '/includes/footer.php' ); ?>
<!-- ENDE / END --></td>
</tr>
</table></td>
</tr>
<tr>
<td height="35" class="content_table_bottom"><div align="center"></div></td>
</tr>
</table></td>
</tr>
</table>
<blockquote>
<div align="center">
<p><span class="body_outer">
<?php mosLoadModules( 'banner', -1 ); ?>
</span>
<?php mosLoadModules( 'debug', -1 );?>
</p>
<p></p>
</div>
</blockquote>
</body>
</html>