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 03-23-2007, 07:50 AM
kade119's Avatar
Contributing Member
Latest Blog:
None

 
Join Date: 03-20-07
Posts: 216
iTrader: 0 / 0%
image and paragraph alignment problem

i need the image to align to the right of the <p giving me heck.. not sure why


.image1{
align:right;
left:200px;
}

<div class="image1"><img src="images/pic1.png" width="231" height="85" />
<p>Guys with computer expertise and<br/>
creative personalities doing the job<br/>
we really do love.</p>


http://www.ftrmi.com/sample thanks
 
Reply With Quote
  #2 (permalink)  
Old 03-23-2007, 09:48 AM
Taltos's Avatar
v7n Mentor
Latest Blog:
None

 
Join Date: 11-22-06
Location: Phoenix, AZ
Posts: 1,795
iTrader: 0 / 0%
Actually, I misunderstood what you were looking for in the other thread. If you want the image to the right of the paragraph, then you want to create a div for the paragraph and give it a set width that accomplishes the 3 lines you used <br /> to get. Then in the HTML, just put the paragraph div in as float left. Then put the image in as float left. You may need to play with padding or margins for one or both of these elements to get the spacing you want.
__________________
Experimenting
 
Reply With Quote
  #3 (permalink)  
Old 03-23-2007, 10:15 AM
StupidScript's Avatar
Senior Member
Latest Blog:
None

 
Join Date: 09-22-06
Location: Los Angeles
Posts: 663
iTrader: 0 / 0%
#p1 {
text-align:left;
}
#img1 {
float:right;
padding-left:10px;
}
<p id="p1"><img id="img1" src="images/pic1.png" width="231" height="85" />
Guys with computer expertise and<br/>
creative personalities doing the job<br/>
we really do love.</p>
__________________
James Butler

Where would we be without rhetorical questions?
 
Reply With Quote
  #4 (permalink)  
Old 03-26-2007, 02:21 PM
kade119's Avatar
Contributing Member
Latest Blog:
None

 
Join Date: 03-20-07
Posts: 216
iTrader: 0 / 0%
one more question about alignment that i haven't see anywhere


how do you aligin paragraphs side by side do you have to make individual div columns?

b/c i really dont want ot have to nest my page columns if there is a way around it
 
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
Firefox VS IE alignment problem DJ-Craig Coding Forum 12 06-14-2007 03:18 PM
Menu alignment problem kade119 Coding Forum 63 03-24-2007 05:55 PM
Coding: Alignment Problem in Navbar soultrader Coding Forum 0 11-17-2006 06:05 AM
Images Alignment on Page problem. HELP leeuniverse Coding Forum 2 07-12-2006 03:40 AM
CSS alignment problem blelisa Coding Forum 9 04-19-2004 05:55 AM


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


All times are GMT -7. The time now is 02:46 PM.
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.