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 07-19-2004, 09:01 AM
downtroden's Avatar
Senior Member
Latest Blog:
None

 
Join Date: 06-19-04
Location: Illinois
Posts: 122
iTrader: 0 / 0%
CSS positioning vs. table positioning

I'm doing an online resume for myself, which i've completed. BUT! after getting it done, I visited the css-zen garden and said to myself... hey, if they can do that, surely i can too! So i'm in the process of redoing this site using only css to lay it out, no tables which brings me to my problem.

In the original site, i had two cells side by side, one for the thumb image(left) and one for the description and links (right). Beautiful, two columns, easy read... bravo! BUT!, now I've put myself into this css mess and don't know how i can get the same positioning? Can I make only one style that says something like...

image on left, text on right with a 25px margin inbetween the two?

also, what the 'display' do? I've played around with the values inline and block but don't really understand what's going on when I implement them?


thanks for any help.
 
Reply With Quote
  #2 (permalink)  
Old 07-19-2004, 10:12 AM
No Longer Here
Latest Blog:
None

 
Join Date: 09-27-03
Location: State College, PA
Posts: 4,273
iTrader: 0 / 0%
I think you should be able to put your image and text inside a div and tell your image to float: left and give it a margin-right: 15px and your text will go to the right of it 15px away.
 
Reply With Quote
  #3 (permalink)  
Old 07-19-2004, 11:40 AM
downtroden's Avatar
Senior Member
Latest Blog:
None

 
Join Date: 06-19-04
Location: Illinois
Posts: 122
iTrader: 0 / 0%
i'm new to css positioning and everything except text formatting. So would I make a plain div tag, and then apply a span class to the image and text inside with the image being "floated"?

or would all of the info go into a div id?
__________________
you bet your bippy!
 
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
Table Structures For Top Search Engine Positioning ashleyklien SEO Forum 5 03-05-2009 10:07 AM
HTML Help: Table background positioning digitalracks Tech Talk 1 02-08-2008 08:10 AM
NEED help with positioning iframes or table on my page pleas cgrossi04 Coding Forum 1 05-20-2004 03:34 PM
CSS positioning help edbarton Web Design Lobby 16 05-03-2004 01:10 PM
***Help: About Positioning*** pcmtv Marketing Forum 3 04-26-2004 10:40 PM


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


All times are GMT -7. The time now is 01:24 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.