Webmaster Forum


Go Back   Webmaster Forum > Web Development > Coding Forum

Coding Forum Problems with your code? Discuss coding issues, including JavaScript, PHP & MySQL, HTML & CSS, Flash & ActionScript, and more.


Reply
 
LinkBack Thread Tools Display Modes
Share |
  #1 (permalink)  
Old 12-01-2011, 02:13 AM
Banned
Latest Blog:
None

 
Join Date: 02-22-11
Location: Kolkata, India
Posts: 120
iTrader: 0 / 0%
Css Problem

I want to show up the image in right site. But I can do that. so please help

the code is here

.drawer{
width:92px;
height:40px;
background:url(<?php echo
base_url();
?>assets/images/config/small_door.jpg)
no-repeat;
display:block;
}
 
Reply With Quote
  #2 (permalink)  
Old 12-01-2011, 02:40 AM
GMF's Avatar
GMF GMF is offline
Contributing Member
Latest Blog:
None

 
Join Date: 11-03-11
Location: Austria
Posts: 1,186
iTrader: 0 / 0%
Erm.. you could just float the image to the right...

Follow the link to get some more explanation.

imagecss.com/right.html
 
Reply With Quote
  #3 (permalink)  
Old 12-01-2011, 02:49 AM
Member
Latest Blog:
None

 
Join Date: 11-26-11
Posts: 49
iTrader: 0 / 0%
This will make the image appear in the top right of the <div class="drawer">
PHP Code:
.drawer {
  width: 92px;
  height: 40px;
  background: url(<?php echo base_url(); ?>assets/images/config/small_door.jpg) no-repeat top right;
  display:block;
}
Or this will make the whole <div class="drawer"> move to the right
PHP Code:
.drawer {
  width: 92px;
  height: 40px;
  background: url(<?php echo base_url(); ?>assets/images/config/small_door.jpg) no-repeat;
  display:block;
  float: right;
}
__________________
happy cheap hotel Barcelona - find the cheapest hotels & FREE Barcelona City Guide
Yoga Therapy Barcelona - Svastha Yoga for Musculo-skeletal Disorders
 
Reply With Quote
  #4 (permalink)  
Old 12-02-2011, 12:47 AM
JohnnyS's Avatar
Contributing Member
 
Join Date: 07-05-11
Location: philippines
Posts: 312
iTrader: 0 / 0%
Quote:
Originally Posted by piper01 View Post
I want to show up the image in right site. But I can do that. so please help

the code is here

.drawer{
width:92px;
height:40px;
background:url(<?php echo
base_url();
?>assets/images/config/small_door.jpg)
no-repeat;
display:block;
}
you can just add float:right..

Code:
.drawer{ width:92px; height:40px; background:url(<?php echo base_url(); ?>assets/images/config/small_door.jpg) no-repeat; display:block; float:right; }
 
Reply With Quote
Go Back   Webmaster Forum > Web Development > Coding Forum

Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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 Off
Pingbacks are Off
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Google's China Problem (and China's Google Problem) - NYTimes Sunday Mag (4/23/06) Julie Google Forum 4 10-26-2009 02:54 PM
Problem with godaddy. Post your problem here!! charlesgan Web Hosting Forum 11 04-21-2009 05:34 AM
Problem in my website or problem in browser? speedo1234 Coding Forum 7 12-23-2008 12:41 PM
Problem with text looking funky on windows… maybe an anti aliasing problem? jpf566 Web Design Lobby 2 07-09-2008 06:40 AM


V7N Network
Get exposure! V7N I Love Photography V7N SEO Blog V7N Directory


All times are GMT -7. The time now is 12:32 AM.
Powered by vBulletin
Copyright © 2000-2013 Jelsoft Enterprises Limited.
Copyright © 2003 - 2013 Escalate Media LP




Search Engine Optimization by vBSEO 3.6.0 RC 2 ©2011, Crawlability, Inc.