Converting Tables to CSS Div

This is a discussion on "Converting Tables to CSS Div" within the Web Page Design section. This forum, and the thread "Converting Tables to CSS Div are both part of the Design Your Website category.



Go Back   Webforumz.com > Main Forums > Design Your Website > Web Page Design

Notices


Reply
 
LinkBack Thread Tools
  #1 (permalink)  
Old Nov 26th, 2005, 07:58
Junior Member
Join Date: Nov 2005
Age: 55
Posts: 31
Thanks: 0
Thanked 0 Times in 0 Posts
Converting Tables to CSS Div

Hello

I have some pages using tables with 2 columns and several rows. On the left part of the row there is a photo and on the right part a text.
How can I convert the table to CSS, that maybe be better for search engine crawling or if there is no difference I will leave it as it is?

Regards
Tolis
Reply With Quote

  #2 (permalink)  
Old Nov 26th, 2005, 11:35
Banned Member
Join Date: Sep 2005
Posts: 51
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Converting Tables to CSS Div

let it be
Reply With Quote
  #3 (permalink)  
Old Nov 26th, 2005, 14:01
Rob's Avatar
Rob Rob is offline
Head Admin & CEO

SuperMember
Join Date: Jul 2003
Location: at my desk
Age: 34
Posts: 2,952
Blog Entries: 7
Thanks: 7
Thanked 4 Times in 4 Posts
Send a message via MSN to Rob Send a message via Skype™ to Rob
Re: Converting Tables to CSS Div

Do you have a URL we can look at so we can see what you mean?
__________________
Rob - SEO Specialist
Owner & Founder of Webforumz.com

I am currently unavailable for private work
Reply With Quote
  #4 (permalink)  
Old Dec 1st, 2005, 21:11
Junior Member
Join Date: Nov 2005
Age: 55
Posts: 31
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Converting Tables to CSS Div

The URL is

http://www.easytraveller.gr/athens_hotels.html
Reply With Quote
  #5 (permalink)  
Old Dec 1st, 2005, 21:23
herkalees's Avatar
Highly Reputable Member
Join Date: Jul 2005
Location: Massachusetts, USA
Age: 87
Posts: 576
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to herkalees Send a message via MSN to herkalees Send a message via Yahoo to herkalees
Re: Converting Tables to CSS Div

Here is a snippet of each row:

<p class="nicerow">
<img src="yourimage.jpg" />
Text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text.
</p>

CSS:
.nicerow img {float:left; margin: 0 15px 15px 0;}


Should be it.
Reply With Quote
  #6 (permalink)  
Old Dec 2nd, 2005, 01:55
Reputable Member
Join Date: Sep 2005
Location: Canada, BC
Age: 24
Posts: 239
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Converting Tables to CSS Div

should have a <br style="clear:left;" /> after the "text text text." some browsers act funny without it.
personaly I would have done
HTML: Select all
<div class="nicerow">
<img src="yourimage.jpg" />
<p>Text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text.</p>
<br style="clear: left;" />
</div>
haveing the image being floated by the same method as above, and margin padding being applyed to the div class.
Mine probaly is a little more bloated but *shrugs*
Reply With Quote
  #7 (permalink)  
Old Dec 2nd, 2005, 20:04
Junior Member
Join Date: Nov 2005
Age: 55
Posts: 31
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Converting Tables to CSS Div

Dear Phoenix

It looks very simple. Just please tell me how I can make the text to go to the wright side of the image and not to the following line?

Regards to all
Tolis
Reply With Quote
  #8 (permalink)  
Old Dec 2nd, 2005, 20:20
Junior Member
Join Date: Nov 2005
Age: 55
Posts: 31
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Converting Tables to CSS Div

I think I found the solution

<div class="nicerow">
<img src="image.jpg" width="164" height="123" align="left" />
<p>Text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text.</p>
<br style="clear: left;" />
</div>
<br>

BUT is there a way to convert existing table without having to do it again?
Reply With Quote
  #9 (permalink)  
Old Dec 2nd, 2005, 22:00
Reputable Member
Join Date: Sep 2005
Location: Canada, BC
Age: 24
Posts: 239
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Converting Tables to CSS Div

Actualy the way to make it go left would have been the same as the post that was above mine. as I mentioned but I guess I wasn't very clear on.

As for your second question, no not realy.
Reply With Quote
Reply

Tags
converting, tables, css, div

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 On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Converting this to css..... jahphill Web Page Design 3 Jun 9th, 2008 11:19
Converting UTF-8 characters to ISO darkling235 JavaScript Forum 2 Mar 23rd, 2008 22:40
converting an swf into an fla danny322 Flash & Multimedia Forum 5 Feb 2nd, 2008 08:32
converting to css sliz Web Page Design 5 Aug 28th, 2007 14:30
Converting JPEG to gif/bmp lalmm PHP Forum 2 May 7th, 2007 17:45


All times are GMT. The time now is 19:16.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43